Skip to content

Commit f694a13

Browse files
committed
Use new sidebar generator
1 parent d44f236 commit f694a13

File tree

4 files changed

+10
-101
lines changed

4 files changed

+10
-101
lines changed

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ __pycache__
44

55
_build
66

7-
_sidebar.rst.inc
7+
_sidebar.rst.inc
8+
_sidebar.toml

Diff for: conf.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,14 @@
159159

160160
# -- Custom Document processing ----------------------------------------------
161161

162-
import gensidebar
162+
from robotpy_sphinx.sidebar import generate_sidebar
163+
164+
generate_sidebar(
165+
globals(),
166+
"robotpy",
167+
"https://raw.githubusercontent.com/robotpy/docs-sidebar/master/sidebar.toml",
168+
)
163169

164-
gensidebar.generate_sidebar(globals(), "robotpy")
165170

166171

167172
import sphinx.addnodes

Diff for: gensidebar.py

-98
This file was deleted.

Diff for: requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
sphinx
22
sphinx-rtd-theme
3+
robotpy-sphinx-plugin

0 commit comments

Comments
 (0)