You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ Our goal is to have unit tests which rely on Selenium (a library that helps simu
162
162
163
163
**To run tests:**
164
164
165
-
* Make sure the directory containing the PhantomJS executable is in your ``PATH`` environment variable. e.g. ``PATH=$PATH:path/to/virtualenv/directory/where/it/is/here`` at your command line (or edit your ``.bash_profile``). It should live in the site-packages/selenium/webdriver/ directory of your virtualenv.
165
+
* Make sure the directory containing the ChromeDriver executable is in your ``PATH`` environment variable. e.g. ``PATH=$PATH:path/to/chromedriver`` at your command line (or edit your ``.bash_profile``).
166
166
167
167
* Check out the existing tests, e.g. the ``test_question.py`` file that tests the Question directive, which you can find at the path ``/runestone/question/test/test_question.py``, for an example.
# This file defines the configuration for a CodeChat project. It contains a working `Sphinx <https://www.sphinx-doc.org/>`_ configuration.
23
+
#
24
+
# ``source_path``: optional; defaults to ``.`` (the current directory). A path to the root of the source tree. Relative paths are rooted in the directory containing this configuration file.
25
+
source_path: .
26
+
27
+
# ``output_path``: required. A path to the root of the HTML output produced by this renderer. Relative paths are rooted in the directory containing this configuration file.
28
+
output_path: build/RunestoneComponents
29
+
30
+
# ``args``: required string or sequence of strings. This provides the arguments to invoke the renderer. These strings may optionally contain the following replacement values:
31
+
#
32
+
# - ``{project_path}``: an absolute path to the directory containing this file.
33
+
# - ``{source_path}``: the ``source_path`` above, but as an absolute path.
34
+
# - ``{output_path}``: the ``output_path`` above, but as an absolute path.
35
+
#
36
+
args: runestone build
37
+
38
+
# ``html_ext``: optional; defaults to ``.html``. The extension used by this renderer when generating HTML files.
Copy file name to clipboardExpand all lines: runestone/common/project_template/_sources/index.rst
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,16 +84,14 @@ Now feel free to modify this file to start creating your own interactive page.
84
84
Section 4: Theme
85
85
:::::::::::::::::::
86
86
87
-
You can override the style rules in the default theme by adding css rules to a file named **theme-overrides.css** (the filename is important - this will replace an existing file). Make sure the file's directory is part of the ``html_static_path``. You can do so by placing it in a folder **_static**, then modifying ``html_static_path`` in conf.py to include that folder:
You can add your own CSS or JS files to every page of a book by modifying ``setup.custom_css_files`` or ``setup.custom_js_files`` in conf.py.
92
88
89
+
If you want to do more significant changes to the theme, you should copy the files you wish to modify from
90
+
the runestone/common/project/template/sphinx_bootstrap to a directory like ``_templates/``. Then make sure
91
+
the ``templates_path`` points to them in your conf.py.
93
92
94
-
If you want to do more significant changes to the theme, you should copy the files in the runestone/common/project/template/sphinx_bootstrap to a directory like ``_templates/my_theme``. Then make sure these values are set in conf.py:
0 commit comments