Skip to content

Commit

Permalink
docs: Prepare for RTD addons migration (#2536)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Jul 16, 2024
1 parent f68d5c6 commit 70016c8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#
from __future__ import annotations

import os
import sys
from datetime import datetime
from pathlib import Path
Expand Down Expand Up @@ -60,10 +61,19 @@
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

# -- Options for HTML output -----------------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#

# Define the canonical URL for sdk.meltano.com
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
html_context = {}

# Tell Jinja2 templates the build is running on Read the Docs
if os.environ.get("READTHEDOCS", "") == "True":
html_context["READTHEDOCS"] = True

html_logo = "_static/img/logo.svg"
html_theme = "furo"
html_theme_options = {
Expand Down

0 comments on commit 70016c8

Please sign in to comment.