Dietmar Maurer
a69bfc83f6
remove attributes.txt (use asciidoc/asciidoc-pve.conf instead)
2016-11-08 06:46:43 +01:00
Dominik Csapak
9383cea2c9
do not require 5 chars for headers
...
this patch changes the parses so that it detects headings with at least
3 characters instead of 5 (this prevented some block ids to not have a
subchapter e.g. pct CPU)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-02 16:49:13 +01:00
Dietmar Maurer
012445a518
scan-adoc-refs: fix dependency computation (make it recusive)
2016-10-18 07:15:22 +02:00
Dietmar Maurer
2c84b9cac8
scan-adoc-refs: skip opts.adoc and synopsis.adoc files
2016-10-15 14:40:12 +02:00
Dietmar Maurer
221527df67
scan-adoc-refs: cleanup makefile generation
2016-10-15 12:38:34 +02:00
Dietmar Maurer
f50e5e3a3c
scan-adoc-refs: sort make targets
2016-10-15 11:52:48 +02:00
Dietmar Maurer
cef5157681
scan-adoc-refs: include all sources in MANUAL_SOURCES
2016-10-15 11:43:01 +02:00
Dietmar Maurer
df714d3f62
scan-adoc-refs: use extra loop to compute MAN_SOURCES
2016-10-15 10:55:20 +02:00
Dietmar Maurer
63a0180693
scan-adoc-refs: auto generate dependencies for Makefile
2016-10-14 12:26:55 +02:00
Dietmar Maurer
66e541d004
scan-adoc-refs: fix title change via attribute
2016-10-14 07:48:29 +02:00
Dietmar Maurer
194d2f2961
generate default output file mappings automatically
2016-10-14 07:18:04 +02:00
Dietmar Maurer
cb32a49b5b
generate man page output file mappings automatically
2016-10-14 06:50:17 +02:00
Dietmar Maurer
f3c27fb1e2
generate wiki output file mappings automatically
2016-10-14 06:40:49 +02:00
Dietmar Maurer
fe38a7e7da
use fixed output file mapping
2016-10-14 05:59:05 +02:00
Dietmar Maurer
9a9ecec8c7
fix file names for .5 man pages
2016-10-13 11:05:01 +02:00
Dietmar Maurer
86f28451c2
scan-adoc-refs: try to associate titles with block IDs
2016-10-12 11:52:13 +02:00
Dietmar Maurer
34d7f485f6
scan-adoc-refs: extract man page section from .adoc file
2016-10-10 17:59:25 +02:00
Dietmar Maurer
5e625ed3ab
scan-adoc-refs: fix chapter links (/pve-docs/chapter-xxx.html)
2016-10-10 11:45:52 +02:00
Dietmar Maurer
edc73653fb
scan-adoc-refs: allow to overwrite title using attribute
2016-10-10 09:11:51 +02:00
Dietmar Maurer
152b10fb37
scan-adoc-refs: factor out register_title
...
and try to substitute macros and urls.
2016-10-10 09:11:44 +02:00
Dietmar Maurer
0142692aed
scan-adoc-refs: improve title parser, store doctype
...
We store the titel heading level (0 => chapter, 1 => article).
2016-10-09 10:08:50 +02:00
Dietmar Maurer
5f09af76d7
mark toplevel docs
2016-10-08 17:58:35 +02:00
Dietmar Maurer
4a37b4f245
scan-adoc-refs: remove dead code
2016-10-08 16:43:31 +02:00
Dietmar Maurer
58cc423cba
skip content in pve-admin-guide.adoc for wiki/man environment
...
so that scan_adoc_file do not find wrong blockid definitions.
2016-10-08 16:40:43 +02:00
Dietmar Maurer
459308313d
support reftext for block IDs
2016-10-08 13:41:31 +02:00
Dietmar Maurer
0e1bf0daf7
scan-adoc-refs: avoid spaces in blockid_target
2016-10-08 13:40:08 +02:00
Dietmar Maurer
a0ba8b4c20
scan for bibliography anchors
2016-10-08 13:40:08 +02:00
Dietmar Maurer
835dd63b03
asciidoc-pve.in: add some real functionality
2016-10-08 13:39:59 +02:00
Dietmar Maurer
74b0334e19
white space cleanups
2016-10-07 11:14:20 +02:00
Dietmar Maurer
aa99b34966
add helper to correctly resolve links
...
just a start, not ready to use ...
2016-10-06 17:29:03 +02:00