Skip to content

Add gp-libs: Test docs via doctest, table of contents for sphinx.ext.autodoc, change issues module #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 10, 2022

Conversation

tony
Copy link
Member

@tony tony commented Sep 10, 2022

Changes

Add gp-libs (github, site, PyPI)

@codecov
Copy link

codecov bot commented Sep 10, 2022

Codecov Report

Merging #410 (15ab64a) into master (39f53b8) will increase coverage by 0.49%.
The diff coverage is n/a.

❗ Current head 15ab64a differs from pull request most recent head 207018d. Consider uploading reports for the commit 207018d to get more accurate results

@@            Coverage Diff             @@
##           master     #410      +/-   ##
==========================================
+ Coverage   85.72%   86.22%   +0.49%     
==========================================
  Files          21       21              
  Lines        1807     1807              
  Branches      276      276              
==========================================
+ Hits         1549     1558       +9     
+ Misses        177      170       -7     
+ Partials       81       79       -2     
Impacted Files Coverage Δ
libtmux/common.py 82.27% <0.00%> (+0.45%) ⬆️
libtmux/session.py 75.41% <0.00%> (+1.11%) ⬆️
libtmux/window.py 77.01% <0.00%> (+1.14%) ⬆️
libtmux/pane.py 78.40% <0.00%> (+4.54%) ⬆️

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

@tony tony force-pushed the gp-libs branch 6 times, most recently from ad23154 to fb62538 Compare September 10, 2022 10:29
@tony tony changed the title Add gp-libs Add gp-libs: Test docs via doctest, table of contents for sphinx.ext.autodoc, cange issues Sep 10, 2022
@tony tony force-pushed the gp-libs branch 3 times, most recently from 75a80ef to 832171d Compare September 10, 2022 11:06
tony added a commit that referenced this pull request Sep 10, 2022
Credit goes to #410's package for docutils-based doctests
@tony tony force-pushed the gp-libs branch 7 times, most recently from d169477 to 3a5d317 Compare September 10, 2022 13:44
This makes locking much easier
Handles:
- doctests in markdown
- linkifying issues in changelog
- rendering table of contents for sphinx.ext.autodoc directives

And we can remove sphinx-autoapi
Remove sphinx-autoapi, which has broken imports. The only
purpose this module had was showing table of contents. The
tradeoff was a lot of difficult to track, subtle bugs.

Also move to linkify_issues. A much simpler and more concise
issue linker.
This makes it easier to QA doctest files via
make watch_test
@tony tony force-pushed the gp-libs branch 3 times, most recently from 5757704 to e9ba3e9 Compare September 10, 2022 14:27
@tony tony changed the title Add gp-libs: Test docs via doctest, table of contents for sphinx.ext.autodoc, cange issues Add gp-libs: Test docs via doctest, table of contents for sphinx.ext.autodoc, change issues module Sep 10, 2022
@tony tony merged commit 3de3cc1 into master Sep 10, 2022
@tony tony deleted the gp-libs branch September 10, 2022 15:11
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.

1 participant