build(mkdocs.yml): 🔧 simplify configuration and go with one-config for SEO reasons

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-03-24 17:25:39 +00:00
parent f102ad9e98
commit 787b292240
5 changed files with 35 additions and 20 deletions

View file

@ -1,2 +0,0 @@
INHERIT: ./mkdocs.yml
site_url: https://ctrl-c.club/~ajhalili2006

View file

@ -1 +0,0 @@
INHERIT: mkdocs.yml

View file

@ -1,5 +0,0 @@
# Cloudflare Pages specific config
INHERIT: mkdocs.yml
site_name: ~ajhalili2006
site_url: https://andreijiroh.eu.org
site_dir: site

View file

@ -6,9 +6,9 @@
# mkdocs.ctrl-c.yml - ctrl-c.club/~ajhalili2006 # mkdocs.ctrl-c.yml - ctrl-c.club/~ajhalili2006
# basics # basics
site_name: ~ajhalili2006 on tildeverse site_name: ~ajhalili2006
site_url: https://ajhalili2006.vern.cc/ site_url: https://andreijiroh.eu.org/
site_dir: public_html site_dir: public
site_author: Andrei Jiroh Halili site_author: Andrei Jiroh Halili
copyright: > copyright: >
Copyright &copy; 2022-present - Andrei Jiroh Halili and contributors, licensed under the Copyright &copy; 2022-present - Andrei Jiroh Halili and contributors, licensed under the
@ -23,29 +23,43 @@ repo_name: source code
# navbar # navbar
nav: nav:
- Homepage: - Main Hub:
- index.md - Homepage: index.md
- nowpage: now.md - nowpage: now.md
- Contact: contact.md - Contact: contact.md
- Portfolio: portfolio.md
- Personal user manual: - Personal user manual:
- Readme: user-manual/index.md - Manual Homepage: user-manual/index.md
- Resume: user-manual/resume.md - Resume: user-manual/resume.md
- Keys: keys/index.md - Keys: keys/index.md
- Portfolio: portfolio.md
- Anything else: https://coda.io/@ajhalili2006/readme - Anything else: https://coda.io/@ajhalili2006/readme
- Lists: - Lists:
- Projects: projects.md - Projects: projects.md
- Communities: communities.md - Communities: communities.md
- Tildes: tildes.md - Tildes: tildes.md
- Blog: "https://blog.andreijiroh.eu.org" - Blog: "https://blog.andreijiroh.eu.org" # todo: point to substack
- "All my links": "https://ajhalili2006.bio.link" # todo update to start.page - "All my links": "https://ajhalili2006.start.page" # todo update to start.page
# theme # theme settings
theme: theme:
name: material name: material
custom_dir: overrides custom_dir: overrides
icon: icon:
logo: material/account-box
repo: material/gitlab 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: features:
- announce.dismiss - announce.dismiss
- content.action.edit - content.action.edit
@ -87,7 +101,12 @@ theme:
# plugins # plugins
plugins: plugins:
- social:
cards: !ENV [FF_GENERATE_SOCIAL_CARDS, false]
- search - search
- redirects:
redirect_maps:
"user-manual/portfolio.md": "portfolio.md"
# debugging/bug reporting purposes only, proceed with caution # debugging/bug reporting purposes only, proceed with caution
#- info #- info
- git-revision-date-localized: - git-revision-date-localized:

View file

@ -1,2 +1,6 @@
mkdocs-material mkdocs-git-revision-date-localized-plugin==1.2.0
mkdocs-git-revision-date-localized-plugin mkdocs-material==9.1.4
mkdocs-minify-plugin==0.6.4
mkdocs-redirects==1.2.0
pillow
cairosvg