From b23172c40dfd73fc09ab6ed8b6350fc52e6ae591 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Fri, 7 Jun 2024 19:35:29 +0800 Subject: [PATCH] chore(global): update configs and minimal template updates Signed-off-by: Andrei Jiroh Halili --- mkdocs.readthedocs.yml | 3 ++- mkdocs.yml | 2 +- overrides/404.html | 6 +++--- overrides/partials/content.html | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/mkdocs.readthedocs.yml b/mkdocs.readthedocs.yml index 1eda97f..6253069 100644 --- a/mkdocs.readthedocs.yml +++ b/mkdocs.readthedocs.yml @@ -1,6 +1,7 @@ INHERIT: mkdocs.yml site_name: ~ajhalili2006 (staging website) +site_url: https://staging.andreijiroh.xyz/ docs_dir: markdown site_dir: public extra: - deployment: staging # for the announcement banner \ No newline at end of file + deployment: staging # for the announcement banner diff --git a/mkdocs.yml b/mkdocs.yml index a62bdf7..453c0a4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -19,7 +19,7 @@ repo_name: source code # navbar nav: - - Home: + - Home: - index.md - nowpage: now.md - Contact: contact/index.md diff --git a/overrides/404.html b/overrides/404.html index 3ee598a..21036fd 100644 --- a/overrides/404.html +++ b/overrides/404.html @@ -14,7 +14,7 @@ If this is not intended to happen, please report this as a bug in the webiste's issue tracker. Otherwise, you can press back on your browser or go back to homepage.

- Report this broken link + Report this broken link Go back home

Troubleshooting tips

Try checking the URL for any misspellings or improper use of dashes, underscores and periods.

@@ -23,8 +23,8 @@ try configuring redirects in the Mkdocs config first.

- Depending on the site version you're viewing, you may need to switch between production - and staging versions of the website. (The tilde versions of the site may be + Depending on the site version you're viewing, you may need to switch between production + and staging versions of the website. (The tilde versions of the site may be may lag behind Cloudflare Pages deploys.)

{% endblock %} diff --git a/overrides/partials/content.html b/overrides/partials/content.html index 3f1c5f9..fe562fb 100644 --- a/overrides/partials/content.html +++ b/overrides/partials/content.html @@ -14,8 +14,8 @@ This site build's content might be outdated due to failing CI, delayed synchorizations and local cache, among other reasons.

{% endif %} - Go back to production - Why am I seeing this? + Go back to production + Why am I seeing this? {% endif %} {% if "material/tags" in config.plugins and tags %} @@ -34,4 +34,4 @@ page.meta.revision_date {% endif %} {% include "partials/feedback.html" %} {% include "partials/comments.html" %} - \ No newline at end of file +