This repository was archived by the owner on Feb 10, 2023. It is now read-only.
File tree 3 files changed +7
-17
lines changed
3 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 26
26
# Add any Sphinx extension module names here, as strings. They can be extensions
27
27
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28
28
extensions = ['sphinx.ext.autodoc' , 'sphinx.ext.coverage' ,
29
- 'sphinx.ext.viewcode' , 'sphinx.ext.intersphinx' ]
29
+ 'sphinx.ext.viewcode' , 'sphinx.ext.intersphinx' ,
30
+ 'sphinxcontrib.autoprogram' ]
30
31
sys .path .insert (0 , os .path .abspath ("../../" ))
31
32
from abzer import __version__
32
33
autodoc_default_flags = ["members" , "undoc-members" , "show-inheritance" ]
Original file line number Diff line number Diff line change 1
1
Usage
2
2
=====
3
3
4
- For now, here's the `--help ` output::
4
+ Command line options
5
+ --------------------
5
6
6
- usage: abzer [-h] [-c CONFIG] [-p PROCESSES] [-v] FILENAME [FILENAME ...]
7
-
8
- positional arguments:
9
- FILENAME
10
-
11
- optional arguments:
12
- -h, --help show this help message and exit
13
- -c CONFIG, --config CONFIG
14
- The path to the config file. (default:
15
- /home/<username>/.abzsubmit/abzsubmit.conf)
16
- -p PROCESSES, --processes PROCESSES
17
- The number of processes to use for analyzing files.
18
- (default: <number of cpus>)
19
- -v, --verbose Be more verbose. (default: False)
7
+ .. autoprogram :: abzer.__main__:make_argparser()
8
+ :prog: abzer
Original file line number Diff line number Diff line change 23
23
use_scm_version = {"write_to" : "abzer/version.py" },
24
24
install_requires = ["aiohttp" ],
25
25
extras_require = {
26
- 'docs' : ['sphinx' ]},
26
+ 'docs' : ['sphinx' , 'sphinxcontrib-autoprogram' ]},
27
27
entry_points = {
28
28
'console_scripts' : ['abzer=abzer.__main__:main' ]
29
29
}
You can’t perform that action at this time.
0 commit comments