blob: 85e394dbe2db64ff33c4037e80720867f674c5ab [file] [log] [blame]
Ales Komarek7b7636e2015-11-27 15:31:43 +01001
2======
3Sphinx
4======
5
6Sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Georg Brandl and licensed under the BSD license. It was originally created for the new Python documentation, and it has excellent facilities for the documentation of Python projects, but C/C++ is already supported as well, and it is planned to add special support for other languages as well.
7
8Sample pillars
9==============
10
11Simple documentation with local source
12
13.. code-block:: yaml
14
15 sphinx:
16 server:
17 enabled: true
18 doc:
19 board:
20 builder: 'html'
21 source:
22 engine: local
23 path: '/path/to/sphinx/documentation'
24
25Simple documentation with Git source
26
27.. code-block:: yaml
28
29 sphinx:
30 server:
31 enabled: true
32 doc:
33 board:
34 builder: 'html'
35 source:
36 engine: git
37 address: 'git@repo1.domain.com/repo.git'
38 revision: master
39
40Simple documentation with reclass source
41
42.. code-block:: yaml
43
44 sphinx:
45 server:
46 enabled: true
47 doc:
48 board:
49 builder: 'html'
50 source:
51 engine: reclass
52
53
54Read more
55=========
56
57* http://sphinx-doc.org/tutorial.html