[ << Documentation work ] | [Top][Contents][Index][ ? ] | [ Website work >> ] | ||
[ < Tips for writing docs ] | [ Up : Documentation work ] | [ Docstrings in scheme > ] |
4.6 Scripts to ease doc work
Stripping whitespace
To remove extra whitespace from the ends of lines, run
scripts/auxiliar/strip-whitespace.py Documentation/FILENAME
Sectioning commands
Note: These commands add whitespace.
The emacs M-x texinfo-all-menus-update
command will
regenerate @menu blocks. This can also be run with this
command-line script:
#!/bin/sh emacs $1 -batch -f texinfo-all-menus-update -f save-buffer
(save the above as something like texinfo-menus.sh
, make
it executable, then run texinfo-menus.sh foo.itely
)
Updating doc with convert-ly
cd into ‘Documentation/’ and run
find . -name '*.itely' | xargs convert-ly -e
This also updates translated documentation.
[ << Documentation work ] | [Top][Contents][Index][ ? ] | [ Website work >> ] | ||
[ < Tips for writing docs ] | [ Up : Documentation work ] | [ Docstrings in scheme > ] |