Skip to content

Commit

Permalink
WX-1566 Fix RTD so this ticket's docs get published (#7420)
Browse files Browse the repository at this point in the history
  • Loading branch information
aednichols authored May 6, 2024
1 parent 8bdcbb0 commit 32f667c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Read the Docs configuration file for MkDocs projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"

mkdocs:
configuration: mkdocs.yml
3 changes: 3 additions & 0 deletions docs/set_copyright.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from datetime import datetime
def on_config(config, **kwargs):
config.copyright = f"Copyright © {datetime.now().year} <a href=\"https://broadinstitute.org\">Broad Institute</a>"
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ extra_css:
extra_javascript:
- js/extra.js

copyright: Copyright &copy; 2023 <a href="https://broadinstitute.org">Broad Institute</a>
# google_analytics: ['identifierID', 'URL.org']
hooks:
- docs/set_copyright.py

0 comments on commit 32f667c

Please sign in to comment.