doc/main/conf.py: Show beta features on RTD/latest.

This commit is contained in:
Laurens Valk
2022-04-01 14:51:38 +02:00
parent 2e8e43bcdf
commit 813ea61308
+3
View File
@@ -25,6 +25,9 @@ latex_logo = '../common/images/pybricks-logo-large.png'
if os.environ.get('READTHEDOCS', None) == 'True':
tags.add('main') # noqa F821
# On https://docs.pybricks.com/en/latest/, show features tagged as beta.
if os.environ.get('READTHEDOCS_VERSION_NAME', None) == 'latest':
tags.add('beta') # noqa F821
# Addtional configuration of the IDE docs
if 'ide' in tags.tags: # noqa F821