Sphinx extension for CodeRefinery lessons
Project description
This is a Sphinx extension for software-carpentry style lessons. It is designed as a replacement for the Jekyll-based software templates.
Features
Sphinx, including power from all of its extensions.
ReST
Markdown via the myst_parser parser, so has access to all Sphinx directives natively
Jupyter as a source format, including executing the notebook (via myst_nb).
Automatically building via Github Actions and automatic deployment to Github Pages. Included workflow file builds all branches, so you can also preview pull requests.
Directives for exercises/prereq/etc, works in both ReST and md.
The Sphinx part can be separated into a separately installable and versionable Python package, so we don’t need git sub-modules.
Execute code cells in markdown (via myst_nb).
Consists of sub-extensions for substitutions. Adding sphinx_lesson as an extension will bring in these:
sphinx_lesson.directives (the core directives)
sphinx_lesson.md_transforms (reprocess some other markdown format into myst_nb format)
myst_nb (not developed by us)
Status
In beta use by CodeRefinery and active development. External users would be fine (but let us know so we know to keep things stable).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sphinx_lesson-0.8.0.tar.gz
.
File metadata
- Download URL: sphinx_lesson-0.8.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e91989a63d55f0935ea1e935aa8bdd12ec560c6166a006acb787e5d6a2dc9f7 |
|
MD5 | 3211d46028b9303c57f4e2a0724c470a |
|
BLAKE2b-256 | a9a8537c2b6117c20040cd1f67b467baab2f85f2e11dee26576b35de43b62cae |
Provenance
File details
Details for the file sphinx_lesson-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: sphinx_lesson-0.8.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22e7894f20ebb53f7faa750ba1c498624776b7da9d325555f4c6454a958ac23b |
|
MD5 | c16e012e9f922139e759a71a19116a6d |
|
BLAKE2b-256 | 458bce7666343dac178c0a5574a5804ca1058526d16cc9a2b5b4b731e8b8b585 |