docs: revisit/fix regen#5037
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5037 +/- ##
==========================================
- Coverage 96.03% 95.77% -0.26%
==========================================
Files 114 114
Lines 25757 25996 +239
Branches 2548 2579 +31
==========================================
+ Hits 24735 24897 +162
- Misses 711 784 +73
- Partials 311 315 +4
Continue to review full report at Codecov.
|
This allows for: > make -C doc/en regen REGENDOC_FILES=example/parametrize.rst
| platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y | ||
| cachedir: $PYTHON_PREFIX/.pytest_cache | ||
| rootdir: $REGENDOC_TMPDIR | ||
| rootdir: /path/to/example |
There was a problem hiding this comment.
Those changes are due to master / pytest-dev/regendoc#8 being used, can update from 0.6.1, but I think it is good and the mess with the missed releases is hopefully merged/fixed soon (i.e. we would get this output also with release versions).
There was a problem hiding this comment.
Anyway, we could have a custom replacement for this also..
There was a problem hiding this comment.
Added a custom replacement.
| ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . | ||
|
|
||
| REGENDOC_ARGS := \ | ||
| --normalize "/[ \t]+\n/\n/" \ |
There was a problem hiding this comment.
This avoids having to run pre-commit afterwards.
|
Closing in favor of #5042. |
No description provided.