Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: add a doctest step to CI to allow writing testable code blocs, fix existing docstring code examples errors #592

Merged
merged 7 commits into from
Jan 9, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test
Valentin-Laurent committed Jan 9, 2025
commit 6d268c92de62f186cef2d6c740a370cf0a3588ac
30 changes: 0 additions & 30 deletions .github/workflows/doctest.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -4,6 +4,9 @@ build:
os: ubuntu-22.04
tools:
python: "mambaforge-22.9"
jobs:
post_build:
- cd doc && make doctest

python:
install:
@@ -14,8 +17,6 @@ conda:
environment: environment.doc.yml

sphinx:
builder:
- html
- doctest
builder: html
configuration: doc/conf.py
fail_on_warning: false