Skip to content

Commit

Permalink
Merge pull request #308 from simondeziel/smaller-doc
Browse files Browse the repository at this point in the history
Remove doc build artifacts
  • Loading branch information
tomponline authored Feb 8, 2024
2 parents 7d65130 + fa9b670 commit ccd35d4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,14 @@ parts:
# Build the static website
make doc
# Copy the static website
# Remove unneeded bits
rm doc/html/objects.inv # only objects.inv.txt is used
# not needed once built
rm doc/html/.buildinfo
rm -rf doc/html/_sphinx_design_static/
rm -rf doc/html/_sources/
# Stage the static website
mkdir -p "${CRAFT_STAGE}/share/lxd-documentation"
cp -a doc/html/. "${CRAFT_STAGE}/share/lxd-documentation/"
fi
Expand Down

0 comments on commit ccd35d4

Please sign in to comment.