Revisto
dc3c2e3d45
Fix grammar in CHANGES.rst RTL Support
...
- Add "the" before "is_rtl"
- Fix line wrapping in CHANGES.rst entry
2025-02-15 13:35:34 +03:30
Revisto
c0aaec6639
Fix trailing whitespace in CHANGES.rst
2025-02-13 23:46:25 +03:30
Revisto
7d37adca89
Fix trailing whitespace in theme documentation
2025-02-13 23:44:31 +03:30
Revisto
08b2cd5b8b
Add Alireza Shabani to AUTHORS.rst as contributor
2025-02-13 23:28:09 +03:30
Revisto
043534115a
Closes #10385 : Add RTL support for Sphinx themes
...
- Add is_rtl theme option for right-to-left text direction
- Implement automatic layout mirroring for RTL languages
- Keep code blocks in LTR direction
2025-02-13 23:19:32 +03:30
Revisto
7d677a10ce
Add RTL support documentation for themes
2025-02-13 23:11:42 +03:30
Revisto
86c713512b
Add RTL support for Traditional theme with new CSS file
2025-02-13 22:50:28 +03:30
Revisto
17a8aa4d48
Add RTL support for Scrolls theme with new CSS file
2025-02-13 22:46:53 +03:30
Revisto
436ccf1d68
Add RTL support for Nonav theme with new CSS file
2025-02-13 22:42:19 +03:30
Revisto
bcc1783cc2
Add RTL support for Epub theme with new CSS file
2025-02-13 22:42:08 +03:30
Revisto
4d57e27b1e
Add RTL support for Agogo theme with new CSS file
2025-02-13 22:27:30 +03:30
Revisto
eecd16eb83
Add RTL support with new CSS for right-to-left basic layout
2025-02-13 22:16:14 +03:30
Revisto
2691ea504e
Add support for RTL layout in documentation options
2025-02-13 22:15:34 +03:30
Adam Turner
c49d925b4d
Remove `productionlist
` hard-coding in writers ( #13326 )
...
The ``productionlist`` directive operates in a line-based context, creating an ``addnodes.productionlist`` container
of ``addnodes.production`` nodes, with one per production in the directive. However, the full state of the abstract
document tree is not included in the produced nodes, with each builder/translator implementing a different way
of appending the fixed separator ``::=`` and justifying the displayed text.
This should not happen in the writer, and hard-coding such details hampers flexibility when documenting different
abstract grammars. We move the specific form of the ``.. productionlist::`` directive to the logic in the directive body
and have the writers apply minimal custom logic.
LaTeX changes written by Jean-François B.
2025-02-13 00:16:26 +00:00
Will Lachance
bb68e72333
Add ability to "skip" adding marked documentation to the search index ( #11280 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-12 16:47:14 +00:00
Matthias Geier
94563a398b
Un-deprecate `sphinx.util.import_object
` ( #13330 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-11 19:07:27 +00:00
dependabot[bot]
9069005087
Bump Ruff to 0.9.6 ( #13327 )
2025-02-11 17:55:00 +00:00
Adam Turner
b678d17e00
Fix deprecation warning in `test_ModuleAnalyzer_get_module_source
`
2025-02-11 03:13:46 +00:00
Adam Turner
41277fc7bd
Convert `package_dir
to
_StrPath
`
2025-02-11 02:55:13 +00:00
Adam Turner
1f693448b0
Inline imports in `sphinx.util
`
2025-02-11 02:52:04 +00:00
Adam Turner
288ce2f4cd
Replace uses of `canon_path()
`
2025-02-11 02:34:59 +00:00
Adam Turner
b88edad731
Remove `addnodes.document
`
2025-02-11 02:22:42 +00:00
Adam Turner
47299b8229
Inline function in `get_verifier
`
2025-02-11 01:53:26 +00:00
Adam Turner
b81a7d7477
Improve LaTeX skip decorators
2025-02-11 01:49:14 +00:00
Adam Turner
baddae6611
Move `test_log_no_ansi_colors
`
2025-02-11 01:42:39 +00:00
Adam Turner
bb5716b54a
Split out `test_build_all
`
2025-02-11 01:34:12 +00:00
Adam Turner
c069960e8a
Use blank testroot for `restructuredtext.parse()
`
2025-02-11 01:11:19 +00:00
Adam Turner
ebec42c02b
Move `make_app_with_empty_project()
to
conftest.py
`
2025-02-11 00:53:44 +00:00
Adam Turner
a9534901a2
Fix warning interpolation for multiple patterns matches in `html_sidebars
`
2025-02-10 15:48:12 +00:00
Adam Turner
d160f3179b
Improve whitespace handling in `error_info()
`
2025-02-10 15:19:35 +00:00
Adam Turner
4298c30886
Fix continuation line indentation in productionlists ( #13319 )
2025-02-10 02:00:52 +00:00
Adam Turner
f96904146f
Define valid types for all configuration values ( #13324 )
2025-02-10 01:58:22 +00:00
Adam Turner
b59d1b7513
Fix possible 'no-wrap' KeyError in maths nodes ( #13323 )
2025-02-09 22:30:12 +00:00
Adam Turner
790bee64ce
intersphinx: Resolve implicit self-references ( #13322 )
...
When intersphinx_resolve_self was added, it only applied to the :external:<inv_name>:`blah` role.
This extends the functionality to implicit intersphinx references of the form :ref:`<inv_name>:blah`.
2025-02-09 22:29:04 +00:00
Adam Turner
9eb5097a56
Refactor `ReferencesResolver
` ( #13321 )
...
Split ``ReferencesResolver.run()`` into smaller parts.
2025-02-09 21:38:51 +00:00
Adam Dangoor
03df8119b3
Remove mypy override for `tests.test_builders.test_build_html_copyright
` ( #13317 )
2025-02-09 21:29:38 +00:00
Adam Turner
46b6d55467
Reinstate the signature of `InheritanceGraph.generate_dot()
` ( #13320 )
2025-02-09 21:07:30 +00:00
Adam Turner
c4b3dcbaf9
Convert '0' and '1' to bool for config overrides ( #13318 )
2025-02-07 19:38:33 +00:00
Adam Turner
b11303adb9
Run tests in parallel with `pytest-xdist
` ( #13287 )
2025-02-07 17:17:17 +00:00
Adam Dangoor
cef9d869dd
Remove type check overrides for `tests/test_builders/test_build_gettext.py
` ( #13299 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-07 15:13:56 +00:00
Adam Dangoor
0782273dec
Remove mypy overrides for two files in `tests/test_writers
` ( #13315 )
2025-02-07 14:49:19 +00:00
Adam Dangoor
36e3f3250d
Remove mypy overrides for `tests/test_extensions/test_ext_autodoc_autodata.py
` ( #13314 )
2025-02-07 14:47:00 +00:00
Adam Dangoor
e33b6ff82d
Remove mypy overrides for `tests/test_config
` ( #13313 )
2025-02-07 14:45:25 +00:00
Adam Dangoor
d2627c44f3
Remove type check overrides for `tests/test_extensions/test_ext_githubpages.py
` ( #13306 )
2025-02-07 14:43:27 +00:00
Adam Dangoor
6de28062fc
Remove type check overrides for `tests/test__cli/test__cli_util_errors.py
` ( #13305 )
2025-02-07 14:42:11 +00:00
Adam Dangoor
7799dd1b8b
Remove type check overrides for `test_build_epub
` ( #13296 )
2025-02-07 14:41:09 +00:00
Adam Turner
22e0f8944b
Use pathlib in more places
2025-02-07 13:51:42 +00:00
Adam Turner
c2bea73132
Bump mypy to 1.15.0
2025-02-07 13:34:33 +00:00
dependabot[bot]
203a600888
Bump Ruff to 0.9.5 ( #13309 )
...
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-07 13:14:23 +00:00
Adam Dangoor
4467c100b4
Pin `pypi-attestations
` to an exact version ( #13310 )
2025-02-07 08:17:46 +00:00