environment-variablesΒΆ

These are the environment variables used to build this docs:


('>>>', 'import os')
('>>>', 'import pprint')
('>>>', 'pprint.pprint(dict(os.environ))')
{'APPDIR': '/app',
 'BIN_PATH': '/home/docs/checkouts/readthedocs.org/user_builds/test-builds/envs/environment-variables/bin',
 'CONDA_VERSION': '4.6.14',
 'DEBIAN_FRONTEND': 'noninteractive',
 'DOCUTILSCONFIG': '/home/docs/checkouts/readthedocs.org/user_builds/test-builds/checkouts/environment-variables/docs/docutils.conf',
 'EMBEDED_VARIABLE': "'$READTHEDOCS_VERSION'",
 'HOME': '/home/docs',
 'HOSTNAME': 'build-9387485-project-256207-test-builds',
 'LANG': 'C.UTF-8',
 'NEWVALUE': "'This is my value'",
 'OLDPWD': '/',
 'PATH': '/home/docs/checkouts/readthedocs.org/user_builds/test-builds/envs/environment-variables/bin:/home/docs/.pyenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/docs/.conda/bin:/home/docs/.pyenv/bin',
 'PWD': '/home/docs/checkouts/readthedocs.org/user_builds/test-builds/checkouts/environment-variables/docs',
 'PYENV_ROOT': '/home/docs/.pyenv',
 'PYPY_VERSION_35': 'pypy3.5-7.0.0',
 'PYTHON_VERSION_27': '2.7.16',
 'PYTHON_VERSION_35': '3.5.7',
 'PYTHON_VERSION_36': '3.6.8',
 'PYTHON_VERSION_37': '3.7.3',
 'READTHEDOCS': 'True',
 'READTHEDOCS_LANGUAGE': 'en',
 'READTHEDOCS_PROJECT': 'test-builds',
 'READTHEDOCS_VERSION': 'environment-variables',
 'SECRET_VALUE_ESCAPED': '{1}\\|\\1+-(8)$',
 'SHOW_ON_DOCS': "'This was added from Admin > Environment Variables'",
 'USER_DEFINED_VARIABLE': 'Variable added from "django-admin shell"'}

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(2019, 7, 18, 1, 8, 24, 28369)