A Sphinx extension for producing exercises and solutions.
Project description
sphinx-exercise
An exercise extension for Sphinx.
This package contains a Sphinx extension for producing exercise and solution directives.
Features
- Automatic numbering for exercises and solutions
- Cross-referencing support with
refandnumrefroles - Internationalization support for 27 languages including Chinese, Japanese, Korean, Arabic, Hindi, and more
- HTML and PDF output support
- Gated directive syntax for including executable code and complex content
- Customizable styling with class options and hidden directive support
Get started
To get started with sphinx-exercise, first install it through pip:
pip install sphinx-exercise
then, add sphinx_exercise to your sphinx extensions in the conf.py
...
extensions = ["sphinx_exercise"]
...
Documentation
See the Sphinx Exercise documentation for more information.
Contributing
We welcome all contributions! See the EBP Contributing Guide for general details, and below for guidance specific to sphinx-exercise.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_exercise-1.2.1.tar.gz.
File metadata
- Download URL: sphinx_exercise-1.2.1.tar.gz
- Upload date:
- Size: 572.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cfb46b8fc4bbc8e6955f0064128a54d3f3895579591a5219d891eedf11c7108
|
|
| MD5 |
2655971672e563797cc3b34ba1d961a6
|
|
| BLAKE2b-256 |
d1d5709f31d46b601caa3301ab8551c67351e1a483105805a6065bf8a033c5f0
|
File details
Details for the file sphinx_exercise-1.2.1-py3-none-any.whl.
File metadata
- Download URL: sphinx_exercise-1.2.1-py3-none-any.whl
- Upload date:
- Size: 46.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8e5e470f5a3654a52f74528de5fade87df055bd0eacf4f607d355ea2558ff04
|
|
| MD5 |
2f18ef300d21c3f9416f3d0ff98b9e7b
|
|
| BLAKE2b-256 |
4d95af014c5eb8e804103471bcf3204ebfe6a674d8bae07e5c2b691c09183b9f
|