File: naturaldocs.1

package info (click to toggle)
naturaldocs 1.51-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,304 kB
  • sloc: perl: 17,534; javascript: 1,925; makefile: 6; sh: 1
file content (93 lines) | stat: -rw-r--r-- 3,797 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH NATURALDOCS 1 "May 2007"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
NaturalDocs \- an extensible, multi\-language documentation generator
.SH SYNOPSIS
.ad l
.B naturaldocs
-i <input (source) directory> [-i <input (source) directory> ...] -o <output format> <output directory> [-o <output format> <output directory> ...] -p <project directory> [options]
.ad b
.SH DESCRIPTION
This manual page documents briefly the .B naturaldocs command. Note that \fBnaturaldocs\fP is a wrapper script that on Debian invokes the real \fBNaturalDocs\fP perl program. So, the real, original name of the program is NaturalDocs but on
Debian systems you invoke it as naturaldocs.
.PP
\fBNatural Docs\fP is is an open-source, extensible, multi-language documentation generator. You document your code in a natural syntax that reads like plain English. Natural Docs then scans your code and builds high-quality HTML documentation from it.
.SH OPTIONS
A summary of options, extracted from the help printed by the \fB-h\fP
switch is included below. 
For a complete description of how NaturalDocs works, see the text
files in the /usr/share/doc/naturaldocs directory.
.sp
\fIRequired parameters\fR:
.TP
.B \-i, \-\-input, \-\-source DIR
Specifies an input (source) directory. Required.
.br
Can be specified multiple times.
.TP
.B \-o, \-\-output FMT DIR
Specifies an output format and directory. Required.
.br
Can be specified multiple times, but only once per directory. Possible output formats are HTML and FramedHTML.
.TP
.B \-p, \-\-project DIR
Specifies the project directory. Required.
.br
There needs to be a unique project directory for every source directory.
.sp
.PP
\fIOptional parameters\fR:
.TP
.B \-s, \-\-style STYLE [STYLE ...]
Specifies the CSS style when building HTML output. If multiple styles are specified, they will all be included in the order given.
.TP
.B \-img, \-\-image DIR
Specifies an image directory. Can be specified multiple times. Start with \fB*\fP to specify a relative directory, as in -img */images.
.TP
.B \-do, \-\-documented\-only
Specifies only documented code aspects should be included in the output.
.TP
.B \-t, \-\-tab\-length LEN
Specifies the number of spaces tabs should be expanded to. This only needs to be set if you use tabs in example code and text diagrams. Defaults to 4.
.TP
.B \-xi, \-\-exclude\-input, \-\-exclude\-source
Excludes an input (source) directory from the documentation. Automatically done for the project and output directories. Can be specified multiple times.
.TP
.B \-nag, \-\-no\-auto\-group
Turns off auto-grouping completely.
.TP
.B \-oft, \-\-only\-file\-titles
Source files will only use the file name as the title.
.TP
.B \-r, \-\-rebuild
Rebuilds all output and data files from scratch. Does not affect the menu file.
.TP
.B \-ro, \-\-rebuild\-output
Rebuilds all output files from scratch.
.TP
.B \-q, \-\-quiet
Suppresses all non-error output.
.TP
.B \-?, \-h, \-\-help
Displays syntax reference.
.br
.SH AUTHOR
NaturalDocs was written by Greg Valure <gregvalure@naturaldocs.org>.
.PP
This manual page was written by Federico Di Gregorio <fog@debian.org>,
for the Debian project (but may be used by others).