Skip to content

Commit

Permalink
add announcement banner, update copyright year,
Browse files Browse the repository at this point in the history
  • Loading branch information
larshinueber committed Feb 15, 2025
1 parent 85cf409 commit 1ead8f7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import os
import sys
from datetime import datetime

sys.path.insert(0, os.path.abspath("."))

Expand Down Expand Up @@ -105,7 +106,8 @@

# General information about the project.
project = "TudatPy API"
copyright = "2021, Tudat Team"
year = datetime.now().year
copyright = f"{year}, Tudat Team"
author = "Tudat Team"

# The version info for the project you're documenting, acts as replacement for
Expand All @@ -122,7 +124,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand All @@ -144,7 +146,7 @@
html_theme = "furo"
html_theme_options = {
"navigation_with_keys": True,
"announcement": "<em>These docs are a work-in-progress!</em>",
"announcement": "Have questions or feedback? See the <a href='https://docs.tudat.space/en/latest/index_user_guide.html'>User Guide</a> or let us know in our <a href='https://github.com/orgs/tudat-team/discussions?discussions_q='>Github Discussion forum</a>!",
}

# Theme options are theme-specific and customize the look and feel of a theme
Expand Down Expand Up @@ -235,5 +237,5 @@
"pagmo": ("https://esa.github.io/pagmo2/", None),
"numpy": ("http://docs.scipy.org/doc/numpy/", None),
"scipy": ("http://docs.scipy.org/doc/scipy/reference/", None),
"matplotlib": ("https://matplotlib.org/stable/api/", None),
"matplotlib": ("https://matplotlib.org/stable/", None),
}

0 comments on commit 1ead8f7

Please sign in to comment.