mirror of
https://github.com/Cian-H/read_aconity_layers.git
synced 2025-12-22 18:31:56 +00:00
Attempt to fix readthedocs by delegating build to just
This commit is contained in:
@@ -10,9 +10,10 @@ build:
|
||||
- asdf plugin add poetry
|
||||
- asdf install poetry latest
|
||||
- asdf global poetry latest
|
||||
- asdf plugin add just
|
||||
- asdf install poetry just
|
||||
- asdf global poetry just
|
||||
create_environment:
|
||||
- poetry lock
|
||||
- poetry install --with dev,docs
|
||||
- poetry run maturin develop
|
||||
install:
|
||||
- export PATH="$PATH:$HOME/.asdf/installs/rust/1.86.0/bin" && cargo install sphinx-rustdocgen && poetry run sphinx-build -b html docs $READTHEDOCS_OUTPUT/html
|
||||
- PATH="$PATH:$HOME/.asdf/installs/rust/1.86.0/bin" just html_out $READTHEDOCS_OUTPUT
|
||||
|
||||
@@ -35,6 +35,9 @@ html sphinxbuild=_sphinxbuild sourcedir=_sourcedir builddir=_builddir sphinxopts
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in {{builddir}}/html."
|
||||
|
||||
# Build HTML for with a specific out directory
|
||||
html_out builddir=_builddir: (html _sphinxbuild _sourcedir builddir _sphinxopts)
|
||||
|
||||
# Build and serve documentation locally
|
||||
serve sphinxbuild=_sphinxbuild sourcedir=_sourcedir builddir=_builddir sphinxopts=_sphinxopts: (html sphinxbuild sourcedir builddir sphinxopts)
|
||||
@echo "Serving documentation at http://localhost:8000"
|
||||
|
||||
Reference in New Issue
Block a user