Skip to content
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
29 changes: 14 additions & 15 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
version: 2
version: 2

build:
build:
os: ubuntu-24.04
tools:
python: "3.13"
python: latest
jobs:
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs

mkdocs:
configuration: mkdocs.yml
fail_on_warning: false
# We recommend using a requirements file for reproducible builds.
# This is just a quick example to get started.
# https://docs.readthedocs.io/page/guides/reproducible-builds.html
install:
- pip install zensical
build:
html:
- zensical build
post_build:
- mkdir -p $READTHEDOCS_OUTPUT/html/
- cp --recursive site/* $READTHEDOCS_OUTPUT/html/
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build: clean
# Build docs
[group('Build')]
build-docs: clean
uv run mkdocs build
uv run zensical build


# Static analysis
Expand Down Expand Up @@ -63,4 +63,4 @@ version:
tag:
echo "Tagging version v{{ VERSION }}"
git tag -a v{{ VERSION }} -m "Creating version v{{ VERSION }}"
git push origin v{{ VERSION }}
git push origin v{{ VERSION }}
39 changes: 0 additions & 39 deletions docs/js/readthedocs.js

This file was deleted.

28 changes: 0 additions & 28 deletions mkdocs.yml

This file was deleted.

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ dev = [
"ruff>=0.12.11",
]
docs = [
"mkdocs>=1.6.1",
"mkdocs-material>=9.7.0",
"pyyaml-env-tag>=1.1",
"zensical>=0.0.44",
]

[tool.mypy]
Expand Down
Loading
Loading