sphinx.ext.durationΒΆ

Use sphinx.ext.duration extension to show how much time Sphinx spends on each file. Build output should show these times.

 1# -*- coding: utf-8 -*-
 2
 3# Default settings
 4project = 'Test Builds'
 5extensions = [
 6    'sphinx_autorun',
 7    'sphinx.ext.duration',
 8]
 9
10latex_engine = 'xelatex'  # allow us to build Unicode chars
11
12
13# Include all your settings here
14html_theme = 'sphinx_rtd_theme'
15
16
17
18

>>> # Build at
>>> import datetime
>>> datetime.datetime.utcnow()  # UTC
datetime.datetime(2022, 2, 8, 18, 1, 25, 183379)