documents
This commit is contained in:
parent
f3f499c439
commit
b55ea0bc00
22 changed files with 2 additions and 9 deletions
13
in/public/documents/index.rst
Normal file
13
in/public/documents/index.rst
Normal file
|
@ -0,0 +1,13 @@
|
|||
Documents
|
||||
=========
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
/pandoc/index
|
||||
/sphinx/index
|
||||
/markdown/index
|
||||
/restructuredtext/index
|
||||
/libreoffice/index
|
||||
/pdftk/index
|
||||
/texlive/index
|
11
in/public/documents/libreoffice/convert.rst
Normal file
11
in/public/documents/libreoffice/convert.rst
Normal file
|
@ -0,0 +1,11 @@
|
|||
*******
|
||||
Convert
|
||||
*******
|
||||
|
||||
.. code::
|
||||
|
||||
libreoffice \
|
||||
--headless \
|
||||
--convert-to "png" \
|
||||
--outdir "chemin/fichier.png" \
|
||||
input_file.o??
|
7
in/public/documents/libreoffice/index.rst
Normal file
7
in/public/documents/libreoffice/index.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
###########
|
||||
LibreOffice
|
||||
###########
|
||||
|
||||
.. toctree::
|
||||
|
||||
convert
|
7
in/public/documents/markdown/index.rst
Normal file
7
in/public/documents/markdown/index.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
########
|
||||
MarkDown
|
||||
########
|
||||
|
||||
.. toctree::
|
||||
|
||||
syntax
|
52
in/public/documents/markdown/syntax.rst
Normal file
52
in/public/documents/markdown/syntax.rst
Normal file
|
@ -0,0 +1,52 @@
|
|||
******
|
||||
Syntax
|
||||
******
|
||||
|
||||
Titles
|
||||
======
|
||||
|
||||
::
|
||||
|
||||
# title 1
|
||||
## title 2
|
||||
### title 3
|
||||
#### title 4
|
||||
##### title 5
|
||||
###### title 6
|
||||
|
||||
Lists
|
||||
=====
|
||||
|
||||
::
|
||||
|
||||
* element 1
|
||||
* element 2
|
||||
* element 2.1
|
||||
* element 2.2
|
||||
* element 2.2.1
|
||||
* element 2.2.2
|
||||
|
||||
Blocks
|
||||
======
|
||||
|
||||
::
|
||||
|
||||
```language
|
||||
multi
|
||||
line
|
||||
message
|
||||
```
|
||||
|
||||
Links
|
||||
=====
|
||||
|
||||
::
|
||||
|
||||
[link_caption](link_address)
|
||||
|
||||
Images
|
||||
======
|
||||
|
||||
::
|
||||
|
||||

