Skip to content

Commit

Permalink
Removed Sphinx Tags extension
Browse files Browse the repository at this point in the history
  • Loading branch information
benji-glitsos-ga committed Oct 2, 2024
1 parent c9d6fc2 commit 5acb21e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 354 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
BUILD_MODE=local # local / pr-preview / production

LOCAL_ENABLE_REDIRECTS=Yes
LOCAL_ENABLE_TAGS=Yes
LOCAL_ENABLE_USER_GUIDES=Yes
LOCAL_ENABLE_DATA_PRODUCTS=Yes
LOCAL_ENABLE_VERSION_HISTORY=Yes
Expand Down
348 changes: 0 additions & 348 deletions docs/_ext/sphinx_tags/__init__.py

This file was deleted.

5 changes: 0 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

build_mode = os.environ.get("BUILD_MODE")
git_branch = os.environ.get("BRANCH")
enable_tags = os.environ.get("LOCAL_ENABLE_TAGS") == "Yes"
enable_redirects = os.environ.get("LOCAL_ENABLE_REDIRECTS") == "Yes"
pr_preview_subdomain = os.environ.get("PR_PREVIEW_SUBDOMAIN")

Expand Down Expand Up @@ -38,7 +37,6 @@
"notebooks/Supplementary_data/*.ipynb",
"py-modindex/index.*",
]
exclude_patterns += utilities.optional_exclude_pattern("LOCAL_ENABLE_TAGS", "tags")
exclude_patterns += utilities.optional_exclude_pattern("LOCAL_ENABLE_USER_GUIDES", "guides")
exclude_patterns += utilities.optional_exclude_pattern("LOCAL_ENABLE_DATA_PRODUCTS", "data")
exclude_patterns += utilities.optional_exclude_pattern("LOCAL_ENABLE_VERSION_HISTORY", "data/version-history")
Expand Down Expand Up @@ -76,7 +74,6 @@
"sphinxext.opengraph",
"notfound.extension",
"sphinx_copybutton",
# "sphinx_tags",
]

myst_enable_extensions = [
Expand Down Expand Up @@ -117,8 +114,6 @@
notfound_pagename = "404-not-found"
notfound_urls_prefix = ""

tags_create_tags = (is_production or is_pr_preview or enable_tags)

html_css_files = [
'styles/styles.css'
]
Expand Down

0 comments on commit 5acb21e

Please sign in to comment.