Skip to content

Commit

Permalink
Path name consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
costrouc committed Jan 11, 2021
1 parent 4f6113a commit 813a11f
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qhub_jupyterhub_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
HERE = os.path.dirname(__file__)

TEMPLATE_PATH = os.path.join(HERE, 'templates')
STATIC_PATH = os.path.join(HERE, 'static')
STATIC_PATH = os.path.join(HERE, 'custom')
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="qhub_jupyterhub_theme",
version='0.2.0',
version='0.2.1',
description="QHub jupyterhub theme",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion test_jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Link static files along with templates
c.JupyterHub.extra_handlers = [
(r'/custom/(.*)', tornado.web.StaticFileHandler, {"path": "./qhub_jupyterhub_theme/static"}),
(r'/custom/(.*)', tornado.web.StaticFileHandler, {"path": "./qhub_jupyterhub_theme/custom"}),
]

c.JupyterHub.template_paths = [
Expand Down

0 comments on commit 813a11f

Please sign in to comment.