Skip to content

Commit

Permalink
doc/main/conf.py: Show beta features on RTD/latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Apr 1, 2022
1 parent 2e8e43b commit 813ea61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/main/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
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
Expand Down

0 comments on commit 813ea61

Please sign in to comment.