Skip to content

Commit

Permalink
reorder config
Browse files Browse the repository at this point in the history
  • Loading branch information
Robpol86 committed Sep 29, 2024
1 parent 551e89e commit 7f0e97c
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"html_baseurl": html_baseurl,
}
html_copy_source = False
html_domain_indices = False
html_extra_path = [
".htaccess",
]
Expand Down Expand Up @@ -108,10 +107,24 @@
linkcheck_timeout = 5


# Extension settings.
imgur_target_format = "https://i.imgur.com/%(id)s.%(ext)s"
myst_enable_extensions = ["colon_fence", "deflist", "fieldlist", "linkify", "replacements", "strikethrough", "substitution"]
myst_url_schemes = ("http", "https", "mailto")
notfound_context = dict( # pylint: disable=use-dict-literal
title="404 Not Found",
body="<h1>404 Not Found</h1>\n\n"
'<iframe src="https://funhtml5games.com?embed=lemmings" style="width:742px;height:401px;border:none;" '
'frameborder="0" scrolling="no"></iframe>',
)
notfound_urls_prefix = ""
sitemap_url_scheme = "{link}"


# Ablog settings.
ablog_builder = "dirhtml"
ablog_website = "_website"
blog_title = "ABlog"
blog_title = project
blog_baseurl = html_baseurl
blog_locations = {
"Pittsburgh": ("Pittsburgh, PA", "https://en.wikipedia.org/wiki/Pittsburgh"),
Expand All @@ -120,10 +133,8 @@
}
blog_languages = {
"en": ("English", None),
"nl": ("Nederlands", None),
"zh_CN": ("Chinese", None),
}
blog_default_language = "en"
blog_default_language = language
blog_authors = {
"Ahmet": ("Ahmet Bakan", "https://ahmetbakan.com"),
"Luc": ("Luc Saffre", "https://saffre-rumma.net/luc/"),
Expand All @@ -144,20 +155,6 @@
fontawesome_link_cdn = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"


# Extension settings.
imgur_target_format = "https://i.imgur.com/%(id)s.%(ext)s"
myst_enable_extensions = ["colon_fence", "deflist", "fieldlist", "linkify", "replacements", "strikethrough", "substitution"]
myst_url_schemes = ("http", "https", "mailto")
notfound_context = dict( # pylint: disable=use-dict-literal
title="404 Not Found",
body="<h1>404 Not Found</h1>\n\n"
'<iframe src="https://funhtml5games.com?embed=lemmings" style="width:742px;height:401px;border:none;" '
'frameborder="0" scrolling="no"></iframe>',
)
notfound_urls_prefix = ""
sitemap_url_scheme = "{link}"


"""
TODOs:
* Decide upon tags and categories for all my pages
Expand All @@ -176,4 +173,6 @@
* fix imgur-embed in latest sphinx
* validate rss
* fix tags having too much whitespace with commas
* html validator, ogp validator
* fontawsome conflict? ablog and maybe sbt both use it
"""

0 comments on commit 7f0e97c

Please sign in to comment.