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

Side by Side Diff: doc/generate_asciidoc.sh

Issue 1018023002: Allow man pages to link to each other (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@doc_script
Patch Set: Rebase 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 unified diff | Download patch
« no previous file with comments | « doc/asciidoc.conf ('k') | handler/mac/crashpad_handler.ad » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright 2015 The Crashpad Authors. All rights reserved. 3 # Copyright 2015 The Crashpad Authors. All rights reserved.
4 # 4 #
5 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License. 6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at 7 # You may obtain a copy of the License at
8 # 8 #
9 # http://www.apache.org/licenses/LICENSE-2.0 9 # http://www.apache.org/licenses/LICENSE-2.0
10 # 10 #
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 # Create “man” output. 81 # Create “man” output.
82 # 82 #
83 # AsciiDoc 8.6.9 produces harmless incorrect warnings each time this is run: 83 # AsciiDoc 8.6.9 produces harmless incorrect warnings each time this is run:
84 # “a2x: WARNING: --destination-dir option is only applicable to HTML based 84 # “a2x: WARNING: --destination-dir option is only applicable to HTML based
85 # outputs”. https://github.com/asciidoc/asciidoc/issues/44 85 # outputs”. https://github.com/asciidoc/asciidoc/issues/44
86 a2x \ 86 a2x \
87 --attribute mansource=Crashpad \ 87 --attribute mansource=Crashpad \
88 --attribute manversion="${version}" \ 88 --attribute manversion="${version}" \
89 --attribute manmanual="Crashpad Manual" \ 89 --attribute manmanual="Crashpad Manual" \
90 --attribute revdate="${git_date}" \ 90 --attribute revdate="${git_date}" \
91 --asciidoc-opts=--conf-file=doc/asciidoc.conf \
91 --doctype manpage \ 92 --doctype manpage \
92 --format manpage \ 93 --format manpage \
93 --destination-dir "${output_dir}/man" \ 94 --destination-dir "${output_dir}/man" \
94 "${input}" 95 "${input}"
95 96
96 # For PDF output, use an a2x command like the one above, with these options: 97 # For PDF output, use an a2x command like the one above, with these options:
97 # --format pdf --fop --destination-dir "${output_dir}/pdf" 98 # --format pdf --fop --destination-dir "${output_dir}/pdf"
98 done 99 done
OLDNEW
« no previous file with comments | « doc/asciidoc.conf ('k') | handler/mac/crashpad_handler.ad » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698