diff --git a/doc/source/gestion/config/index.rst b/doc/source/gestion/config/index.rst index 10a6ee94..6ef54f12 100644 --- a/doc/source/gestion/config/index.rst +++ b/doc/source/gestion/config/index.rst @@ -1,11 +1,11 @@ -Configuration des scripts -========================= +config -- Configuration des scripts +=================================== Table des matières : .. toctree:: :maxdepth: 2 :glob: - + * mails/index diff --git a/doc/source/gestion/config/mails/index.rst b/doc/source/gestion/config/mails/index.rst index 13e3d00a..f5cff052 100644 --- a/doc/source/gestion/config/mails/index.rst +++ b/doc/source/gestion/config/mails/index.rst @@ -1,5 +1,5 @@ -Configuration des mails automatiquement envoyés -=============================================== +mails -- Configuration des mails automatiquement envoyés +======================================================== Table des matières : diff --git a/doc/source/gestion/gen_confs/firewall4.rst b/doc/source/gestion/gen_confs/firewall4.rst new file mode 100644 index 00000000..5d59b2fb --- /dev/null +++ b/doc/source/gestion/gen_confs/firewall4.rst @@ -0,0 +1,7 @@ + +gen_confs.firewall4 -- Le pare-feu ipv4 +======================================= + +.. automodule:: gestion.gen_confs.firewall4 + :members: + :special-members: diff --git a/doc/source/gestion/gen_confs/index.rst b/doc/source/gestion/gen_confs/index.rst new file mode 100644 index 00000000..e4468701 --- /dev/null +++ b/doc/source/gestion/gen_confs/index.rst @@ -0,0 +1,10 @@ +gen_confs -- Cr@ns Configuration Generator +========================================== + +Table des matières : + +.. toctree:: + :maxdepth: 2 + :glob: + + * diff --git a/doc/source/gestion/index.rst b/doc/source/gestion/index.rst index fc8073de..19759b2d 100644 --- a/doc/source/gestion/index.rst +++ b/doc/source/gestion/index.rst @@ -1,5 +1,5 @@ -gestion - scripts de gestion du Cr@ns -===================================== +gestion -- scripts de gestion du Cr@ns +====================================== Table des matières : @@ -7,3 +7,4 @@ Table des matières : :maxdepth: 2 config/index + gen_confs/index diff --git a/doc/source/impression/canon_wrapper.rst b/doc/source/impression/canon_wrapper.rst index 3e0e12f8..b59e0d5f 100644 --- a/doc/source/impression/canon_wrapper.rst +++ b/doc/source/impression/canon_wrapper.rst @@ -1,5 +1,5 @@ -canon_wrapper -============= +canon_wrapper -- Soumission de jobs à l'imprimante canon +======================================================== .. automodule:: impression.canon_wrapper :members: diff --git a/doc/source/impression/index.rst b/doc/source/impression/index.rst index 97ff1b2f..87cf6d3c 100644 --- a/doc/source/impression/index.rst +++ b/doc/source/impression/index.rst @@ -1,5 +1,5 @@ -Impression -=========== +impression -- Scripts relatifs au service d'impression du Cr@ns +=============================================================== Table des matières : diff --git a/impression/canon_wrapper.py b/impression/canon_wrapper.py index c4cb30ca..88c47eed 100755 --- a/impression/canon_wrapper.py +++ b/impression/canon_wrapper.py @@ -5,6 +5,7 @@ .. codeauthor:: Daniel STAN .. codeauthor:: Antoine Durand-Gasselin +Pour envoyer des jobs d'impression à l'imprimante canon via son interface web. License: GPLv3 """ @@ -214,6 +215,5 @@ if __name__ == '__main__': else: parser = build_parser() - __doc__ += 'Help message::\n' +\ - '\n'.join(' ' + l for l in parser.format_help().split('\n')) - + __doc__ += '''\nHelp message : ::\n\n''' + __doc__ += '\n'.join(' ' + l for l in parser.format_help().split('\n')) + "\n"