python-docs-fr icon indicating copy to clipboard operation
python-docs-fr copied to clipboard

Use double backticks for RST

Open hugovk opened this issue 1 year ago • 2 comments

Fixes a Sphinx Lint CI failure:

/home/runner/work/sphinx-lint/sphinx-lint/tests/fixtures/friends/python-docs-fr/README.rst:9: default role used (hint: for inline literals, use double backticks) (default-role)

https://github.com/sphinx-contrib/sphinx-lint/actions/runs/12726193605/job/35474290994#step:6:56

hugovk avatar Jan 11 '25 17:01 hugovk

I presume the file is being built by accident, as it is just a README for the repository. Maybe it should just be excluded? Also this repository is just a mirror I think?

StanFromIreland avatar Jan 11 '25 18:01 StanFromIreland

It's worth a fix, but I guess we want to switch the repo here to https://git.afpy.org/AFPy/python-docs-fr/ or some branch:

https://github.com/sphinx-contrib/sphinx-lint/blob/b1bec138033385653f42606a95af79a184dd08a5/download-more-tests.sh#L32

hugovk avatar Jan 11 '25 21:01 hugovk

This can be closed, it was fixed upstream in https://github.com/python/python-docs-fr/commit/5881a0f86c35bc40efd9f77b8e0b194c49fac3bb.

cc @JulienPalard / @python/translation-admins

StanFromIreland avatar Oct 30 '25 22:10 StanFromIreland