environment-variablesΒΆ
These are the environment variables used to build this docs:
>>> import os
>>> import pprint
>>> pprint.pprint(dict(os.environ))
{'DEBIAN_FRONTEND': 'noninteractive',
'DOCUTILSCONFIG': '/home/docs/checkouts/readthedocs.org/user_builds/test-builds-sv/checkouts/environment-variables/docs/docutils.conf',
'HOME': '/home/docs',
'HOSTNAME': 'build-19343872-project-521174-test-builds-sv',
'LANG': 'C.UTF-8',
'NO_COLOR': '1',
'PATH': '/home/docs/checkouts/readthedocs.org/user_builds/test-builds-sv/envs/environment-variables/bin:/home/docs/.asdf/shims:/home/docs/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'PWD': '/home/docs/checkouts/readthedocs.org/user_builds/test-builds-sv/checkouts/environment-variables/docs',
'READTHEDOCS': 'True',
'READTHEDOCS_LANGUAGE': 'en',
'READTHEDOCS_PROJECT': 'test-builds-sv',
'READTHEDOCS_VERSION': 'environment-variables',
'READTHEDOCS_VERSION_NAME': 'environment-variables',
'READTHEDOCS_VERSION_TYPE': 'branch'}
There is a variable called SECRET_VALUE_ESCAPED
with this content
{1}\|\1+-(8)$
that should be shown correctly.
>>> # Build at
>>> import datetime
>>> datetime.datetime.utcnow() # UTC
datetime.datetime(2023, 2, 1, 12, 5, 40, 726900)