summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-03-24 20:59:04 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-03-24 20:59:04 -0700
commit10ff488eb96544074c88ba1aae26025b425dba58 (patch)
tree1170b526e4b60171931aa2784f31b6bdd8491f22
parentfc20b0afbbc06371a4239a9d520c16c5fabf9443 (diff)
docs: Use automatically retrieved version for docs
This eliminates one more hardcoded version from the repo, yay!
-rw-r--r--Makefile2
-rw-r--r--docs/config.adoc1
-rw-r--r--docs/manual.html6
-rw-r--r--docs/quickstart.html2
4 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index ed2f50d..0e64129 100644
--- a/Makefile
+++ b/Makefile
@@ -71,6 +71,6 @@ $(BUILD)/%.o: %
.SECONDEXPANSION:
docs/%.html: docs/%.adoc $$(shell sed -n 's/include\:\:\(.*\)\[.*/docs\/\1/p' docs/%.adoc)
- asciidoctor -b html5 $< -o $@
+ asciidoctor -b html5 -a version=$(VERSION) $< -o $@
.PHONY: all test clean release .FORCE
diff --git a/docs/config.adoc b/docs/config.adoc
index 8ac9da4..0d4f48d 100644
--- a/docs/config.adoc
+++ b/docs/config.adoc
@@ -1,5 +1,4 @@
website <http://pugixml.org>; repository <http://github.com/zeux/pugixml>
-:version: 1.6
:toc: right
:source-highlighter: pygments
:source-language: c++
diff --git a/docs/manual.html b/docs/manual.html
index ef738dd..a0fd721 100644
--- a/docs/manual.html
+++ b/docs/manual.html
@@ -168,7 +168,7 @@ body.toc2{padding-left:15em;padding-right:0}
#toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
body.toc2.toc-right{padding-left:0;padding-right:15em}
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #efefed;left:auto;right:0}}@media only screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
-#toc.toc2{width:30em}
+#toc.toc2{width:20em}
#toc.toc2 #toctitle{font-size:1.375em}
#toc.toc2>ul{font-size:.95em}
#toc.toc2 ul ul{padding-left:1.25em}
@@ -5509,8 +5509,8 @@ If exceptions are disabled, then in the event of parsing failure the query is in
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-03-24 10:02:58 PDT
+Last updated 2015-03-24 20:19:09 PDT
</div>
</div>
</body>
-</html>
+</html> \ No newline at end of file
diff --git a/docs/quickstart.html b/docs/quickstart.html
index e2ac185..2dbed65 100644
--- a/docs/quickstart.html
+++ b/docs/quickstart.html
@@ -1068,7 +1068,7 @@ pugixml is Copyright (C) 2006-2015 Arseny Kapoulkine.</pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-03-24 09:12:58 PDT
+Last updated 2015-03-24 20:19:09 PDT
</div>
</div>
</body>