Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 73ac13c

Browse files
author
Anselm Kruis
committed
Stackless issue #259: Update Doc/conf.py and .readthedocs.yml
Update the Stackless patches for readthedocs.org based on the documentation. This simplified configuration is still untested. (cherry picked from commit b87f882)
1 parent 2bc14ce commit 73ac13c

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

β€Ž.readthedocs.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ build:
1717

1818
# Optionally set the version of Python and requirements required to build your docs
1919
python:
20-
version: 3.7
20+
version: 3.8

β€ŽDoc/conf.pyβ€Ž

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,6 @@
1616
extensions = ['sphinx.ext.coverage', 'sphinx.ext.doctest',
1717
'pyspecific', 'c_annotations', 'escape4chm']
1818

19-
# Compatibility hack for Sphinx version 1.2 and later
20-
# without the 'sphinx.ext.refcounting' extension
21-
# Required for http://stackless.readthedocs.org
22-
try:
23-
# this symbol is available starting from version 1.2
24-
from sphinx import version_info
25-
except Exception:
26-
pass # version is pre 1.2.
27-
else:
28-
del version_info
29-
del extensions[0]
3019
if os.environ.get('READTHEDOCS', None) == 'True':
3120
# Use the Sphinx default theme, not the very neat theme of readthedocs.org
3221
# See https://docs.readthedocs.org/en/latest/faq.html#i-want-to-use-the-blue-default-sphinx-theme

0 commit comments

Comments
 (0)