Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Remove build-time field to avoid changing all pages on each build #119

Merged
merged 4 commits into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ commands:
default: "21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,latest"
steps:
- checkout
- run: pip install --user tox
# NOTE: update tox to tox<5 when https://github.com/tox-dev/tox/issues/2850
# is fixed.
- run: pip install --user 'tox<4'
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"

jobs:
Expand Down
3 changes: 0 additions & 3 deletions readthedocs_ext/readthedocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
import os
import re
import types
from datetime import datetime
from packaging.version import Version

import sphinx
from sphinx import package_dir
from sphinx.util.console import bold


Expand Down Expand Up @@ -159,7 +157,6 @@ def rtd_render(self, template, render_context):
'api_host': ctx.get('api_host', ''),
'commit': ctx.get('commit', ''),
'ad_free': ctx.get('ad_free', ''),
'build_date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ'),
'global_analytics_code': ctx.get('global_analytics_code'),
'user_analytics_code': ctx.get('user_analytics_code'),
'subprojects': dict(ctx.get('subprojects', [])),
Expand Down