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

Commit c2a51ff

Browse files
authored
Merge pull request #1256 from bjones1/docs_update
Docs update
2 parents 85f3759 + 02009d9 commit c2a51ff

9 files changed

Lines changed: 58 additions & 29 deletions

File tree

index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Components
2424
runestone/*/toctree
2525
runestone/__init__.py
2626
runestone/__main__.py
27+
runestone/conftest.py
28+
runestone/shared_conftest.py
2729
runestone/unittest_base.py
2830

2931

@@ -35,6 +37,7 @@ Packaging
3537
setup.py
3638
setup.cfg
3739
MANIFEST.in
40+
webpack.config.js
3841

3942
Misc
4043
====
@@ -44,11 +47,11 @@ Misc
4447
ACKNOWLEDGEMENTS
4548
.github/FUNDING.yml
4649
.gitignore
50+
.github/workflows/python-package.yml
4751
.readthedocs.yml
4852
conf.py
4953
codechat_config.yaml
5054
requirements-dev.in
5155
requirements.in
52-
webpack.config.js
5356
public/index.html
5457
makeRelease.sh

runestone/activecode/toctree.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
*************************************************
2-
ActiveCode
2+
ActiveCode - Run code in the browser
33
*************************************************
4+
See the `overview <https://runestone.academy/runestone/books/published/overview/ActiveCode/toctree.html>`_.
5+
46
.. toctree::
57
:maxdepth: 1
68
:glob:

runestone/assignment/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# ***********************************************
2+
# |docname| - Define the ``assignment`` directive
3+
# ***********************************************
4+
#
15
# Copyright (C) 2015 Paul Resnick
26
#
37
# This program is free software: you can redistribute it and/or modify

runestone/assignment/toctree.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
*************************************************
2-
Accessibility
3-
*************************************************
1+
**************************************************
2+
Assignment - directives for creating an assignment
3+
**************************************************
44
.. toctree::
55
:maxdepth: 1
6-
:glob:
76

8-
*.py
9-
js/*.js
10-
css/*.css
11-
test/test_*.py
7+
__init__.py

runestone/blockly/toctree.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
*************************************************
2-
Accessibility
3-
*************************************************
1+
********************************************************
2+
Blockly - Embed block-based code generation in Runestone
3+
********************************************************
4+
Warning: This component is deprecated. Do not use it in new books.
5+
46
.. toctree::
57
:maxdepth: 1
68
:glob:
79

10+
README
811
*.py
9-
js/*.js
10-
css/*.css
11-
test/test_*.py

runestone/fitb/fitb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# *********
2-
# |docname|
3-
# *********
1+
# ******************************************************************
2+
# |docname| - Provide Sphinx support for fill-in-the-blank questions
3+
# ******************************************************************
44
#
55
# .. Copyright (C) 2013 Bradley N. Miller
66
#

runestone/mchoice/assess.py

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,25 @@ def run(self):
8585

8686

8787
class QuestionNumber(RunestoneDirective):
88-
"""Set Parameters for Question Numbering
89-
.. qnum::
90-
'prefix': character prefix before the number
91-
'suffix': character prefix after the number
92-
'start': start numbering with this value
93-
94-
.. qnum::
95-
:prefix: turtle-
96-
:start: 10
88+
"""
89+
Set Parameters for Question Numbering:
90+
91+
.. code-block:: rst
92+
:linenos:
93+
94+
.. qnum::
95+
'prefix': character prefix before the number
96+
'suffix': character prefix after the number
97+
'start': start numbering with this value
98+
99+
For example:
100+
101+
.. code-block:: rst
102+
:linenos:
103+
104+
.. qnum::
105+
:prefix: turtle-
106+
:start: 10
97107
"""
98108

99109
required_arguments = 0
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
*************************************************
2+
Dynamic Questions
3+
*************************************************
4+
See the `overview book <https://runestone.academy/runestone/books/published/overview/Containers/dynamic.html>`_ for user documentation.
5+
6+
.. toctree::
7+
:maxdepth: 1
8+
:glob:
9+
10+
*.py
11+
js/*.js
12+
css/*.css

runestone/timed/toctree.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
*************************************************
2-
Accessibility
2+
Timed Exam Questions
33
*************************************************
4+
See the `overview book <https://runestone.academy/runestone/books/published/overview/Assessments/timed.html>`_ for user documentation.
5+
46
.. toctree::
57
:maxdepth: 1
68
:glob:

0 commit comments

Comments
 (0)