Skip to content

Commit d77a1e7

Browse files
committed
Use separately packaged sphinxcontrib_github_alt
1 parent b1e4ac2 commit d77a1e7

File tree

4 files changed

+3
-163
lines changed

4 files changed

+3
-163
lines changed

docs/doc-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
sphinx>=1.3.6
22
sphinx-rtd-theme
33
nbsphinx
4+
sphinxcontrib_github_alt

docs/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ dependencies:
1212
- nbsphinx
1313
- Send2Trash
1414
- prometheus_client
15+
- sphinxcontrib_github_alt

docs/source/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
# add repo root to sys.path
3131
# here = root/docs/source
3232
here = os.path.abspath(os.path.dirname(__file__))
33-
sphinxext = os.path.join(os.path.dirname(here), 'sphinxext')
34-
sys.path.insert(0, sphinxext)
3533
repo_root = os.path.dirname(os.path.dirname(here))
3634
sys.path.insert(0, repo_root)
3735

@@ -72,7 +70,7 @@
7270
'sphinx.ext.mathjax',
7371
'IPython.sphinxext.ipython_console_highlighting',
7472
'nbsphinx',
75-
'github',
73+
'sphinxcontrib_github_alt',
7674
]
7775

7876
# Add any paths that contain templates here, relative to this directory.

docs/sphinxext/github.py

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)