Skip to content

Commit

Permalink
Add Sphinx collapsible and tab plugins (#4225)
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse Hills <[email protected]>
  • Loading branch information
nkinnan and jesserockz authored Oct 21, 2024
1 parent e374685 commit 4d329c6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,15 @@ img.logo {
background-color: #212121;
}

.sphinx-tabs-panel {
background: #212121;
}

.sphinx-tabs-tab {
background: #212121 !important;
margin: 0 !important;
}

img.logo {
content: url("/_static/logo-text-on-dark.svg");
}
Expand Down
2 changes: 2 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
"seo",
"components",
"sitemap",
"sphinx_tabs.tabs",
"sphinx_toolbox.collapse",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
sphinx==7.1.2
sphinx-autobuild==2021.3.14
sphinx-tabs==3.4.5
sphinx-toolbox==3.8.0

0 comments on commit 4d329c6

Please sign in to comment.