sphinx
This commit is contained in:
parent
b88b8cff79
commit
9466cf6723
7 changed files with 16 additions and 12 deletions
4
in/public/sphinx/build.rst
Normal file
4
in/public/sphinx/build.rst
Normal file
|
@ -0,0 +1,4 @@
|
|||
Build documentation
|
||||
===================
|
||||
|
||||
.. todo:: command line and conf.py
|
13
in/public/sphinx/configure.rst
Normal file
13
in/public/sphinx/configure.rst
Normal file
|
@ -0,0 +1,13 @@
|
|||
***********************
|
||||
Configure documentation
|
||||
***********************
|
||||
|
||||
MarkDown
|
||||
========
|
||||
|
||||
.. code:: python3
|
||||
|
||||
source_parsers = {
|
||||
'.md': 'recommonmark.parser.CommonMarkParser',
|
||||
}
|
||||
source_suffix = ['.rst', '.md']
|
3
in/public/sphinx/create.rst
Normal file
3
in/public/sphinx/create.rst
Normal file
|
@ -0,0 +1,3 @@
|
|||
********************
|
||||
Create documentation
|
||||
********************
|
9
in/public/sphinx/index.rst
Normal file
9
in/public/sphinx/index.rst
Normal file
|
@ -0,0 +1,9 @@
|
|||
sphinx
|
||||
======
|
||||
|
||||
.. toctree::
|
||||
|
||||
install
|
||||
configure
|
||||
create
|
||||
build
|
13
in/public/sphinx/install.rst
Normal file
13
in/public/sphinx/install.rst
Normal file
|
@ -0,0 +1,13 @@
|
|||
Install
|
||||
=======
|
||||
|
||||
.. code:: shell
|
||||
|
||||
apt install python3-sphinx
|
||||
apt install python3-sphinx-rtd-theme
|
||||
|
||||
* if markdown documents
|
||||
|
||||
.. code:: shell
|
||||
|
||||
apt install python3-recommonmark
|
Loading…
Add table
Add a link
Reference in a new issue