Skip to content

Commit

Permalink
HACK: Display RTD variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Apr 1, 2022
1 parent 2e8e43b commit 05c5797
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/main/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
if os.environ.get('READTHEDOCS', None) == 'True':
tags.add('main') # noqa F821

print("ENV VARS")
print(os.environ.get('READTHEDOCS', None))
print(os.environ.get('READTHEDOCS_VERSION', None))
print(os.environ.get('READTHEDOCS_VERSION_NAME', None))
print(os.environ.get('READTHEDOCS_VERSION_TYPE', None))
print(os.environ.get('READTHEDOCS_PROJECT', None))
print(os.environ.get('READTHEDOCS_LANGUAGE', None))

# Addtional configuration of the IDE docs
if 'ide' in tags.tags: # noqa F821
Expand Down

0 comments on commit 05c5797

Please sign in to comment.