blob: c397d0b9f4593d0b0c53b61b67ac942dcc477d39 [file] [log] [blame]
Ales Komarek7b7636e2015-11-27 15:31:43 +01001
2======
3Sphinx
4======
5
Sergey Otpuschennikov0eae6cc2018-07-30 18:53:14 +04006Sphinx is a tool that makes it easy to create intelligent and beautiful documentation,
7written by Georg Brandl and licensed under the BSD license. It was originally created
8for the new Python documentation, and it has excellent facilities for the documentation
9of Python projects. The C/C++ projects are already supported as well, and it is planned
10to add special support for other languages as well.
Ales Komarek7b7636e2015-11-27 15:31:43 +010011
12Sample pillars
13==============
14
Sergey Otpuschennikov0eae6cc2018-07-30 18:53:14 +040015Sample documentation with local source:
Ales Komarek7b7636e2015-11-27 15:31:43 +010016
17.. code-block:: yaml
18
19 sphinx:
20 server:
21 enabled: true
22 doc:
23 board:
24 builder: 'html'
Martin Polreich9031c252018-07-18 11:56:01 +020025 source:
Ales Komarek7b7636e2015-11-27 15:31:43 +010026 engine: local
27 path: '/path/to/sphinx/documentation'
28
Sergey Otpuschennikov0eae6cc2018-07-30 18:53:14 +040029Sample documentation with Git source:
Ales Komarek7b7636e2015-11-27 15:31:43 +010030
31.. code-block:: yaml
32
33 sphinx:
34 server:
35 enabled: true
36 doc:
37 board:
38 builder: 'html'
Martin Polreich9031c252018-07-18 11:56:01 +020039 source:
Ales Komarek7b7636e2015-11-27 15:31:43 +010040 engine: git
41 address: 'git@repo1.domain.com/repo.git'
42 revision: master
43
Sergey Otpuschennikov0eae6cc2018-07-30 18:53:14 +040044Sample documentation with Reclass source:
Ales Komarek7b7636e2015-11-27 15:31:43 +010045
46.. code-block:: yaml
47
48 sphinx:
49 server:
50 enabled: true
51 doc:
52 board:
53 builder: 'html'
Martin Polreich9031c252018-07-18 11:56:01 +020054 source:
Ales Komarek7b7636e2015-11-27 15:31:43 +010055 engine: reclass
56
Sergey Otpuschennikov0eae6cc2018-07-30 18:53:14 +040057Sample documentation with pillar-schema source:
58
59.. code-block:: yaml
60
61 sphinx:
62 server:
63 enabled: true
64 doc:
65 schemas_doc:
66 author: Author
67 year: Year
68 version: Version
69 builder: 'html'
70 source:
71 engine: pillar-schema
Ales Komarek7b7636e2015-11-27 15:31:43 +010072
73Read more
74=========
75
76* http://sphinx-doc.org/tutorial.html
Filip Pytloun62bce8a2017-02-02 13:02:03 +010077
78Documentation and Bugs
79======================
80
81To learn how to install and update salt-formulas, consult the documentation
82available online at:
83
84 http://salt-formulas.readthedocs.io/
85
86In the unfortunate event that bugs are discovered, they should be reported to
87the appropriate issue tracker. Use Github issue tracker for specific salt
88formula:
89
90 https://github.com/salt-formulas/salt-formula-sphinx/issues
91
92For feature requests, bug reports or blueprints affecting entire ecosystem,
93use Launchpad salt-formulas project:
94
95 https://launchpad.net/salt-formulas
96
97You can also join salt-formulas-users team and subscribe to mailing list:
98
99 https://launchpad.net/~salt-formulas-users
100
101Developers wishing to work on the salt-formulas projects should always base
102their work on master branch and submit pull request against specific formula.
103
104 https://github.com/salt-formulas/salt-formula-sphinx
105
106Any questions or feedback is always welcome so feel free to join our IRC
107channel:
108
109 #salt-formulas @ irc.freenode.net