Skip to content

Commit

Permalink
fix: pin nbconvert <7.14 to re-run examples (#393)
Browse files Browse the repository at this point in the history
Signed-off-by: ThibaultFy <thibault.fouqueray@gmail.com>
  • Loading branch information
ThibaultFy authored Feb 29, 2024
1 parent 74b145c commit 2d88e7d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install requirements
run: |
pip install -r docs/doc-requirements.txt
pip install -r requirements.txt
- name: Sphinx make
working-directory: ./docs
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Rename `predictions_path` to `predictions` in metrics ([#376](https://github.com/Substra/substra-documentation/pull/376))
- Pass `metric_functions` to `Strategy` instead to `TestDataNodes` ([#376](https://github.com/Substra/substra-documentation/pull/376))

### Added

- Pin `nbconvert` to 7.13 to reactivate examples run when building (cf issue https://github.com/spatialaudio/nbsphinx/issues/776) ([#393](https://github.com/Substra/substra-documentation/pull/393))

## [0.35.0]

### Added
Expand Down
3 changes: 2 additions & 1 deletion docs/doc-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ sphinx-copybutton==0.5.2
pyyaml==6.0
nbsphinx==0.9.3
pandoc==2.3
git-python==1.0.3
git-python==1.0.3
nbconvert<7.14
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ dependencies:
- pandoc=3.1
- pip
- pip:
- -r doc-requirements.txt
- -r ../requirements.txt
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def __call__(self, directory):
"""

nbsphinx_epilog = nbsphinx_prolog
nbsphinx_execute = "never"


# zip the assets directory found in the examples directory and place it in the current dir
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-r docs/docs-requirements.txt
-r docs/doc-requirements.txt
-r examples_requirements.txt

0 comments on commit 2d88e7d

Please sign in to comment.