-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update documentation related settings #6292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pull Request Test Coverage Report for Build 2160540765
💛 - Coveralls |
run: | | ||
. venv/bin/activate | ||
cd doc | ||
make html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't add linkcheck
to readthedocs as the only allow one build target (and they don't use make html
but sphinx-build -b html
directly).
Thus, we need our own CI to run linkcheck
. Takes 2 additional minutes but I think that's okay considering the time most other jobs take.
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python.version
has been deprecated and should now be specified in the build
tag
@@ -13,9 +13,9 @@ PYTHONPATH = | |||
# Internal variables. | |||
PAPEROPT_a4 = -D latex_paper_size=a4 | |||
PAPEROPT_letter = -D latex_paper_size=letter | |||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . | |||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -T -E -W --keep-going $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added these flags as they are also used by readthedocs and we therefore mimic that behaviour locally now
@echo | ||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-b html
already logs stuff like this to stdout
. No reason to log twice.
and preferred name in
script/.contributors_aliases.json
Type of Changes
Description
Let's see if this works.