Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit bb37fe4

Browse files
Remove theme-overrides.css file
Web pack files come after it, removing its usability. Can do the same job with new setup.custom_css_files
1 parent 8c7af84 commit bb37fe4

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

runestone/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def runestone_static_dirs():
4848
module_static_js.append(os.path.join(basedir, "codelens", "js"))
4949
module_static_js.append(os.path.join(basedir, "webgldemo", "js"))
5050
module_static_js.append(os.path.join(basedir, "matrixeq", "js"))
51-
module_static_css = [os.path.join(basedir, "common", "css", "sphinx")]
51+
module_static_css = []
5252
module_static_css.append(os.path.join(basedir, "accessibility", "css"))
5353
module_static_css.append(os.path.join(basedir, "webgldemo", "css"))
5454
module_static_css.append(os.path.join(basedir, "matrixeq", "css"))
@@ -225,8 +225,6 @@ def build(options):
225225
css_files = [
226226
# Generated from a template, so it can't be directly included in the webpack.
227227
"bootstrap-sphinx.css",
228-
# Deliberately excluded, so it can be overridden by a user-supplied CSs file.
229-
"theme-overrides.css",
230228
]
231229

232230

runestone/common/css/sphinx/theme-overrides.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)