Description of the bug
To Reproduce
git clone https://github.com/reactive-python/reactpy-router/
cd reactpy-router
python -m venv .venv
.venv/bin/activate
pip install -r requirements.txt
cd docs
edit mkdocs.yml to enable show_docstring_attributes: false
Open the preview browser and navigate to any location where docstring attribute exist, such as Reference > Types
Watch as all the Attributes sections still exist.
Full traceback
Full traceback
N/A
Expected behavior
Any section containing Attributes: should be removed when this flag is enabled.
Environment information
- System: Windows-11-10.0.22631-SP0
- Python: cpython 3.12.0b4 (C:\Users\Username\Repositories\reactpy-router.venv\Scripts\python.exe)
- Environment variables:
- Installed packages:
mkdocs v1.6.1
mkdocstrings v0.26.2
mkdocstrings-python v1.12.1
griffe v1.4.1
Additional context
Was attempting to use this to hide the docstring attributes.
To be honest I would have preferred to hide the section highlighted in red. There doesn't appear to be a convenient way of doing that at the moment.

Description of the bug
To Reproduce
edit mkdocs.yml to enable
show_docstring_attributes: falseOpen the preview browser and navigate to any location where docstring attribute exist, such as
Reference > TypesWatch as all the
Attributessections still exist.Full traceback
Full traceback
N/AExpected behavior
Any section containing
Attributes:should be removed when this flag is enabled.Environment information
mkdocsv1.6.1mkdocstringsv0.26.2mkdocstrings-pythonv1.12.1griffev1.4.1Additional context
Was attempting to use this to hide the docstring attributes.
To be honest I would have preferred to hide the section highlighted in red. There doesn't appear to be a convenient way of doing that at the moment.