From 56bdc6c5ea95c19f4b6f0a7d119a267d55ab1b59 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 22 Mar 2015 00:35:06 -0700 Subject: docs: Extract configuration to config.adoc --- docs/config.adoc | 8 ++++++++ docs/manual.adoc | 13 +++---------- docs/quickstart.adoc | 8 +------- 3 files changed, 12 insertions(+), 17 deletions(-) create mode 100644 docs/config.adoc 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 ; repository +: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 -: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 -:version: 1.6 -:toc: right -:source-highlighter: pygments -:source-language: c++ -:sectanchors: -:sectlinks: +include::config.adoc[] [[introduction]] == Introduction -- cgit v1.2.3