Skip to content

A programming framework for agentic AI

Use mystnb for notebook rendering (#332)

Jack Gerrits9f0bdb154c7d
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index bc3cf556e..9101fe646 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -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
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index b61464217..4231af2a3 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -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
diff --git a/python/docs/src/_static/css/custom.css b/python/docs/src/_static/css/custom.css
deleted file mode 100644
index dbe12691c..000000000
--- a/python/docs/src/_static/css/custom.css
+++ /dev/null
@@ -1,4 +0,0 @@
-.nbinput .prompt,
-.nboutput .prompt {
- display: none;
-}
\ No newline at end of file
diff --git a/python/docs/src/conf.py b/python/docs/src/conf.py
index 6a00cd18e..fc5befd29 100644
--- a/python/docs/src/conf.py
+++ b/python/docs/src/conf.py
@@ -20,7 +20,6 @@ extensions = [
"sphinxcontrib.apidoc",
"myst_nb",
"sphinx.ext.intersphinx",
- "IPython.sphinxext.ipython_console_highlighting",
]
apidoc_module_dir = "../../src/agnext"
@@ -51,7 +50,7 @@ myst_heading_anchors = 5
html_title = "AGNext"
html_theme = "furo"
-html_static_path = ["_static"]
+html_static_path = []
html_theme_options = {
"source_repository": "https://github.com/microsoft/agnext",
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 488c3d4f3..f489ff53f 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -90,8 +90,7 @@ dependencies = [
"furo",
"sphinxcontrib-apidoc",
"myst-nb",
- "sphinx-autobuild",
- "Ipython",
+ "sphinx-autobuild"
]
[tool.hatch.envs.docs.scripts]