File tree 3 files changed +13
-13
lines changed
3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# sphinx-click documentation build configuration file
4
4
5
- # import os
6
- # import sys
7
- # sys.path.insert(0, os.path.abspath('.'))
5
+ import os
6
+ import sys
7
+
8
+ sys .path .insert (0 , os .path .abspath ('../examples' ))
8
9
9
10
# -- General configuration ------------------------------------------------
10
11
15
16
# Add any Sphinx extension module names here, as strings. They can be
16
17
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
17
18
# ones.
18
- extensions = [" sphinx_click" ]
19
+ extensions = [' sphinx_click' ]
19
20
20
21
# Add any paths that contain templates here, relative to this directory.
21
22
templates_path = []
Original file line number Diff line number Diff line change 1
1
sphinx-click
2
2
============
3
3
4
- :mod: ` sphinx-click <sphinx_click> ` is a `Sphinx `__ plugin that allows you to
5
- automatically extract documentation from a `click-based `__ application and
6
- include it in your docs.
4
+ `` sphinx-click `` is a `Sphinx `__ plugin that allows you to automatically
5
+ extract documentation from a `click-based `__ application and include it in
6
+ your docs.
7
7
8
8
__ http://www.sphinx-doc.org/
9
9
__ http://click.pocoo.org/
@@ -19,9 +19,9 @@ __ http://click.pocoo.org/
19
19
20
20
.. seealso ::
21
21
22
- Module :mod: ` click `
23
- This extension assumes you are using :mod: ` click ` to create your command
22
+ Module `` click ` `
23
+ This extension assumes you are using `` click ` ` to create your command
24
24
line application.
25
25
26
- Module :mod: ` sphinxcontrib.autoprogram `
27
- An equivalent library for use with :mod: ` argparse `.
26
+ Module `` sphinxcontrib.autoprogram ` `
27
+ An equivalent library for use with `` argparse ` `.
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ commands =
33
33
34
34
[testenv:docs]
35
35
commands =
36
- pip install -e {toxinidir}/examples/
37
- sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html
36
+ sphinx-build -Wn -b html -d docs/_build/doctrees docs docs/_build/html
38
37
39
38
[coverage:run]
40
39
branch = True
You can’t perform that action at this time.
0 commit comments