Skip to content
Merged
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
6 changes: 3 additions & 3 deletions doc/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ build:
python: "3.12"
commands:
- git fetch --unshallow || true
- cd doc && make integrate
- cd doc/integration/lxd/ && go build -ldflags "-s -w" -o trimpath -o lxc.bin ./lxc
- cd doc && make GOTOOLCHAIN=auto integrate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means we still have to update the golang: "1.25" line above once we go to 1.26 if I understand correctly. But it ensures the right patch version is picked. LGTM.

- cd doc/integration/lxd/ && GOTOOLCHAIN=auto go build -ldflags "-s -w" -o trimpath -o lxc.bin ./lxc
# Pretend that woke is installed - we don't need it for building
# (workaround until https://github.com/canonical/microovn/pull/168 is merged
# and https://github.com/canonical/microceph/pull/400 is restored)
- ln -s /bin/true doc/integration/microovn/docs/woke
- ln -s /bin/true doc/integration/microceph/docs/woke
- make doc-html-rtd PATH=$PATH:.
- make GOTOOLCHAIN=auto doc-html-rtd PATH=$PATH:.

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
Loading