Skip to content

Commit

Permalink
Not starting redis-server when building doc
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-oscarsson committed Jul 11, 2024
1 parent 67c4d52 commit 77d0806
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details


# This uses custom commands, because it needs to get a Redis server running
# which is necessary to get the Flask routes with the `autoflask` directives.


version: 2

build:
Expand All @@ -26,7 +22,7 @@ build:
- "mamba env create --file conda-environment.yml --force"
- "mamba run --name mxcubeweb poetry install --only=docs,main"
# yamllint disable-line rule:line-length
- "(mamba run --name mxcubeweb redis-server &) && mamba run --name mxcubeweb python -m sphinx -T -E -b html -d _build/doctrees -c docs docs/source ${READTHEDOCS_OUTPUT}/html && mamba run --name mxcubeweb redis-cli shutdown"
- "mamba run --name mxcubeweb python -m sphinx -T -E -b html -d _build/doctrees -c docs docs/source ${READTHEDOCS_OUTPUT}/html"


... # EOF

0 comments on commit 77d0806

Please sign in to comment.