Skip to content

docs: revisit/fix regen#5037

Merged
blueyed merged 5 commits into
pytest-dev:masterfrom
blueyed:regen
Apr 4, 2019
Merged

docs: revisit/fix regen#5037
blueyed merged 5 commits into
pytest-dev:masterfrom
blueyed:regen

Conversation

@blueyed

@blueyed blueyed commented Apr 3, 2019

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread doc/en/assert.rst Outdated
@codecov

codecov Bot commented Apr 3, 2019

Copy link
Copy Markdown

Codecov Report

Merging #5037 into master will decrease coverage by 0.25%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
testing/test_pdb.py 91.11% <0%> (-8.07%) ⬇️
src/_pytest/debugging.py 82.81% <0%> (-5.53%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46df1d5...befc8a3. Read the comment docs.

blueyed added 2 commits April 3, 2019 19:53
This allows for:

> make -C doc/en regen REGENDOC_FILES=example/parametrize.rst
@blueyed blueyed changed the title [WIP] docs: regen docs: revisit/fix regen Apr 3, 2019
Comment thread doc/en/capture.rst Outdated
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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway, we could have a custom replacement for this also..

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a custom replacement.

Comment thread doc/en/Makefile
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

REGENDOC_ARGS := \
--normalize "/[ \t]+\n/\n/" \

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This avoids having to run pre-commit afterwards.

@blueyed

blueyed commented Apr 3, 2019

Copy link
Copy Markdown
Contributor Author

Closing in favor of #5042.

@blueyed blueyed closed this Apr 3, 2019
@blueyed blueyed deleted the regen branch April 3, 2019 20:13
@blueyed blueyed restored the regen branch April 3, 2019 22:41
@blueyed blueyed reopened this Apr 3, 2019
@blueyed blueyed merged commit 13a9d87 into pytest-dev:master Apr 4, 2019
@blueyed blueyed deleted the regen branch April 4, 2019 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants