Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit ca137c1

Browse files
authored
Merge pull request #524 from macartur/fix_dropdown
[Docs] Fix dropdown and update requirements
2 parents 1a712f7 + 43049b1 commit ca137c1

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,14 @@ help:
6161
versions:
6262
rm python-openflow -rf && mkdir python-openflow
6363
for version in `echo $(VERSIONS) | sed 's/,/ /g'`; do \
64-
git checkout $$version \
64+
git stash \
65+
&& git checkout $$version \
66+
&& git stash pop \
6567
&& make SPHINXOPTS="-A versions=\"$(VERSIONS)\" -A current_version=\"$$version\"" \
6668
&& mv _build/dirhtml python-openflow/$$version; \
6769
done
6870
cp python-openflow/$(MAIN_REF)/* python-openflow/ -R
71+
git stash && git checkout master && git stash pop
6972

7073
.PHONY: clean
7174
clean:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135

136136
# Add any paths that contain custom themes here, relative to this directory.
137137
#html_theme_path = []
138+
html_context = {'project_short_name': project_short_name}
138139

139140
# The name for this set of Sphinx documents.
140141
# "<project> v<release> documentation" by default.
@@ -175,7 +176,6 @@
175176

176177
# Custom sidebar templates, maps document names to template names.
177178
#html_sidebars = {}
178-
html_sidebars = {'**': ['globaltoc_sidebar.html']}
179179

180180
# Additional templates that should be rendered to pages, maps page names to
181181
# template names.

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,7 @@ def run(self):
123123
'coverage',
124124
'tox',
125125
'pip-tools',
126-
'Sphinx~=1.5.0',
127-
'sphinx-autobuild',
128-
'sphinx-rtd-theme',
129-
'sphinx_bootstrap_theme~=0.4.0',
126+
'kytos_sphinx_theme',
130127
'yala',
131128
],
132129
},

0 commit comments

Comments
 (0)