summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-03-22 00:35:06 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-03-22 00:35:06 -0700
commit56bdc6c5ea95c19f4b6f0a7d119a267d55ab1b59 (patch)
treef3b7ddd0b64ddf5cdef46cd3f82c15b25f9f1253
parentc94e8a7c0ea614b1b80744d42a7bd68bbb471a58 (diff)
docs: Extract configuration to config.adoc
-rw-r--r--docs/config.adoc8
-rw-r--r--docs/manual.adoc13
-rw-r--r--docs/quickstart.adoc8
3 files changed, 12 insertions, 17 deletions
diff --git a/docs/config.adoc b/docs/config.adoc
new file mode 100644
index 0000000..8ac9da4
--- /dev/null
+++ b/docs/config.adoc
@@ -0,0 +1,8 @@
+website <http://pugixml.org>; repository <http://github.com/zeux/pugixml>
+:version: 1.6
+:toc: right
+:source-highlighter: pygments
+:source-language: c++
+:sectanchors:
+:sectlinks:
+:imagesdir: images \ No newline at end of file
diff --git a/docs/manual.adoc b/docs/manual.adoc
index 9b55a44..30cb3ab 100644
--- a/docs/manual.adoc
+++ b/docs/manual.adoc
@@ -1,13 +1,6 @@
= pugixml {version} manual
-Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
-:version: 1.6
-:toc: right
-:source-highlighter: pygments
-:source-language: c++
-:sectanchors:
-:sectlinks:
+include::config.adoc[]
:numbered:
-:imagesdir: images
[[overview]]
== Overview
@@ -187,9 +180,9 @@ It's possible to compile pugixml as a standalone shared library. The process is
[source]
----
#ifdef _DLL
- #define PUGIXML_API __declspec(dllexport)
+ #define PUGIXML_API __declspec(dllexport)
#else
- #define PUGIXML_API __declspec(dllimport)
+ #define PUGIXML_API __declspec(dllimport)
#endif
----
diff --git a/docs/quickstart.adoc b/docs/quickstart.adoc
index db5bf00..154e8c4 100644
--- a/docs/quickstart.adoc
+++ b/docs/quickstart.adoc
@@ -1,11 +1,5 @@
= pugixml {version} quick start guide
-Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
-:version: 1.6
-:toc: right
-:source-highlighter: pygments
-:source-language: c++
-:sectanchors:
-:sectlinks:
+include::config.adoc[]
[[introduction]]
== Introduction