|
42
in/public/documents/pandoc/build.rst
Normal file
42
in/public/documents/pandoc/build.rst
Normal file
|
@ -0,0 +1,42 @@
|
|||
*****
|
||||
Build
|
||||
*****
|
||||
|
||||
Formats
|
||||
=======
|
||||
|
||||
Documents
|
||||
---------
|
||||
|
||||
* html5
|
||||
* odt
|
||||
* docx
|
||||
* latex (--latex-engine="xelatex")
|
||||
|
||||
Presentations
|
||||
-------------
|
||||
|
||||
* beamer
|
||||
* dzslides
|
||||
* revealjs
|
||||
* s5
|
||||
* slideous
|
||||
* slidy
|
||||
|
||||
Generation
|
||||
==========
|
||||
|
||||
.. code:: shell
|
||||
|
||||
pandoc \
|
||||
--data-dir="directory/path" \
|
||||
--from="markdown" \
|
||||
"input_file" \
|
||||
--to="html5" \
|
||||
--output="output_file" \
|
||||
--standalone \
|
||||
--number-sections \
|
||||
--toc \
|
||||
--toc-depth=3 \
|
||||
--template="template_name" \
|
||||
--css="style/relative/path"
|
7
in/public/documents/pandoc/index.rst
Normal file
7
in/public/documents/pandoc/index.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
######
|
||||
PanDoc
|
||||
######
|
||||
|
||||
.. toctree::
|
||||
|
||||
build
|
3
in/public/documents/pdftk/index.rst
Normal file
3
in/public/documents/pdftk/index.rst
Normal file
|
@ -0,0 +1,3 @@
|
|||
#####
|
||||
PDFtk
|
||||
#####
|
BIN
in/public/documents/restructuredtext/image.png
Normal file
BIN
in/public/documents/restructuredtext/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
8
in/public/documents/restructuredtext/index.rst
Normal file
8
in/public/documents/restructuredtext/index.rst
Normal file
|
@ -0,0 +1,8 @@
|
|||
################
|
||||
ReStructuredText
|
||||
################
|
||||
|
||||
.. toctree::
|
||||
|
||||
tree
|
||||
syntax
|
78
in/public/documents/restructuredtext/syntax.rst
Normal file
78
in/public/documents/restructuredtext/syntax.rst
Normal file
|
@ -0,0 +1,78 @@
|
|||
******
|
||||
Syntax
|
||||
******
|
||||
|
||||
Sections
|
||||
========
|
||||
|
||||
.. code:: restructuredtext
|
||||
|
||||
####
|
||||
Part
|
||||
####
|
||||
|
||||
*******
|
||||
Chapter
|
||||
*******
|
||||
|
||||
Section
|
||||
=======
|
||||
|
||||
SubSection
|
||||
----------
|
||||
|
||||
SubSubSection
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
Paragraph
|
||||
"""""""""
|
||||
|
||||
ToSort
|
||||
======
|
||||
|
||||
.. code:: restructuredtext
|
||||
|
||||
.. raw:: html
|
||||
|
||||
<div></div>
|
||||
|
||||
* *1 star*
|
||||
* **2 stars**
|
||||
* ``2 backquotes``
|
||||
|
||||
After this comma,
|
||||
| output new line
|
||||
|
||||
|
||||
.. comment
|
||||
|
||||
..
|
||||
multiline
|
||||
|
||||
comment
|
||||
|
||||
.. image:: image.png
|
||||
|
||||
Indent 0
|
||||
|
||||
Indent 1 which
|
||||
continues here.
|
||||
|
||||
Indent 2
|
||||
|
||||
* item
|
||||
|
||||
* subitem
|
||||
|
||||
* item
|
||||
|
||||
#. first
|
||||
#. second
|
||||
|
||||
----
|
||||
|
||||
.. epigraph::
|
||||
|
||||
No matter where you go, there you are.
|
||||
|
||||
-- Buckaroo Banzai
|
7
in/public/documents/restructuredtext/tree.rst
Normal file
7
in/public/documents/restructuredtext/tree.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
****
|
||||
Tree
|
||||
****
|
||||
|
||||
.. code::
|
||||
|
||||
index
|
3
in/public/documents/sphinx/build.rst
Normal file
3
in/public/documents/sphinx/build.rst
Normal file
|
@ -0,0 +1,3 @@
|
|||
*******************
|
||||
Build documentation
|
||||
*******************
|
13
in/public/documents/sphinx/configure.rst
Normal file
13
in/public/documents/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/documents/sphinx/create.rst
Normal file
3
in/public/documents/sphinx/create.rst
Normal file
|
@ -0,0 +1,3 @@
|
|||
********************
|
||||
Create documentation
|
||||
********************
|
10
in/public/documents/sphinx/index.rst
Normal file
10
in/public/documents/sphinx/index.rst
Normal file
|
@ -0,0 +1,10 @@
|
|||
######
|
||||
Sphinx
|
||||
######
|
||||
|
||||
.. toctree::
|
||||
|
||||
install
|
||||
configure
|
||||
create
|
||||
build
|
9
in/public/documents/sphinx/install.rst
Normal file
9
in/public/documents/sphinx/install.rst
Normal file
|
@ -0,0 +1,9 @@
|
|||
*******
|
||||
Install
|
||||
*******
|
||||
|
||||
.. code:: shell
|
||||
|
||||
python3-sphinx
|
||||
python3-sphinx-rtd-theme
|
||||
python3-recommonmark
|
7
in/public/documents/texlive/index.rst
Normal file
7
in/public/documents/texlive/index.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
#######
|
||||
TexLive
|
||||
#######
|
||||
|
||||
.. toctree::
|
||||
|
||||
install
|
9
in/public/documents/texlive/install.rst
Normal file
9
in/public/documents/texlive/install.rst
Normal file
|
@ -0,0 +1,9 @@
|
|||
*******
|
||||
Install
|
||||
*******
|
||||
|
||||
.. code:: shell
|
||||
|
||||
apt-get install \
|
||||
texlive-xetex \
|
||||
texlive-lang-french \
|
Loading…
Add table
Add a link
Reference in a new issue