Skip to content

Commit 6499581

Browse files
authored
Merge pull request #12 from executablebooks/css_admonition
2 parents f900ed8 + 2b65d58 commit 6499581

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
# The theme to use for HTML and HTML Help pages. See the documentation for
7676
# a list of builtin themes.
7777
#
78-
html_theme = "alabaster"
78+
html_theme = "sphinx_book_theme"
7979
# html_theme = 'sphinx_rtd_theme'
8080

8181
# Theme options are theme-specific and customize the look and feel of a theme

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
version = version[0].split(" = ")[-1].strip('"')
1111

12-
with open("./README.rst", "r") as ff:
12+
with open("./README.md", "r") as ff:
1313
readme_text = ff.read()
1414

1515
setup(
@@ -20,13 +20,13 @@
2020
long_description_content_type="text/markdown",
2121
author="Chris Holdgraf",
2222
author_email="[email protected]",
23-
url="https://github.com/choldgraf/sphinx-togglebutton",
23+
url="https://github.com/executablebooks/sphinx-togglebutton",
2424
license="MIT License",
2525
packages=find_packages(),
2626
package_data={
2727
"sphinx_togglebutton": ["_static/togglebutton.css_t", "_static/togglebutton.js"]
2828
},
2929
install_requires=["setuptools", "wheel", "sphinx", "docutils"],
30-
extras_require={"sphinx": ["myst_nb"]},
30+
extras_require={"sphinx": ["myst_nb", "sphinx_book_theme"]},
3131
classifiers=["License :: OSI Approved :: MIT License"],
3232
)

sphinx_togglebutton/_static/togglebutton.css_t

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818

1919
.toggle-body .admonition-title:after {
20-
content: "";
20+
content: "" !important;
2121
}
2222

2323
.toggle-body button.toggle-button {

0 commit comments

Comments
 (0)