Mostyn Bramley-Moore
d80d734190
Add some more error checking to shell scripts ( #2617 )
...
Exit immediately if a command exits with a non-zero status, and treat
unset variables as an error when substituting.
2025-05-20 10:14:17 +02:00
Tim Kientzle
bae5b9e215
Replace \e with plain \
2014-06-21 14:15:37 -07:00
Tim Kientzle
f4839ee8d2
Don't put '' around options within literals
2014-06-21 13:42:09 -07:00
Tim Kientzle
5c80ecf39b
start/end display cannot have extra trailing whitespace
2014-06-21 13:37:33 -07:00
Tim Kientzle
0ef0a16288
Fix environment tables
2014-06-21 13:27:09 -07:00
Tim Kientzle
67e429d809
Generate crossrefs, fix some punctuation
2014-06-21 13:24:16 -07:00
Andres Mejia
66648f8c3f
Do not ignore errors when generating documentation.
...
This will ensure documentation is actually generated when building
release tarballs.
2013-02-02 18:43:09 -05:00
Andres Mejia
09acd75a99
Remove old script that generates wiki pages for googlecode wiki.
2012-02-05 16:00:12 -05:00
Andres Mejia
d91f726ccc
Use syntax highlighting markup from Github's gollum to add code blocks.
...
Fixes issue using <pre> tags for github wiki pages. See
https://github.com/github/gollum , section 'SYNTAX HIGHLIGHTING' for info on
using this markup.
2012-02-05 14:25:26 -05:00
Andres Mejia
ca4f08da1a
Use states to determine if writing literal text for <pre> tags.
2012-02-05 14:25:26 -05:00
Andres Mejia
f2de495ab4
Fix spacing for all lines printed out.
...
This removes need to print out extra line per macro.
2012-02-05 14:25:26 -05:00
Andres Mejia
b5246eb61f
Fix spacing around .Cm macros.
...
SVN-Revision: 4231
2012-02-02 18:10:14 -05:00
Andres Mejia
f45a3b5087
Fix spacing for .Dv macros.
...
SVN-Revision: 4230
2012-02-02 18:10:08 -05:00
Andres Mejia
3707cd39b0
Fix spacing around .Ar and .Cm macros.
...
SVN-Revision: 4229
2012-02-02 17:48:18 -05:00
Andres Mejia
69fd2aa896
Fix spacing from .Xr directives for mediawiki pages.
...
SVN-Revision: 4224
2012-02-01 19:34:02 -05:00
Andres Mejia
7532c92389
Fix spacing between lines for mediawiki pages.
...
SVN-Revision: 4223
2012-02-01 19:25:50 -05:00
Andres Mejia
0d969873bf
Get rid of warnings from awk scripts.
...
SVN-Revision: 4222
2012-02-01 19:03:13 -05:00
Andres Mejia
d4336b938c
Use proper format for bold in mediawiki.
...
SVN-Revision: 4221
2012-02-01 19:03:08 -05:00
Andres Mejia
90eb6c3e9c
Use modified mdoc2wiki.awk script to generate wiki pages in mediawiki format.
...
SVN-Revision: 4220
2012-02-01 18:31:56 -05:00
Andres Mejia
0dc05246ba
Use html2wiki to generate mediawiki pages from generated html pages.
...
Set use of html2wiki as optional.
SVN-Revision: 4219
2012-02-01 14:29:19 -05:00
Andres Mejia
8a13743367
Use more basic groff options to generate html pages from mdoc pages.
...
SVN-Revision: 4218
2012-02-01 14:29:15 -05:00
Tim Kientzle
22573e1484
Regenerate Wiki manpages from the mdoc sources.
...
SVN-Revision: 3802
2011-11-17 23:50:58 -05:00
Tim Kientzle
3544209ac8
Fix some warnings in make distcheck.
...
SVN-Revision: 3653
2011-08-27 18:16:53 -04:00
Tim Kientzle
2f3f9fe7ca
doc/update.sh gets run during distcheck in a write-protected directory.
...
SVN-Revision: 3652
2011-08-27 17:54:55 -04:00
Roman Neuhauser
7d9d7898f2
doc/update.sh does not break on missing output dirs pt.2
...
SVN-Revision: 3116
2011-03-28 19:33:24 -04:00
Roman Neuhauser
8b723435f2
doc/update.sh does not break on missing output dirs
...
SVN-Revision: 3105
2011-03-28 05:18:56 -04:00
Tim Kientzle
d54cc6197f
Fix the handling of multiple Fl options:
...
.Fl Fl command
used to cause -Fl command but now it generates --command.
In the process, bolding of certain command options is
lost; the logic here needs to be significantly reworked.
SVN-Revision: 3010
2011-03-13 03:43:36 -04:00
Joerg Sonnenberger
008335add5
Use mdoc2html, -T html doesn't work at least with the groff 1.19.2 in
...
NetBSD.
XXX This should most likely use mandoc for the HTML output
SVN-Revision: 2031
2010-03-13 20:36:15 -05:00
Tim Kientzle
a79b193827
Be a little more careful about identifying mdoc-format manpages.
...
In particular, I recently had the update script pick up and try
to convert libarchive.so.5. Ouch.
SVN-Revision: 1589
2009-11-07 21:33:34 -05:00
Tim Kientzle
7c8c3ac1c1
Manpage touchups:
...
* Fix tar.1 to properly format the substitution arguments
* Fix mdoc2wiki.awk to render .It Pa and .It Ev in bold
* Update the translated docs on the wiki.
SVN-Revision: 997
2009-04-15 15:29:44 -04:00
Tim Kientzle
c8fbee819a
Uncomment most of this again, now that the wiki builder seems
...
basically functional.
SVN-Revision: 985
2009-04-13 18:05:44 -04:00
Tim Kientzle
3be929e4aa
Fix the translation of .Ns, which suppresses the current word space, not the next one.
...
SVN-Revision: 984
2009-04-13 17:54:42 -04:00
Tim Kientzle
47bc4f73b5
Remove \& from the output.
...
SVN-Revision: 983
2009-04-13 17:47:21 -04:00
Tim Kientzle
0f9c73ba19
Don't try to use *bold* or _italic_ within {{{display}}}.
...
SVN-Revision: 982
2009-04-13 17:44:14 -04:00
Tim Kientzle
35af4d70c3
Quote some more special characters, handle paragraph breaks properly.
...
SVN-Revision: 981
2009-04-13 17:35:53 -04:00
Tim Kientzle
cce60b976e
Fix a bug in handling of bullet lists.
...
SVN-Revision: 980
2009-04-13 17:27:41 -04:00
Tim Kientzle
42cba4ce9c
Quote trailing "*" in Cm argument.
...
SVN-Revision: 979
2009-04-13 17:25:19 -04:00
Tim Kientzle
65aa8c405c
Remove -nosplit after .An.
...
SVN-Revision: 978
2009-04-13 17:23:34 -04:00
Tim Kientzle
42feb824f7
Quote trailing '*' in type names (e.g., "void *")
...
SVN-Revision: 977
2009-04-13 17:21:44 -04:00
Tim Kientzle
394873558f
Quote a leading '_'
...
SVN-Revision: 976
2009-04-13 17:17:14 -04:00
Tim Kientzle
901b85717d
Close subsection titles.
...
SVN-Revision: 975
2009-04-13 17:11:44 -04:00
Tim Kientzle
2039e354d9
First real attempt to convert all mdoc manpages to Wiki syntax.
...
Including the awk script I'm using and updates to the doc generator
to produce the Wiki versions as part of the regular deployment.
SVN-Revision: 974
2009-04-13 17:08:53 -04:00
Tim Kientzle
86fd9d88a4
Improve the conversion of mdoc to man format.
...
SVN-Revision: 862
2009-03-27 03:04:01 -04:00
Tim Kientzle
bad5bf0286
Issue 16: Change the text files to all end in '.txt' for the
...
convenience of file browsers (including Windows shell, KDE, Mac OS
Finder, etc) that use file extensions as a type hint.
SVN-Revision: 835
2009-03-22 13:17:27 -04:00
Tim Kientzle
71e7851216
Issue 16: Generate PDF documentation as well as text and man formats.
...
SVN-Revision: 834
2009-03-22 13:02:56 -04:00
Tim Kientzle
e3ad49c2f0
Fill in missing doc/man and doc/text directories
...
SVN-Revision: 290
2008-12-28 14:49:01 -05:00
Tim Kientzle
d3f63657f3
Leave off tar/test/old from the portable distribution; include the doc-bulding tools.
...
SVN-Revision: 10
2008-04-30 18:32:42 -04:00