Commit graph

24 commits

Author SHA1 Message Date
ljf
5518931c02 [fix] OrderedLoader from SafeLoader 2021-08-17 17:33:23 +02:00
ljf
ccb6dc54b1 [fix] Avoid warning and use safeloader 2021-08-17 17:26:00 +02:00
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00:00
Alexandre Aubin
a97a9df316 Fix more implicit references to python2, adapt generate_manpages for python3 2021-01-20 05:06:43 +01:00
Laurent Peuch
b4be3389fa [fix] open file relatively from script location 2019-06-29 07:42:32 +02:00
Laurent Peuch
78391045d8 [mod] extract manpage template in another file 2019-06-29 07:38:13 +02:00
Laurent Peuch
388d332ba1 [enh] display default value in manpages 2019-06-02 04:30:46 +02:00
Laurent Peuch
ebba9967d0 [mod] try to make manpages template less disastrously unreadable 2019-06-02 04:30:46 +02:00
Laurent Peuch
c75b9f7fa5 [fix] duplicated line in manpage 2019-06-02 04:30:46 +02:00
Laurent Peuch
8428385cd4 [fix] if output is directly a filename without a path no need to create a dir 2019-06-02 04:30:46 +02:00
Laurent Peuch
3c074e637c [enh] add support to write gzip compressed man page 2019-06-02 04:30:46 +02:00
Laurent Peuch
3e0dde747e [fix] invalide \ 2019-06-02 04:30:46 +02:00
Laurent Peuch
d334baf78f [enh] allow to specify a path for the output 2019-06-02 04:30:46 +02:00
Laurent Peuch
ec67f5af61 [mod] add a main function 2019-06-02 04:30:46 +02:00
Laurent Peuch
2725fba1f4 [mod] remove unused import 2019-06-02 04:30:46 +02:00
Laurent Peuch
491e3efb5a [enh] generate manpages from actionsmap 2019-06-02 04:30:46 +02:00
Laurent Peuch
1fcffed58d [mod] blank lines for lisibility 2019-06-02 04:30:46 +02:00
Laurent Peuch
340f3617a2 [mod] 'str' is a python builtin 2019-06-02 04:30:46 +02:00
Laurent Peuch
6cceddf70c [mod] use more secure yaml.safe_load 2019-06-02 04:30:46 +02:00
Laurent Peuch
31482e7d31 [mod] use subprocess instead of os.system to ensure function has run correctly 2019-06-02 04:30:46 +02:00
Laurent Peuch
51f9dbe5ae [mod] use builtin python function for creating dirs 2019-06-02 04:30:46 +02:00
Laurent Peuch
e23604e763 [mod] use os.path 2019-06-02 04:30:46 +02:00
Laurent Peuch
218029b628 [mod] autopep8 2019-06-02 04:30:46 +02:00
Alexandre Aubin
1e95a5d738 Move / rename / make script more robust w.r.t to path from which its called 2019-06-02 04:30:46 +02:00
Renamed from manpages_auto.py (Browse further)