]> git.proxmox.com Git - pve-docs.git/blame - README.adoc
update for our new mediawiki installation
[pve-docs.git] / README.adoc
CommitLineData
22b0b166
DM
1Proxmox VE Documentation
2========================
8e6e6411 3include::attributes.txt[]
22b0b166 4
0c36e360
DM
5We try to generate high quality documentation for
6http://www.proxmox.com[Proxmox VE], and choose to use
a1ada598
DM
7http://www.methods.co.nz/asciidoc/[AsciiDoc] as base format.
8
0c36e360
DM
9The basic idea is to generate high quality manual pages, and assemble
10them into a complete book, called link:pve-admin-guide.adoc[Proxmox VE
a1ada598
DM
11Administration Guide]. So we have one source, and generate several
12documents from that. It is also possible to generate printable PDF
13files, or ebook formats ('.ebup').
22b0b166 14
0c36e360
DM
15When possible, we provide scripts to extract API definitions,
16configuration or command line options from the source code.
17
18To simplify the documentation task, we keep all Documentation within
7aacca6f
DM
19this repository. It is possible to generate the docs without installing
20any additional Proxmox packages with:
0c36e360 21
8ace7110 22 make index
0c36e360 23
7aacca6f
DM
24To update the auto-generate API definitions use:
25
26 make update
27
28NOTE: you need a fully installed development environment for that.
29
8ace7110
DM
30
31Debian Packages
32---------------
33
34We generate a development package called 'pve-doc-generator', which is
35used by other Proxmox VE package to generate manual pages at package
36build time.
37
38Another package called 'pve-docs' is used to publish generated
39'.html' and '.pdf' files on our web servers. You can generate
40those debian packages using:
41
42 make deb
0c36e360
DM
43
44
8e6e6411
DM
45Common Macro definition in link:attributes.txt[]
46------------------------------------------------
47
48'asciidoc' allows us to define common macros, which can then be
49referred to using `{macro}`. We try to use this mechanism to improve
50consistency. For example, we defined a macro called `pve`, which
51expands to "Proxmox VE". The plan is to add more such definitions for
52terms which are used more than once.
53
578a3111
DM
54Autogenerated CLI Command Synopsis
55----------------------------------
56
57We generate the command line synopsis for all manual pages
58automatically. We can do that, because we have a full declarative
59definition of the {pve} API. I added those generated files
60('*-synopsis.adoc') to the git repository, so that it is possible to
61build the documentation without having a fully installed {pve}
62development environment.
22b0b166
DM
63
64Copyright
65---------
66
40152dfd 67Copyright (C) 2016 Proxmox Server Solutions Gmbh
22b0b166
DM
68
69Permission is granted to copy, distribute and/or modify this document
70under the terms of the GNU Free Documentation License, Version 1.3 or
71any later version published by the Free Software Foundation; with no
f1e6bbae
DM
72Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
73copy of the license is included in the link:LICENSE[LICENSE] file.