Use build.os
and build.tools
Example using build.os
and build.tools
in Read the Docs config file.
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'node'
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cargo'
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/docs/checkouts/readthedocs.org/user_builds/another-test-stsewd/conda/mamba/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'go'
Read the Docs configuration file used to build this docs (see full file),
1version: 2
2
3build:
4 os: "ubuntu-20.04"
5 tools:
6 python: "mambaforge-4.10"
7
8sphinx:
9 configuration: docs/conf.py
10
11conda:
12 environment: environment.yaml
Sphinx configuration file used to build this docs (see full file),
1# -*- coding: utf-8 -*-
2
3# Default settings
4project = 'Test Builds'
5extensions = [
6 'sphinx_autorun',
7]
8
9latex_engine = 'xelatex' # allow us to build Unicode chars
10
11
12# Include all your settings here
13html_theme = 'sphinx_rtd_theme'
14
15import os
16os.system('ln -s ../.readthedocs.yaml .')
17
18
19
20
>>> # Build at
>>> import datetime
>>> datetime.datetime.utcnow() # UTC
datetime.datetime(2021, 12, 14, 17, 9, 55, 344196)