Skip to content

Commit

Permalink
Load templates correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Dec 17, 2024
1 parent 5f712f8 commit d9197aa
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
import panel

from nbsite import nbbuild
from nbsite.shared_conf import remove_mystnb_static
from nbsite.shared_conf import (
html_sidebars, remove_mystnb_static, templates_path,
)
from nbsite.util import base_version # noqa
from panel.io.convert import BOKEH_VERSION, PY_VERSION
from panel.io.resources import CDN_DIST, DIST_DIR
Expand Down Expand Up @@ -90,7 +92,7 @@ def setup(app):
}

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path += ['_templates']

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down Expand Up @@ -129,11 +131,6 @@ def setup(app):
"pygment_dark_style": "material"
}

html_sidebars = {
"index": ["sidebar-nav-bs-alt"],
"**": ["sidebar-nav-bs-alt"],
}

html_context = {
"default_mode": "light",
}
Expand Down

0 comments on commit d9197aa

Please sign in to comment.