docs: fix howto

This commit is contained in:
RhodeCode Admin 2025-07-03 21:23:33 +02:00
parent c43a29d3d3
commit 781604b368

View file

@ -1,6 +1,10 @@
## BUILD ## BUILD Image for building docs and push to rhodecode registry
# cd docs
# docker build --tag sphinx-doc-build-rc . cd docs
docker buildx build --platform linux/amd64 --tag rhodecode/sphinx-doc-build .
# Build Docs # Build Docs
# cd .. && docker run --rm -v $(pwd):/project --workdir=/project/docs sphinx-doc-build-rc make clean html # run from the project root dir; not docs dir
docker run --rm -v $PWD:/project --workdir=/project/docs rhodecode/sphinx-doc-build make clean html SPHINXOPTS="-W"