Skip to content

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

Merged
merged 3 commits into from
Apr 13, 2022
Merged

Conversation

DanielNoord
Copy link
Collaborator

  • Write a good description on what the PR does.
  • If you used multiple emails or multiple names when contributing, add your mails
    and preferred name in script/.contributors_aliases.json

Type of Changes

Type
🔨 Refactoring
📜 Docs

Description

Let's see if this works.

@DanielNoord DanielNoord added this to the 2.14.0 milestone Apr 13, 2022
@coveralls
Copy link

coveralls commented Apr 13, 2022

Pull Request Test Coverage Report for Build 2160540765

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.788%

Totals Coverage Status
Change from base Build 2160292015: 0.0%
Covered Lines: 15927
Relevant Lines: 16982

💛 - Coveralls

@DanielNoord DanielNoord marked this pull request as ready for review April 13, 2022 10:21
run: |
. venv/bin/activate
cd doc
make html
Copy link
Collaborator Author

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"
Copy link
Collaborator Author

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) .
Copy link
Collaborator Author

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."
Copy link
Collaborator Author

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.

@DanielNoord DanielNoord merged commit e123739 into pylint-dev:main Apr 13, 2022
@DanielNoord DanielNoord deleted the docs branch April 13, 2022 10:35
@Pierre-Sassoulas Pierre-Sassoulas removed this from the 2.14.0 milestone May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants