mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-03-01 03:51:36 +01:00
Add Sphinx collapsible and tab plugins (#4225)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
e374685349
commit
4d329c6055
@ -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");
|
||||
}
|
||||
|
2
conf.py
2
conf.py
@ -41,6 +41,8 @@ extensions = [
|
||||
"seo",
|
||||
"components",
|
||||
"sitemap",
|
||||
"sphinx_tabs.tabs",
|
||||
"sphinx_toolbox.collapse",
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
|
@ -1,2 +1,4 @@
|
||||
sphinx==7.1.2
|
||||
sphinx-autobuild==2021.3.14
|
||||
sphinx-tabs==3.4.5
|
||||
sphinx-toolbox==3.8.0
|
||||
|
Loading…
Reference in New Issue
Block a user