From 787b2922407c2807d9ea4dff56ae0b8cec4df8b3 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Fri, 24 Mar 2023 17:25:39 +0000 Subject: [PATCH] build(mkdocs.yml): :wrench: simplify configuration and go with one-config for SEO reasons Signed-off-by: Andrei Jiroh Halili --- mkdocs.ctrl-c.yml | 2 -- mkdocs.dev.yml | 1 - mkdocs.pages.dev.yml | 5 ----- mkdocs.yml | 39 +++++++++++++++++++++++++++++---------- requirements.txt | 8 ++++++-- 5 files changed, 35 insertions(+), 20 deletions(-) delete mode 100644 mkdocs.ctrl-c.yml delete mode 100644 mkdocs.dev.yml delete mode 100644 mkdocs.pages.dev.yml diff --git a/mkdocs.ctrl-c.yml b/mkdocs.ctrl-c.yml deleted file mode 100644 index b31bf57..0000000 --- a/mkdocs.ctrl-c.yml +++ /dev/null @@ -1,2 +0,0 @@ -INHERIT: ./mkdocs.yml -site_url: https://ctrl-c.club/~ajhalili2006 \ No newline at end of file diff --git a/mkdocs.dev.yml b/mkdocs.dev.yml deleted file mode 100644 index a2e30ca..0000000 --- a/mkdocs.dev.yml +++ /dev/null @@ -1 +0,0 @@ -INHERIT: mkdocs.yml diff --git a/mkdocs.pages.dev.yml b/mkdocs.pages.dev.yml deleted file mode 100644 index f32eba9..0000000 --- a/mkdocs.pages.dev.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Cloudflare Pages specific config -INHERIT: mkdocs.yml -site_name: ~ajhalili2006 -site_url: https://andreijiroh.eu.org -site_dir: site \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 013cee3..7e57e98 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,9 +6,9 @@ # mkdocs.ctrl-c.yml - ctrl-c.club/~ajhalili2006 # basics -site_name: ~ajhalili2006 on tildeverse -site_url: https://ajhalili2006.vern.cc/ -site_dir: public_html +site_name: ~ajhalili2006 +site_url: https://andreijiroh.eu.org/ +site_dir: public site_author: Andrei Jiroh Halili copyright: > Copyright © 2022-present - Andrei Jiroh Halili and contributors, licensed under the @@ -23,29 +23,43 @@ repo_name: source code # navbar nav: - - Homepage: - - index.md + - Main Hub: + - Homepage: index.md - nowpage: now.md - Contact: contact.md - - Portfolio: portfolio.md - Personal user manual: - - Readme: user-manual/index.md + - Manual Homepage: user-manual/index.md - Resume: user-manual/resume.md - Keys: keys/index.md + - Portfolio: portfolio.md - Anything else: https://coda.io/@ajhalili2006/readme - Lists: - Projects: projects.md - Communities: communities.md - Tildes: tildes.md - - Blog: "https://blog.andreijiroh.eu.org" - - "All my links": "https://ajhalili2006.bio.link" # todo update to start.page + - Blog: "https://blog.andreijiroh.eu.org" # todo: point to substack + - "All my links": "https://ajhalili2006.start.page" # todo update to start.page -# theme +# theme settings theme: name: material custom_dir: overrides icon: + logo: material/account-box repo: material/gitlab + admonition: + note: octicons/tag-16 + abstract: octicons/checklist-16 + info: octicons/info-16 + tip: octicons/squirrel-16 + success: octicons/check-16 + question: octicons/question-16 + warning: octicons/alert-16 + failure: octicons/x-circle-16 + danger: octicons/zap-16 + bug: octicons/bug-16 + example: octicons/beaker-16 + quote: octicons/quote-16 features: - announce.dismiss - content.action.edit @@ -87,7 +101,12 @@ theme: # plugins plugins: + - social: + cards: !ENV [FF_GENERATE_SOCIAL_CARDS, false] - search + - redirects: + redirect_maps: + "user-manual/portfolio.md": "portfolio.md" # debugging/bug reporting purposes only, proceed with caution #- info - git-revision-date-localized: diff --git a/requirements.txt b/requirements.txt index 8fdf8ba..3a4a48e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,6 @@ -mkdocs-material -mkdocs-git-revision-date-localized-plugin +mkdocs-git-revision-date-localized-plugin==1.2.0 +mkdocs-material==9.1.4 +mkdocs-minify-plugin==0.6.4 +mkdocs-redirects==1.2.0 +pillow +cairosvg \ No newline at end of file