Skip to content
Open
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
9 changes: 1 addition & 8 deletions .github/workflows/html-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,7 @@ jobs:
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install .
- name: Install docs dependencies
env:
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install -r doc/requirements.txt
$PIP install --group doc .
- name: Build HTML
env:
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,7 @@ jobs:
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install .
- name: Install docs dependencies
env:
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install -r doc/requirements.txt
$PIP install --group doc .
- name: Check links
env:
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/version-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,7 @@ jobs:
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install .
- name: Install docs dependencies
env:
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install -r doc/requirements.txt --upgrade-strategy only-if-needed
$PIP install --group doc .
- name: Run Sphinx (HTML)
env:
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
Expand Down
13 changes: 6 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
build:
os: ubuntu-22.04
os: "ubuntu-24.04"
tools:
python: "3"
apt_packages:
Expand All @@ -11,12 +11,11 @@ build:
jobs:
post_checkout:
- git fetch --unshallow || true
python:
install:
- requirements: doc/requirements.txt
- method: pip
path: .
- requirements: doc/fallback_theme.txt
install:
- pip install --upgrade pip
- pip install --group doc .
# fallback theme:
- pip install insipid-sphinx-theme
sphinx:
configuration: doc/conf.py
formats: all
1 change: 0 additions & 1 deletion doc/fallback_theme.txt

This file was deleted.

57 changes: 56 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
[build-system]
requires = ["setuptools >= 40.8.0"]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "nbsphinx"
license = "MIT"
dynamic = ["version"]
description = "Jupyter Notebook Tools for Sphinx"
readme = "README.rst"
keywords = ["Sphinx", "Jupyter", "notebook"]
authors = [{ name = "Matthias Geier", email = "[email protected]" }]
classifiers = [
"Framework :: Sphinx",
"Framework :: Sphinx :: Extension",
"Framework :: Jupyter",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Documentation :: Sphinx",
]
requires-python = ">=3.8"
dependencies = [
"docutils>=0.18.1",
"jinja2",
"nbconvert>=5.3,!=5.4",
"nbformat",
"sphinx>=1.8,!=8.2.0,!=8.2.1",
"traitlets>=5",
]

[project.urls]
Documentation = "https://nbsphinx.readthedocs.io/"
Repository = "https://github.com/spatialaudio/nbsphinx/"
Issues = "https://github.com/spatialaudio/nbsphinx/issues/"

[dependency-groups]
dev = [{ include-group = "test" }, { include-group = "doc" }]
test = []
doc = [
"ipykernel",
"numpy",
"matplotlib",
"ipympl",
"pandas",
"xarray",
"sphinxcontrib-bibtex>=2.1",
"sphinxcontrib-svg2pdfconverter",
"ipywidgets",
"jupytext",
"sphinx-last-updated-by-git",
"sphinx-codeautolink",
]

[tool.setuptools.dynamic]
version = { attr = "nbsphinx.__version__" }
58 changes: 0 additions & 58 deletions setup.py

This file was deleted.

Loading
Loading