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

Commit a08e850

Browse files
committed
Fix: copy test.db on build
1 parent 9b37060 commit a08e850

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

runestone/hparsons/test/conf.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
# All configuration values have a default; values that are commented out
1414
# serve to show the default.
1515

16-
import sys, os
16+
import sys
17+
import os
1718

1819
# If extensions (or modules to document with autodoc) are in another directory,
1920
# add these directories to sys.path here. If the directory is relative to the
@@ -100,14 +101,14 @@
100101
# A string of reStructuredText that will be included at the beginning of every
101102
# source file that is read.
102103
rst_prolog = (
103-
# For fill-in-the-blank questions, provide a convenient means to indicate a blank.
104-
"""
104+
# For fill-in-the-blank questions, provide a convenient means to indicate a blank.
105+
"""
105106
106107
.. |blank| replace:: :blank:`x`
107108
"""
108109

109-
# For literate programming files, provide a convenient way to refer to a source file's name. See `runestone.lp.lp._docname_role`.
110-
""".. |docname| replace:: :docname:`name`
110+
# For literate programming files, provide a convenient way to refer to a source file's name. See `runestone.lp.lp._docname_role`.
111+
""".. |docname| replace:: :docname:`name`
111112
"""
112113
)
113114

@@ -156,7 +157,8 @@
156157
html_theme = 'sphinx_bootstrap'
157158

158159
# If using a non-sphinx theme, the path to the theme folder must be in this list
159-
html_theme_path = [pkg_resources.resource_filename('runestone', 'common/project_template/_templates/plugin_layouts')]
160+
html_theme_path = [pkg_resources.resource_filename(
161+
'runestone', 'common/project_template/_templates/plugin_layouts')]
160162

161163
# To override individual templates from the theme, you can make a directory and add its path
162164
# relative to this file to the templates_path list. In it, place copies of any template files
@@ -216,7 +218,7 @@
216218
# relative to this directory. They are copied after the builtin static files,
217219
# so a file named "default.css" will overwrite the builtin "default.css".
218220
# Example: html_static_path = runestone_static_dirs() + ['_static', 'other']
219-
html_static_path = runestone_static_dirs()
221+
html_static_path = ["_sources/_static"] + runestone_static_dirs()
220222

221223
# List of extra stylesheets that should be added to all html pages
222224
# Files must be on a path contained in html_static_path
@@ -234,7 +236,7 @@
234236
html_title = 'Runestone Interactive Overview'
235237

236238
# A shorter title for the navigation bar. Default is the same as html_title.
237-
html_short_title ='Runestone Interactive Overview'
239+
html_short_title = 'Runestone Interactive Overview'
238240

239241
# Logo is included at the top of the page
240242
#html_logo = "../source/_static/logo_small.png"
@@ -281,7 +283,7 @@
281283
# It True, sets js files from Sphinx & Runestone to be loaded with defer attr
282284
# substantially speeding up page rendering. May cause issues with books that
283285
# have custom directives or raw html that assume jquery or another library
284-
# is loaded before body is parsed.
286+
# is loaded before body is parsed.
285287
html_defer_js = True
286288

287289
# Output file base name for HTML help builder.

0 commit comments

Comments
 (0)