sphinx-doc / sphinxcontrib-django

This is a sphinx extension which improves the documentation of Django apps.
https://pypi.org/project/sphinxcontrib-django/
Apache License 2.0
43 stars 25 forks source link

Fix: Empty string enum rendering + Add configurable amount of choices to display #42

Closed insspb closed 1 year ago

insspb commented 1 year ago

This PR will fix text choices rendering problem, from issue #41 and also it add completely clear approach to configure amount of choices to render (with sphinx option).

fixes #41

@timoludwig Please merge it

codecov-commenter commented 1 year ago

Codecov Report

Merging #42 (3324733) into main (db7325a) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head 3324733 differs from pull request most recent head eb13e40. Consider uploading reports for the commit eb13e40 to get more accurate results

@@            Coverage Diff            @@
##              main       #42   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          314       309    -5     
=========================================
- Hits           314       309    -5     
Impacted Files Coverage Δ
sphinxcontrib_django/docstrings/config.py 100.00% <ø> (ø)
sphinxcontrib_django/docstrings/__init__.py 100.00% <100.00%> (ø)
sphinxcontrib_django/docstrings/attributes.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

insspb commented 1 year ago

@timoludwig Any news?