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

User myst-nb for notebook rendering #464

Merged
merged 9 commits into from
Apr 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ jobs:
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: env setup
run: |
python -m pip install graphviz nbsite sphinx_holoviz_theme "nbconvert <=5.3.1"
python -m pip install graphviz myst_parser pydata-sphinx-theme "nbconvert <6.0" "myst-nb"
python -m pip install nbsite --pre
python -m pip install -e .
- name: build docs
run: |
python -m nbsite generate-rst --org pyviz --repo param --project-name param
mkdir doc/Reference_Manual && nbsite_generate_modules.py param -d ./doc/Reference_Manual -n param -e tests
cp examples/user_guide/*.ipynb doc/user_guide/
python -m nbsite build --examples-assets='' --org holoviz --project-name param
- name: Deploy dev
uses: peaceiris/actions-gh-pages@v3
Expand Down
97 changes: 0 additions & 97 deletions doc/Reference_Manual/index.rst

This file was deleted.

2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
param.parameterized.docstring_signature = False
param.parameterized.docstring_describe_params = False

extensions.append("myst_parser")
extensions += ["myst_nb"]

nbbuild_cell_timeout = 600

Expand Down
16 changes: 0 additions & 16 deletions doc/user_guide/Simplifying_Codebases.rst

This file was deleted.

1 change: 1 addition & 0 deletions doc/user_guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ This user guide provides a detailed introduction to the API and features of Para
---
hidden: true
---
Overview <index>
Simplifying Codebases <Simplifying_Codebases>
```
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def get_setup_version(reponame):
'nbsite >=0.6.1',
'pydata-sphinx-theme',
'myst-parser',
'nbconvert <0.6'
'nbconvert <6.0',
'myst_nb'
]
}

Expand Down