Skip to content

Commit

Permalink
snapcraft: lxd docs are now under doc/_build/
Browse files Browse the repository at this point in the history
Since canonical/lxd#13537

Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 0dd5da4)
  • Loading branch information
simondeziel authored and tomponline committed Jun 7, 2024
1 parent 471cdee commit 256a067
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1411,14 +1411,14 @@ parts:
make doc
# Remove unneeded bits
rm doc/html/objects.inv # only objects.inv.txt is used
rm doc/_build/objects.inv # only objects.inv.txt is used
# not needed once built
rm doc/html/.buildinfo
rm -rf doc/html/_sphinx_design_static/
rm doc/_build/.buildinfo
rm -rf doc/_build/_sphinx_design_static/
# Stage the static website
mkdir -p "${CRAFT_STAGE}/share/lxd-documentation"
cp -a doc/html/. "${CRAFT_STAGE}/share/lxd-documentation/"
cp -a doc/_build/. "${CRAFT_STAGE}/share/lxd-documentation/"
fi
# Setup bash completion
Expand Down

0 comments on commit 256a067

Please sign in to comment.