diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-03-01 12:39:52 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-03-01 12:39:52 +0100 |
| commit | 2ae77423200364d3fb6c1823e4ddfb7542c834fb (patch) | |
| tree | 4109daa4b22e5febc7a844042bebfcda36208bf2 /docs/conf.py | |
| parent | 072ec79b51cb4af45b168bf6f73941d1de94c8ae (diff) | |
| download | minishell_test-2ae77423200364d3fb6c1823e4ddfb7542c834fb.tar.gz minishell_test-2ae77423200364d3fb6c1823e4ddfb7542c834fb.tar.bz2 minishell_test-2ae77423200364d3fb6c1823e4ddfb7542c834fb.zip | |
Added bonus doc, Updated command line options doc
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 339bb98..692a56c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,8 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) +from pathlib import Path + # -- Project information ----------------------------------------------------- project = 'minishell_test' @@ -23,6 +25,7 @@ author = 'Charles Cabergs' # The full version, including alpha/beta/rc tags release = '1.0.1' +# display_github = True # -- General configuration --------------------------------------------------- @@ -31,6 +34,7 @@ release = '1.0.1' # ones. extensions = [ "sphinx.ext.extlinks", + "sphinxcontrib.programoutput", ] # Add any paths that contain templates here, relative to this directory. @@ -41,7 +45,6 @@ templates_path = ['_templates'] # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] - # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for @@ -49,6 +52,19 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # html_theme = 'sphinx_rtd_theme' +html_theme_options = { + "style_external_links": True, +} + +github_url = 'https://github.com/cacharle/minishell_test' +html_context = { + "display_github": True, + "github_user": "cacharle", + "github_repo": "minishell_test", + "conf_py_path": f"/{Path(__file__).parent.name}/", + "github_version": "master", +} + # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". |
