Adam Turner
d43e6b3ef4
Note removal of deprecated APIs
2022-10-05 18:38:32 +01:00
Adam Turner
7f5117cb14
Note removal of JavaScript frameworks
2022-10-05 18:30:11 +01:00
Anthony Sottile
6ed4bbba39
Don't display 'replaceable hardcoded link' when link has a slash ( #10137 )
2022-10-05 14:47:16 +01:00
Martin Liška
b1390c4191
Fix detection for out of date files ( #9360 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-05 14:44:41 +01:00
Martin Liška
3d25662550
Update CHANGES for :option:
reference format changes ( #10892 )
2022-10-05 13:40:56 +01:00
Adam Turner
26fe10f0b7
Fix disabling cross-references in pre-v3 C domain ( #10890 )
2022-10-05 13:37:47 +01:00
Julien Schueller
ad5e17beb3
Fix cleanup_tempdir
in imgmath ( #10895 )
2022-10-05 13:36:24 +01:00
Martin Patz
3e29abf8de
Add debug logging to autosectionlabel
( #10881 )
...
Co-authored-by: Martin Patz <martin@recogni.com>
2022-10-04 15:25:06 +01:00
Martin Liška
0a91adb64d
Extend cross referencing options with values ( #10883 )
...
This change means that text following `=`, `[=`, or ` ` is ignored when
searching for a corresponding option directive to an option cross reference
role. These are commonly used options, for example `--profile=path`,
`--profile[=path]` or `--profile path`.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-02 15:50:53 +01:00
Adam Turner
7765940f14
Ensure non-builtin extensions use the proper version
2022-09-30 19:10:48 +01:00
Adam Turner
63dea6172a
Merge branch '5.x'
...
# Conflicts:
# sphinx/locale/__init__.py
2022-09-30 16:15:24 +01:00
Adam Turner
2906071198
Merge branch '5.2.x' into 5.x
...
# Conflicts:
# CHANGES
# sphinx/__init__.py
2022-09-30 16:13:11 +01:00
Adam Turner
cbb19d6947
Bump to 5.2.3 final
2022-09-30 16:08:16 +01:00
Adam Turner
650f63b9f7
Finer grained control over domain ToC entries ( #10886 )
...
- Implement `:nocontentsentry:` flag
- Use `:nocontentsentry:` in docs
- Add domain object table of contents configuration option
2022-09-30 10:31:58 +01:00
Julien Schueller
7514e5c6d4
CI: Move LaTeX job to GitHub Actions ( #10884 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-09-30 00:03:51 +01:00
danieleades
bf36a7905a
shrink 'any-generics' whitelist for the 'deprecation' module ( #10849 )
2022-09-29 23:47:58 +01:00
danieleades
6e113d4e90
Use a module level constant as best practice ( #10876 )
2022-09-29 19:07:29 +01:00
danieleades
3c73efadab
shrink 'Any generics' mypy whitelist for builders module ( #10846 )
2022-09-29 17:26:53 +01:00
danieleades
8267dc4fde
shrink 'any-generics' whitelist for the 'locale' module ( #10866 )
2022-09-29 17:16:36 +01:00
Julien Schueller
66276185ef
imgmath: Fix embed mode ( #10878 )
2022-09-29 15:37:24 +01:00
Adam Turner
5ed06f5324
Restore annotations in sphinx.locale
to objects
2022-09-28 11:04:42 +01:00
Adam Turner
0466fa88eb
Refactor sphinx.locale
...
- Skip typing imports
- Simplify `translators`
2022-09-28 09:19:09 +01:00
Adam Turner
363cdc0906
Refactor locale._TranslationProxy
2022-09-28 09:17:11 +01:00
danieleades
6dbb618834
Shrink 'any-generics' whitelist for the pycode
module ( #10868 )
2022-09-28 09:13:48 +01:00
Adam Turner
b437f094a7
Add default arguments to locale.init_console()
2022-09-27 19:06:25 +01:00
Martin Liska
29e6adab12
extend option directive syntax
...
One can cross-reference an option value: :option:`--module=foobar`.
2022-09-27 19:02:45 +01:00
Adam Turner
bb62d2a2ee
Increase minimum Docutils to 0.18
2022-09-27 18:31:47 +01:00
Adam Turner
080517ce55
Increase minimum Docutils to 0.17
2022-09-27 18:31:47 +01:00
Adam Turner
4660b62de0
Drop Python 3.7
2022-09-27 18:31:47 +01:00
Adam Turner
7649eb1505
Clean up after dropping Python 3.6
2022-09-27 18:31:47 +01:00
danieleades
05683f794c
Shrink 'any-generics' whitelist for the cmd
module ( #10847 )
2022-09-27 17:56:35 +01:00
King Phyte
061c8ad528
fix typo in extrapackages example ( #10835 )
...
Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
2022-09-27 18:01:34 +02:00
Adam Turner
51927bb6e4
Merge branch '5.x'
2022-09-27 16:02:52 +01:00
Adam Turner
7d67371f38
Update .readthedocs.yml
configuration ( #10874 )
2022-09-27 16:00:57 +01:00
Adam Turner
8accc34966
Merge branch '5.2.x' into 5.x
...
# Conflicts:
# CHANGES
# sphinx/__init__.py
2022-09-27 15:58:00 +01:00
Adam Turner
a651e6bf4a
Bump to 5.2.2 final
2022-09-27 15:54:01 +01:00
Adam Turner
335f335a58
Restore anchor links to top of module docstring
2022-09-27 15:53:38 +01:00
Adam Turner
19c278313b
Correct error in release date for Sphinx 5.2.1
2022-09-27 15:51:46 +01:00
Adam Turner
635540c180
Restore anchor links to top of module docstring
2022-09-27 15:48:54 +01:00
Adam Turner
89b4f14b44
Fix mypy violations for v0.981 ( #10875 )
2022-09-27 15:18:20 +01:00
Hugo van Kemenade
d5b28997f2
Declare support for Python 3.11 ( #10871 )
2022-09-27 14:21:55 +01:00
Jean-François B
92a508a10f
Merge pull request #10783 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2022-09-26 21:43:29 +02:00
Stephen Finucane
49eeb0e846
Validate filenames in builder
...
This moves the logic for checking filenames closer to where it's
actually used.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2022-09-26 17:50:57 +01:00
Stephen Finucane
9ab21ce51a
Combine 'compile_xxx' and 'build_xxx' functions
...
These are only called from the one location and we already use 'build'
to do both building and writing. Given that we intend to simplify the
handling of the 'filenames' argument, this makes our lives there much
easier.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2022-09-26 17:50:57 +01:00
Stephen Finucane
6adbb006f9
Use path2doc rather than reinventing the wheel
...
We already have a helper function that allows us to convert a filename
to a "docname". Don't reinvent the wheel and simply use this when
building specific files with Sphinx. Note that this does change behavior
slightly, insofar as filenames that don't resolve to valid docnames will
now be ignored rather than being passed with their suffix and silently
ignored later, but that seems sane.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2022-09-26 17:50:57 +01:00
Adam Turner
f01d50d695
Merge branch '5.x'
...
# Conflicts:
# CHANGES
# doc/conf.py
# sphinx/__init__.py
# sphinx/builders/html/__init__.py
# sphinx/domains/python.py
# tests/test_build_html.py
2022-09-25 21:36:30 +01:00
Adam Turner
eb5b3aa25d
Merge branch '5.2.x' into 5.x
...
# Conflicts:
# CHANGES
# sphinx/__init__.py
2022-09-25 21:33:04 +01:00
Adam Turner
e0dbbc510a
Bump to 5.2.1 final
2022-09-25 20:39:57 +01:00
Adam Turner
15c1cba28e
Fix error in changelog for Sphinx 5.2.0
2022-09-25 20:39:57 +01:00
Adam Turner
77cee67f11
Define extra indent as a class attribute
2022-09-25 20:23:53 +01:00