Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: doc/support/asciidoc.conf

Issue 1055523002: Migrate content from wiki (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Post-review Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: doc/support/asciidoc.conf
diff --git a/doc/asciidoc.conf b/doc/support/asciidoc.conf
similarity index 83%
rename from doc/asciidoc.conf
rename to doc/support/asciidoc.conf
index ab330b34cb9c14da47c7257a2c17df02bfcd44a3..a4ab2c4c9853e225eae73467b30aa8b710f5fd33 100644
--- a/doc/asciidoc.conf
+++ b/doc/support/asciidoc.conf
@@ -19,15 +19,20 @@ newline=\n
# The default AsciiDoc lang-en.conf uses docdate and doctime for the
# last-updated line in footer-text. These attributes are taken from the file’s
# mtime and cannot be overridden. For a git-based project, the date of the last
-# revision is desirable, so change this to use revdate, an attribute that can be
-# computed and passed in by the script that runs AsciiDoc. For man pages, use
+# revision is desirable, so change this to use git_date, an attribute that can
+# be computed and passed in by the script that runs AsciiDoc. For man pages, use
# the mansource and manversion attributes instead of the hard-coded “Version”
# string and revnumber attribute, so that the version will appear as “Crashpad
# 0.7.0” as it does in “man” output.
ifdef::basebackend-html[]
[footer-text]
+ifdef::doctype-manpage[]
{mansource=Version} {manversion={revnumber}}{basebackend-xhtml11?<br />}{basebackend-xhtml11=<br>}
-Last updated {revdate}
+endif::doctype-manpage[]
+ifndef::doctype-manpage[]
+Version {revnumber}{basebackend-xhtml11?<br />}{basebackend-xhtml11=<br>}
+endif::doctype-manpage[]
+Last updated {git_date}
endif::basebackend-html[]
# The man_link macro was inspired by git’s linkgit macro. See
« no previous file with comments | « doc/status.ad ('k') | doc/support/asciidoc.css » ('j') | tools/crashpad_database_util.ad » ('J')

Powered by Google App Engine
This is Rietveld 408576698