Skip to content

Commit

Permalink
docs: update conf.py to be in sync with mesa
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-boyu committed Aug 15, 2024
1 parent b2385ee commit 6508e31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

import sys
import os
from pathlib import Path
from datetime import date


# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use Path.resolve() to make it absolute, like shown here.
sys.path.insert(0, str(Path(".").resolve()))
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, "../examples")
sys.path.insert(0, "../mesa_geo")

Expand Down Expand Up @@ -59,7 +59,7 @@

# General information about the project.
project = "Mesa-Geo"
copyright = "2017-2023, Project Mesa-Geo Team"
copyright = f"2017-{date.today().year}, Project Mesa-Geo Team"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -106,7 +106,7 @@
# show_authors = False

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "sphinx"
pygments_style = "gruvbox-dark"

# A list of ignored prefixes for module index sorting.
# modindex_common_prefix = []
Expand Down Expand Up @@ -290,4 +290,4 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {"http://docs.python.org/": None}
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

0 comments on commit 6508e31

Please sign in to comment.