Title: `sphinx-lint` now ignores default roles in docs' `make check` · Issue #92289 · python/cpython · GitHub
Open Graph Title: `sphinx-lint` now ignores default roles in docs' `make check` · Issue #92289 · python/cpython
X Title: `sphinx-lint` now ignores default roles in docs' `make check` · Issue #92289 · python/cpython
Description: We have a GitHub workflow for documentation that runs make check: cpython/.github/workflows/doc.yml Lines 43 to 44 in 7d7a378 - name: 'Check documentation' run: make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W --keep-going -j4" check make...
Open Graph Description: We have a GitHub workflow for documentation that runs make check: cpython/.github/workflows/doc.yml Lines 43 to 44 in 7d7a378 - name: 'Check documentation' run: make -C Doc/ PYTHON=../python SPHINX...
X Description: We have a GitHub workflow for documentation that runs make check: cpython/.github/workflows/doc.yml Lines 43 to 44 in 7d7a378 - name: 'Check documentation' run: make -C Doc/ PYTHON=../pytho...
Opengraph URL: https://github.com/python/cpython/issues/92289
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`sphinx-lint` now ignores default roles in docs' `make check`","articleBody":"We have a GitHub workflow for documentation that runs `make check`:\r\nhttps://github.com/python/cpython/blob/7d7a378c1a351a2074e9e46838718a2dcbef2948/.github/workflows/doc.yml#L43-L44\r\n\r\n`make check` runs \r\nhttps://github.com/python/cpython/blob/7d7a378c1a351a2074e9e46838718a2dcbef2948/Doc/Makefile#L215-L217\r\n\r\nBy default `sphinx-lint` only reports errors with a severity `\u003e=1`:\r\nhttps://github.com/sphinx-contrib/sphinx-lint/blob/b25d09c5a0cf15030c575d18078d815724a1e3e0/sphinxlint.py#L453-L459\r\n\r\nThe severity of the \"default role\" check (i.e. making sure that no single `` `...` `` are used), was recently changed to `severity=0` in https://github.com/sphinx-contrib/sphinx-lint/commit/999b43d52e98c117eeea9a5bad2728bb2808b092.\r\n\r\nThis means that the use of the default role is no longer caught as an error by `make check`.\r\n\r\n\r\nSee also #86404.\r\n\r\n (Thanks to @AlexWaygood for noticing the issue. cc @JulienPalard)","author":{"url":"https://github.com/ezio-melotti","@type":"Person","name":"ezio-melotti"},"datePublished":"2022-05-04T04:31:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/92289/cpython/issues/92289"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7d356c18-dbf6-080e-f8da-2404747d630c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8186:270B7A:A25F40:DFCD6C:6969EE0B |
| html-safe-nonce | 4407b4bdf638928263635d6dac5054bff3e9e678f03cb379de28c33590b1263a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTg2OjI3MEI3QTpBMjVGNDA6REZDRDZDOjY5NjlFRTBCIiwidmlzaXRvcl9pZCI6IjEzOTQwNTE5OTg1ODU5MzI5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ef4be756aba5854387a4d350185d57d4250ad3d5630895aeb2d8be9682fc46d7 |
| hovercard-subject-tag | issue:1224912234 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/92289/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9183f265fb3ba413f2c55bfbf36b1d660799733df3e6f2fe1ee552d015bc3751/python/cpython/issues/92289 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9183f265fb3ba413f2c55bfbf36b1d660799733df3e6f2fe1ee552d015bc3751/python/cpython/issues/92289 |
| og:image:alt | We have a GitHub workflow for documentation that runs make check: cpython/.github/workflows/doc.yml Lines 43 to 44 in 7d7a378 - name: 'Check documentation' run: make -C Doc/ PYTHON=../python SPHINX... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ezio-melotti |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width