From e62d0cd4aa8f18c7b0f821bf5a71473ae6eece78 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Thu, 30 May 2024 11:21:51 +0800 Subject: [PATCH] chore(global): :wrench: update configs and pipenv scripts Also in this commit, I updated the gitignore to include the public directory and bump Python to 3.12.3. Signed-off-by: Andrei Jiroh Halili --- .gitignore | 2 +- .tool-versions | 2 +- Pipfile | 4 ++++ mkdocs.yml | 30 ++++++++++++++++++------------ 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 74e4175..e686ed0 100644 --- a/.gitignore +++ b/.gitignore @@ -256,7 +256,7 @@ dist .cache/ # Comment in the public line in if your project uses Gatsby and not Next.js # https://nextjs.org/blog/next-9-1#public-directory-support -# public +public # vuepress build output .vuepress/dist diff --git a/.tool-versions b/.tool-versions index f1c0c50..1d7a709 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -python 3.12.1 +python 3.12.3 diff --git a/Pipfile b/Pipfile index cf7e2bb..94a4a23 100644 --- a/Pipfile +++ b/Pipfile @@ -17,3 +17,7 @@ cairosvg = "*" [requires] python_version = "3.12" + +[scripts] +dev = "mkdocs serve --watch overrides --watch-theme --livereload" +build = "mkdocs build --verbose --use-directory-urls -d ./public --strict" diff --git a/mkdocs.yml b/mkdocs.yml index 36a828c..82b6521 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,9 +1,10 @@ -site_name: ~ajhalili2006's digital garden -site_author: "@ajhalili2006@tilde.zone" -site_url: https://garden.andreijiroh.xyz +# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json +site_name: ~ajhalili2006's personal wiki + digital garden +site_author: "Andrei Jiroh Halili" +site_url: https://wiki.andreijiroh.xyz repo_name: sources -repo_url: https://mau.dev/andreijiroh-dev/webapps/garden-monorepo +repo_url: https://mau.dev/andreijiroh-dev/wiki edit_uri: edit/main/src docs_dir: src @@ -29,7 +30,7 @@ theme: quote: octicons/quote-16 favicon: assets/branding/default-favicon_512.png features: - - announce.dismiss + #- announce.dismiss - content.action.edit - content.action.view - content.code.annotate @@ -79,8 +80,9 @@ markdown_extensions: - def_list - footnotes - md_in_html + - meta - wikilinks: - base_url: https://go.andreijiroh.xyz/ + base_url: https://wiki.andreijiroh.xyz/go/ - toc: permalink: true - pymdownx.arithmatex: @@ -131,7 +133,8 @@ nav: - Digital Garden: - garden/index.md - Daily Log: - - index.md + - garden/daily-notes/index.md + - 'In the Multiverse': garden/daily-note.md - Andrei Jiroh in nutshell: - Context behind username: garden/ajhalili2006.md - Multiverse: @@ -161,18 +164,21 @@ plugins: blog_dir: garden/daily-notes post_url_date_format: yyyy-MM-dd post_url_format: "{date}" - draft_if_future_date: false + draft_if_future_date: true authors_file: authors.yml categories_allowed: - Weekly Dump + - Monthly Dump - School - - Recap Time Squad + Open-source + - Recap Time Squad + - Open-source + - Multifandom - Other Side Projects - Actually Autistic Status Update - post_readtime: false + post_readtime: true - rss: - enabled: !ENV [CI, false] - match_path: updates/posts/.* + enabled: true + match_path: (updates|garden/daily-notes)/posts/.* date_from_meta: as_creation: date categories: -- 2.51.2