diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-28 11:04:52 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-28 11:04:52 +0100 |
| commit | b6eb06aeee0fda77395d7b3172c44b999b70cdee (patch) | |
| tree | 9e29f32a94df7340fcc335e1740062003be393cd /docs | |
| parent | 348da189c00bdef866d2b597ea0250fc0f0e88dc (diff) | |
| download | minishell_test-b6eb06aeee0fda77395d7b3172c44b999b70cdee.tar.gz minishell_test-b6eb06aeee0fda77395d7b3172c44b999b70cdee.tar.bz2 minishell_test-b6eb06aeee0fda77395d7b3172c44b999b70cdee.zip | |
Refactoring config in a class to have a testable environment
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/conf.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py index cc274d9..b353a1c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,9 +14,6 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) -from docutils import nodes -from sphinx import addnodes - # -- Project information ----------------------------------------------------- project = 'minishell_test' @@ -57,6 +54,7 @@ html_theme = 'sphinx_rtd_theme' # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] + def setup(app): from sphinx.util.docfields import Field app.add_object_type( @@ -81,6 +79,7 @@ def setup(app): ] ) + extlinks = { "issue": ("https://github.com/cacharle/minishell_test/issues/%s", "#"), "pull": ("https://github.com/cacharle/minishell_test/pull/%s", "p"), |
