Skip to content

Commit

Permalink
Use mystnb for notebook rendering (#332)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Zhu <[email protected]>
  • Loading branch information
jackgerrits and ekzhu authored Aug 7, 2024
1 parent ecde17a commit 9f0bdb1
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,5 @@ jobs:
- uses: actions/checkout@v4
- name: Install Hatch
uses: pypa/hatch@install
- name: Install Pandoc
run: sudo apt-get install pandoc
- run: hatch run docs:check
working-directory: ./python
2 changes: 0 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
uses: actions/checkout@v4
- name: Install Hatch
uses: pypa/hatch@install
- name: Install Pandoc
run: sudo apt-get install pandoc
- run: hatch run docs:build
working-directory: ./python
- name: Upload artifact
Expand Down
4 changes: 0 additions & 4 deletions python/docs/src/_static/css/custom.css

This file was deleted.

3 changes: 1 addition & 2 deletions python/docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"sphinxcontrib.apidoc",
"myst_nb",
"sphinx.ext.intersphinx",
"IPython.sphinxext.ipython_console_highlighting",
]

apidoc_module_dir = "../../src/agnext"
Expand Down Expand Up @@ -51,7 +50,7 @@
html_title = "AGNext"

html_theme = "furo"
html_static_path = ["_static"]
html_static_path = []

html_theme_options = {
"source_repository": "https://github.com/microsoft/agnext",
Expand Down
3 changes: 1 addition & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ dependencies = [
"furo",
"sphinxcontrib-apidoc",
"myst-nb",
"sphinx-autobuild",
"Ipython",
"sphinx-autobuild"
]

[tool.hatch.envs.docs.scripts]
Expand Down

0 comments on commit 9f0bdb1

Please sign in to comment.