Skip to main content

sphinx-exercise

Documentation Status Github-CI Coverage Status

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 ref and numref roles
  • 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.

Metadata

Release files for sphinx-exercise 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-exercise 1.2.1
File Size Uploaded
sphinx_exercise-1.2.1.tar.gz 572.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-exercise 1.2.1
File Interpreter ABI Platform
sphinx_exercise-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 618.4 kB

Release files / sphinx_exercise-1.2.1.tar.gz

Download URL sphinx_exercise-1.2.1.tar.gz
Size 572.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3cfb46b8fc4bbc8e6955f0064128a54d3f3895579591a5219d891eedf11c7108
BLAKE2b-256 checksum
How to use checksums
d1d5709f31d46b601caa3301ab8551c67351e1a483105805a6065bf8a033c5f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / sphinx_exercise-1.2.1-py3-none-any.whl

Download URL sphinx_exercise-1.2.1-py3-none-any.whl
Size 46.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8e5e470f5a3654a52f74528de5fade87df055bd0eacf4f607d355ea2558ff04
BLAKE2b-256 checksum
How to use checksums
4d95af014c5eb8e804103471bcf3204ebfe6a674d8bae07e5c2b691c09183b9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page