Skip to content

Commit

Permalink
docs: Note that sphinx 1.7 will be required soon
Browse files Browse the repository at this point in the history
The time has come to drop support for some truly ancient versions of
sphinx; put in a warning now.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
Jonathan Corbet committed Dec 11, 2020
1 parent ab9e1ac commit 13fef8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@

else:
extensions.append('cdomain')
if major == 1 and minor < 7:
sys.stderr.write('WARNING: Sphinx 1.7 or greater will be required as of '
'the 5.12 release\n')

# Ensure that autosectionlabel will produce unique names
autosectionlabel_prefix_document = True
Expand Down

0 comments on commit 13fef8e

Please sign in to comment.