Merge pull request #26 from HideyoshiNakazone/feature/add-doc
Fix ReadTheDocs Config File
This commit was merged in pull request #26.
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
version: 2
|
||||
|
||||
# Specify os and python version
|
||||
build:
|
||||
os: ubuntu-22.04
|
||||
os: "ubuntu-24.04"
|
||||
tools:
|
||||
python: "3.10"
|
||||
|
||||
python: "3.12"
|
||||
jobs:
|
||||
pre_build:
|
||||
- curl -Ls https://astral.sh/uv/install.sh | sh
|
||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||
- uv sync
|
||||
|
||||
build:
|
||||
- cd docs
|
||||
- make html
|
||||
create_environment:
|
||||
- asdf plugin add uv
|
||||
- asdf install uv latest
|
||||
- asdf global uv latest
|
||||
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras
|
||||
install:
|
||||
- "true"
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
configuration: docs/source/conf.py
|
||||
|
||||
# Optionally build your docs in additional formats such as PDF and ePub
|
||||
formats: all
|
||||
Reference in New Issue
Block a user