Feature Request: Show build durations using sphinx.ext.duration
See original GitHub issueDetails
- Read the Docs project URL: https://readthedocs.org/projects/astropy/
- Build URL (if applicable): https://readthedocs.org/projects/astropy/builds/12314499/
- Read the Docs username (if applicable): pllim
This is a follow-up from https://github.com/readthedocs/readthedocs.org/issues/7648#issuecomment-724953115 .
Expected Result
When sphinx.ext.duration (which has been available since Sphinx 2.4 and we are using 3.x) is enabled by adding it to extensions list in conf.py
, we expect an output like this in the build log:
====================== slowest reading durations =======================
16.173 coordinates/index
14.260 visualization/wcsaxes/ticks_labels_grid
12.112 visualization/rgb
11.582 visualization/wcsaxes/overlays
9.496 timeseries/index
7.912 stats/ripley
6.881 visualization/wcsaxes/slicing_datacubes
...
1.543 modeling/example-fitting-line
1.494 timeseries/io
Actual Result
“slowest reading durations” isn’t shown. ~I don’t have that commit to prove this anymore, but I will recreate it and link it back here.~ See astropy/astropy#11028
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
sphinx.ext.duration – Measure durations of Sphinx processing
This extension measures durations of Sphinx processing and show its result at end of the build. It is useful for inspecting what document...
Read more >sphinx.pdf - Read the Docs
Sphinx is a documentation generator or a tool that translates a set of plain text source files into various output formats,.
Read more >Extending VSCode: Build Documentation with Python Sphinx
A hands-on session to illustrate the rich ecosystem around Python Sphinx tools and how to build up any kind of documentation for your ......
Read more >[22] Sphinx for Python Documentation Tutorial (Melissa Weber)
Talk outline - PART 1: How Sphinx, how it is built and how it works - PART 2: Application: an example pull request,...
Read more >TUTORIAL / Mariatta / Writing Documentation with Sphinx and ...
The success of Python and open source libraries is not separable from the availability of good documentation. Reading documentation is one ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hmm weird, since it works locally (for
astropy
). Not sure what could cause a difference on RTD.Well, don’t have to remove that label so soon, bot.