Skip to content
Closed
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
1 change: 0 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
python-version: "3.x"
- uses: astral-sh/setup-uv@v5
- uses: actions/checkout@v4
- run: sudo apt-get install -y gettext
- run: uv run generate.py # generates "index.html"
- run: mkdir -p build && cp index.html style.css build
- name: Deploy 🚀
Expand Down
21 changes: 7 additions & 14 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,10 @@ build:
os: ubuntu-24.04
tools:
python: "3"
apt_packages:
- gettext
jobs:
post_checkout: []
install:
- asdf plugin add uv
- asdf install uv latest
pre_build:
- asdf global uv latest
build:
html:
- uv run generate.py
- mkdir -p _readthedocs/html
- mv index.html style.css _readthedocs/html
commands:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv run generate.py
- mkdir -p _readthedocs/html
- mv index.html style.css _readthedocs/html
3 changes: 3 additions & 0 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# "requests",
# "docutils",
# ]
#
# [tool.uv.sources]
# potodo = { git = "https://git.afpy.org/maciek/potodo.git", branch = "merge-with-polib" }
# ///
import subprocess
from collections.abc import Iterator
Expand Down
Loading