Chromium Code Reviews| 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>} |
|
Robert Sesek
2015/04/01 15:25:58
If asciidoc supports it, HTML 5 > XHTML 1.1.
Mark Mentovai
2015/04/01 16:10:00
Robert Sesek wrote:
|
| +endif::doctype-manpage[] |
| +Last updated {git_date} |
| endif::basebackend-html[] |
| # The man_link macro was inspired by git’s linkgit macro. See |