]> git.proxmox.com Git - pve-docs.git/blame - README.adoc
improve Makefile: add phony target 'index'
[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
19this repository. It is possible to generate the docs (without installing
20any additional Proxmox packages) with:
21
8ace7110 22 make index
0c36e360 23
8ace7110
DM
24
25Debian Packages
26---------------
27
28We generate a development package called 'pve-doc-generator', which is
29used by other Proxmox VE package to generate manual pages at package
30build time.
31
32Another package called 'pve-docs' is used to publish generated
33'.html' and '.pdf' files on our web servers. You can generate
34those debian packages using:
35
36 make deb
0c36e360
DM
37
38
8e6e6411
DM
39Common Macro definition in link:attributes.txt[]
40------------------------------------------------
41
42'asciidoc' allows us to define common macros, which can then be
43referred to using `{macro}`. We try to use this mechanism to improve
44consistency. For example, we defined a macro called `pve`, which
45expands to "Proxmox VE". The plan is to add more such definitions for
46terms which are used more than once.
47
578a3111
DM
48Autogenerated CLI Command Synopsis
49----------------------------------
50
51We generate the command line synopsis for all manual pages
52automatically. We can do that, because we have a full declarative
53definition of the {pve} API. I added those generated files
54('*-synopsis.adoc') to the git repository, so that it is possible to
55build the documentation without having a fully installed {pve}
56development environment.
22b0b166
DM
57
58Copyright
59---------
60
40152dfd 61Copyright (C) 2016 Proxmox Server Solutions Gmbh
22b0b166
DM
62
63Permission is granted to copy, distribute and/or modify this document
64under the terms of the GNU Free Documentation License, Version 1.3 or
65any later version published by the Free Software Foundation; with no
f1e6bbae
DM
66Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
67copy of the license is included in the link:LICENSE[LICENSE] file.