diff options
author | Benjamin Bach <benjamin@overtag.dk> | 2022-11-04 17:52:12 +0300 |
---|---|---|
committer | Benjamin Bach <benjamin@overtag.dk> | 2022-11-04 17:52:12 +0300 |
commit | 3e6488ef0a80f86264bc53224c2190104349ac7d (patch) | |
tree | 5504f72d412178e2b3ab95a584364c86d3202303 | |
parent | a66c2e87c56896a1bca8f8807953931ec6d90727 (diff) |
Add comment about the terrible tox workaround
-rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -52,6 +52,10 @@ deps = sphinxdev: https://github.com/sphinx-doc/sphinx/archive/refs/heads/master.zip commands = pytest {posargs} tests/ + # This is a short-term hack to allow us to have a Python 3-specific syntax + # and swap it out for a Python 2.7 version while we're building. + # This terrible solution is only acceptable because we will remove it again very soon + # See: https://github.com/readthedocs/sphinx_rtd_theme/pull/1369 py27: cp docs/demo/test_py_module/test.py docs/demo/test_py_module/test_py3.py py27: cp docs/demo/test_py_module/test_py27.py docs/demo/test_py_module/test.py !html4: sphinx-build -b html -Dhtml4_writer=0 -d {envtmpdir}/doctrees docs/ {envtmpdir}/html |