Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
4da8963
build: use nox to build docs
12rambau Jan 31, 2023
3dca0af
build: customize rdt build process
12rambau Jan 31, 2023
5bd3f81
build: add nodejs to readthedocs env
12rambau Jan 31, 2023
890a152
build: add jupyterlab
12rambau Jan 31, 2023
8939333
build: add jupyterlab
12rambau Jan 31, 2023
cf1497c
Merge branch 'master' into nox
12rambau Feb 26, 2023
24d04d4
Update setup.py
12rambau Feb 26, 2023
4838cdf
build: install the complete jupyter suite
12rambau Mar 30, 2023
59e9547
Merge branch 'master' into nox
12rambau Mar 30, 2023
c6e82af
remove .vscode folder
12rambau Mar 30, 2023
a0bb58c
Merge branch 'master' into nox
12rambau Apr 4, 2023
de92737
docs: update ubuntu version in rdt
12rambau Apr 4, 2023
1537d98
fix: adapt node version to package-lock
12rambau Apr 4, 2023
16db555
fix: use python -m instead of the standalone pip
12rambau Apr 4, 2023
9e945d4
Merge branch 'master' into nox
12rambau Apr 4, 2023
6f939e1
build: update package-lock to 1.8.6
12rambau Apr 4, 2023
6a570d7
Merge branch 'master' into nox
maartenbreddels Apr 12, 2023
e581331
more dependencies for building the docs
maartenbreddels Apr 12, 2023
3d482f2
build: more packaging information for doc build
12rambau Apr 12, 2023
60111df
execute a simple test in the doc
12rambau Apr 12, 2023
8284cfd
build: update pre-build positioning
12rambau Apr 12, 2023
39fa3d3
build: test another one
12rambau Apr 12, 2023
5429787
build: back to pre-build"
12rambau Apr 12, 2023
b7acbd0
build: manually add jupyter_core
12rambau Apr 12, 2023
98e6edd
it seems jupyterlab still need to be there to trigger the build
12rambau Apr 17, 2023
2170467
Merge branch 'master' into nox
12rambau Apr 17, 2023
c7821cc
build: ipyvuetify is now build in isolation
12rambau Apr 17, 2023
d383503
Merge remote-tracking branch 'upstream/master' into nox
mariobuikhuizen Aug 21, 2023
d97f83b
fix: resolve conflict with master
mariobuikhuizen Aug 21, 2023
d93d6d1
Merge branch 'master' into nox
12rambau Aug 22, 2023
4268fa9
fix: remove jupyter related install jobs
12rambau Aug 22, 2023
bad022b
fix: add missing extention
12rambau Aug 22, 2023
6fcd9a0
fix: add ipykernel to docs dependencies
12rambau Aug 22, 2023
27adc11
build: upper bounds to sphinx 7 as they deprecated style
12rambau Aug 22, 2023
d0f663a
refactor: remove blank line
12rambau Aug 22, 2023
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ ipyvuetify/labextension/
ipyvuetify/nbextension/
js/lib

# Unit test / coverage reports
.nox

# Sphinx documentation
docs/_build/

Expand Down
24 changes: 24 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# build with latest available ubuntu version
build:
os: ubuntu-20.04
tools:
python: "3.10"
nodejs: "16"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- doc
20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["jupyter_sphinx.execute", "sphinx_rtd_theme"]
extensions = ["jupyter_sphinx", "sphinx_rtd_theme"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down
35 changes: 0 additions & 35 deletions docs/make.bat

This file was deleted.

22 changes: 22 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
"""
All the process that can be run using nox.

The nox run are build in isolated environment that will be stored in .nox. to force the venv update, remove the .nox/xxx folder.
"""

import nox


@nox.session(reuse_venv=True)
def lint(session):
"""Apply the pre-commits."""
session.install("pre-commit")
session.run("pre-commit", "run", "-a", *session.posargs)


@nox.session(reuse_venv=True)
def docs(session):
"""Build the documentation."""
session.install("jupyter-packaging", "jupyterlab")
session.install(".[doc]")
session.run("sphinx-build", "-v", "-b", "html", "docs", "docs/_build/html")
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ content-type = "text/markdown"
[project.optional-dependencies]
dev = ["nox", "pre-commit", "mypy"]
test = ["pytest", "pytest-playwright", "jupyterlab<4", "solara[pytest]"]
doc = ["sphinx"]
doc = ["sphinx<7", "jupyter-sphinx", "ipykernel"]

[tool.setuptools]
include-package-data = true
Expand Down