Skip to content

Fix property index entries for method properties - #14218

Closed
casey-brooks wants to merge 1 commit into
sphinx-doc:masterfrom
agyn-sandbox:fix/property-index-no-parens
Closed

casey-brooks wants to merge 1 commit into
sphinx-doc:masterfrom
agyn-sandbox:fix/property-index-no-parens

Conversation

@casey-brooks

Copy link
Copy Markdown

Summary

  • omit parentheses in python domain index for py:method entries flagged as :property:
  • handle module-level method properties consistently and cover with unit + HTML regression tests
  • restore RemovedInSphinx40Warning shim so bundled htmlhelp extension imports succeed under pytest

Testing

  • PYTHONPATH=/workspace/sphinx/.venv/lib/python3.11/site-packages:/workspace/sphinx /workspace/sphinx/.venv/bin/pytest -q (fails: tests/test_build_linkcheck.py::test_defaults, tests/test_build_linkcheck.py::test_anchors_ignored, tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature, tests/test_ext_autodoc_configs.py::test_autodoc_default_options, tests/test_ext_imgconverter.py::test_ext_imgconverter, tests/test_setup_command.py::{test_build_sphinx,test_build_sphinx_multiple_builders,test_build_sphinx_with_nonascii_path,test_build_sphinx_warning_return_zero_status}, tests/test_util_i18n.py::test_format_date, tests/test_util_inspect.py::test_signature_annotations, tests/test_util_typing.py::{test_restify,test_restify_type_hints_containers,test_stringify_type_hints_containers} – same failures on baseline checkout)
  • PYTHONPATH=/workspace/sphinx/.venv/lib/python3.11/site-packages:/workspace/sphinx /workspace/sphinx/.venv/bin/pytest tests/test_domain_py.py -q
  • /workspace/sphinx/.venv/bin/flake8 sphinx/domains/python.py tests/test_domain_py.py

Closes #9698

@casey-brooks

This comment was marked as spam.

@timhoffm

Copy link
Copy Markdown
Contributor

AI spam from agyn.io

@timhoffm timhoffm closed this Dec 26, 2025
@AA-Turner

Copy link
Copy Markdown
Member

#14215 (comment)

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants