|
15 | 15 | # sys.path.insert(0, os.path.abspath('.'))
|
16 | 16 |
|
17 | 17 |
|
18 |
| -# -- Project information ----------------------------------------------------- |
19 |
| - |
20 |
| -project = "BioTeam Sphinx Demo" |
21 |
| -copyright ="BioTeam Inc" |
22 |
| -author = "Jordan Ramsdell" |
23 |
| -github_user = "jramsdell" |
24 |
| -github_repo_name = "sphinx-documentation-demo" # auto-detected from dirname if blank |
25 |
| -github_version = "main" |
26 |
| -conf_py_path = "/docs/" # with leading and trailing slash |
27 | 18 |
|
28 | 19 | # -- General configuration ---------------------------------------------------
|
29 | 20 |
|
|
61 | 52 | html_theme = "pydata_sphinx_theme" # To install a new theme, you have to pip install it first
|
62 | 53 |
|
63 | 54 | html_theme_options = {
|
64 |
| - "use_edit_page_button": False, |
| 55 | + "use_edit_page_button": True, |
65 | 56 | "show_toc_level": 4,
|
66 | 57 |
|
67 | 58 |
|
|
95 | 86 | # "**": ["globaltoc.html"]
|
96 | 87 | # }
|
97 | 88 |
|
| 89 | +# -- Project information ----------------------------------------------------- |
| 90 | + |
| 91 | +project = "BioTeam Sphinx Demo" |
| 92 | +copyright ="BioTeam Inc" |
| 93 | +author = "Jordan Ramsdell" |
| 94 | +github_user = "jramsdell" |
| 95 | +github_repo_name = "sphinx-documentation-demo" # auto-detected from dirname if blank |
| 96 | +github_version = "main" |
| 97 | +conf_py_path = "/docs/" # with leading and trailing slash |
| 98 | + |
98 | 99 | html_context = {
|
99 | 100 | "display_github": True,
|
100 |
| - "github_user": github_user, |
| 101 | + "github_user": author, |
101 | 102 | # Auto-detect directory name. This can break, but
|
102 | 103 | # useful as a default.
|
103 | 104 | "github_repo": github_repo_name or basename(dirname(realpath(__file__))),
|
|
0 commit comments