Skip to content

Commit

Permalink
Temporary fix for staging-docs build
Browse files Browse the repository at this point in the history
'pulp-docs build' can't be called from inside a folder called
pulpcore, regardless of it being the pulpcore repostiory or
an arbitrary folder.

[noissue]
  • Loading branch information
pedro-psb committed Mar 28, 2024
1 parent 273d547 commit ec6aebb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/scripts/build_all_docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# This script builds the documentation site for staging-docs.pulpproject.org

# TODO: this chdir move is a tmp workaround. Remove when no longer needed.
# see: https://github.com/mkdocstrings/python/issues/145
mkdir ../build_dir && pushd ../build_dir

pip install git+https://github.com/pulp/pulp-docs.git
pulp-docs build
tar cvf staging-docs.pulpproject.org.tar ./site
tar cvf ../pulpcore/staging-docs.pulpproject.org.tar site

popd

0 comments on commit ec6aebb

Please sign in to comment.