Closed as not planned
Description
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
mkdocs serve
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/AExpected 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.1mkdocstrings
v0.26.2mkdocstrings-python
v1.12.1griffe
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.