Skip to content

Commit

Permalink
use Sphinx from Debian to build the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
biolds committed Apr 29, 2023
1 parent afb6b7c commit d32068f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ deb:
docker run --rm -v $(current_dir):/sosse:ro -v $(current_dir)/deb:/deb biolds/sosse:debian-pkg bash -c 'cp -x -r /sosse /sosse-deb && make -C /sosse-deb _deb'

_build_doc:
. /opt/sosse-doc/bin/activate ; make -C doc linkcheck html SPHINXOPTS="-W"
make -C doc linkcheck html SPHINXOPTS="-W"
jq . < doc/code_blocks.json > /tmp/code_blocks.json
mv /tmp/code_blocks.json doc/code_blocks.json

Expand Down
4 changes: 1 addition & 3 deletions docker/doc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ ARG PIP_TRUSTED_HOST=
RUN test -z "$APT_PROXY" || (echo "Acquire::http::Proxy \"$APT_PROXY\";" > /etc/apt/apt.conf.d/proxy.conf)
RUN apt update
RUN apt upgrade -y
RUN apt install -y virtualenv jq
RUN virtualenv /opt/sosse-doc
RUN . /opt/sosse-doc/bin/activate && pip install sphinx
RUN apt install -y jq python3-sphinx
RUN test -z "$APT_PROXY" || rm /etc/apt/apt.conf.d/proxy.conf

0 comments on commit d32068f

Please sign in to comment.