docs: fix howto
This commit is contained in:
parent
c43a29d3d3
commit
781604b368
1 changed files with 8 additions and 4 deletions
12
docs/.howto
12
docs/.howto
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue