yaml-v2

Use a YAML v2 configuration with many options.

(at this time, since V2 is not allowed to all the projects, this project has enabled the feature allow_v2_config_file manually from the Django shell)

YAML file used to build this docs,

 1version: 2
 2
 3build:
 4  image: latest
 5
 6formats: []
 7
 8sphinx:
 9
10  # At this moment, the builder has to match to the DB setting from
11  # "Advanced settings" because otherwise we will receive a build
12  # error. This behavior could probably change in the future to take
13  # precedence by the YAML config. More context on this at
14  # https://github.com/rtfd/readthedocs.org/issues/4638
15  builder: html
16
17  configuration: docs/conf.py
18  fail_on_warning: false
19
20python:
21  version: 3.6
22  install:
23    - requirements: requirements.txt

Time

('>>>', '# Build at')
('>>>', 'import datetime')
('>>>', 'datetime.datetime.utcnow()  # UTC')
datetime.datetime(2023, 3, 28, 15, 42, 28, 549752)