diff --git a/.denoflare.example b/.denoflare.example new file mode 100644 index 0000000..7a1bd5d --- /dev/null +++ b/.denoflare.example @@ -0,0 +1,16 @@ +{ + "$schema": "https://raw.githubusercontent.com/skymethod/denoflare/v0.5.12/common/config.schema.json", + "scripts": { + "garden-api": { + "path": "api/index.ts", + "localPort": 3030, + "workersDev": true + } + }, + "profiles": { + "account1": { + "accountId": "cf0bd808c6a294fd8c4d8f6d2cdeca05", + "apiToken": "${CF_API_TOKEN}" + } + } +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ff9301 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.denoflare +public +site +.venv +*.swp \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4951fea..51b0df9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,7 @@ pages: stage: build script: - mkdocs build -d public + - cp docs/_redirects public/ artifacts: paths: # The folder that contains the files to be exposed at the Page URL @@ -38,14 +39,6 @@ pages: # This ensures that only pushes to the default branch will trigger # a pages deploy - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH -.pages:srht: - stage: build - needs: - - pages - script: - - doppler run -- ./bin/deploykit-gmi.sh - rules: - - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH # TODO: Automate this over at mirrors/cronjobs soon. .sync-branch: diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..f1c0c50 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +python 3.12.1 diff --git a/.vscode/settings.json b/.vscode/settings.json index dc4f34b..b72f0c6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,5 +7,8 @@ "domain": "mau.dev", "type": "GitLab" } + ], + "conventionalCommits.scopes": [ + "api" ] } \ No newline at end of file diff --git a/README.md b/README.md index 0df82cd..302eec3 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,17 @@ # ~ajhalili2006's digital garden website -[![open in agora badge](https://img.shields.io/badge/open%20in%20agora-black?style=flat-square)](https://anagora.org/@ajhalili2006) -[![kooky insane stuff repo](https://img.shields.io/badge/Jiroh's%20Kooky%20Insane%20Stuff-blue?style=flat-square)](https://mau.dev/ajhalili2006-experiments/kooky-insane-stuff) -[![gitlab pages](https://img.shields.io/badge/hosted%20via-GitLab%20Pages-8A2BE2?style=flat-square&logo=gitlab)](https://garden.andreijiroh.eu.org) -[![pipeline status](https://mau.dev/andreijiroh.dev/webapps/garden-monorepo/badges/main/pipeline.svg?style=flat-square)](https://mau.dev/andreijiroh.dev/webapps/garden-monorepo/-/commits/main) +[![open in agora badge](https://img.shields.io/badge/open%20in%20agora-black?style=for-the-badge)](https://anagora.org/@ajhalili2006) +[![kooky insane stuff repo](https://img.shields.io/badge/Jiroh's%20Kooky%20Insane%20Stuff-blue?style=for-the-badge)](https://mau.dev/ajhalili2006-experiments/kooky-insane-stuff) +[![gitlab pages](https://img.shields.io/badge/hosted%20via-GitLab%20Pages-8A2BE2?style=for-the-badge&logo=gitlab)](https://garden.andreijiroh.eu.org) +[![pipeline status](https://mau.dev/andreijiroh.dev/webapps/garden-monorepo/badges/main/pipeline.svg?style=for-the-badge)](https://mau.dev/andreijiroh.dev/webapps/garden-monorepo/-/commits/main) +[![Built with Material for MkDocs](https://img.shields.io/badge/Material_for_MkDocs-526CFE?style=for-the-badge&logo=MaterialForMkDocs&logoColor=white)](https://squidfunk.github.io/mkdocs-material/) + +## Directory Map + + +`` ## License MPL-2.0 for the source code, CC-BY-SA-4.0 for digital garden website contents, -excluding third-party content. \ No newline at end of file +unless otherwise specified. diff --git a/api/README.md b/api/README.md new file mode 100644 index 0000000..be7afbe --- /dev/null +++ b/api/README.md @@ -0,0 +1,7 @@ +# Garden API + +An mini API for the garden website, using [Denoflare](https://denoflare.dev) + +## Development + +Install [Deno](https://docs.deno.com/runtime/manual/getting_started/installation) \ No newline at end of file diff --git a/markdown/_redirects b/markdown/_redirects new file mode 100644 index 0000000..de25b3a --- /dev/null +++ b/markdown/_redirects @@ -0,0 +1 @@ +/go/ajhalili2006 https://garden.andreijiroh.eu.org/garden/ajhalili2006/ \ No newline at end of file diff --git a/docs/garden/ajhalili2006.md b/markdown/garden/ajhalili2006.md similarity index 100% rename from docs/garden/ajhalili2006.md rename to markdown/garden/ajhalili2006.md diff --git a/docs/garden/index.md b/markdown/garden/index.md similarity index 100% rename from docs/garden/index.md rename to markdown/garden/index.md diff --git a/docs/index.md b/markdown/index.md similarity index 63% rename from docs/index.md rename to markdown/index.md index 5f2553e..546a868 100644 --- a/docs/index.md +++ b/markdown/index.md @@ -3,4 +3,9 @@ This is the website version of the following repositories from @[[ajhalili2006]] himself: * [Kooky Insane Stuff](https://github.com/ajhalili2006-experiments/kooky-insane-stuff) -* [Digital Garden](https://mau.dev/andreijiroh.dev/digital-garden) \ No newline at end of file +* [Digital Garden](https://mau.dev/andreijiroh.dev/digital-garden) +* [Autistic Life Notebook, Markdownified](https://github.com/ajhalili2006/autistic-life-notebook) + +The former two will be merged + +## The Starter Pack diff --git a/markdown/multiverse/hermitcraft/hermitcraft-world-downloads-mirror.md b/markdown/multiverse/hermitcraft/hermitcraft-world-downloads-mirror.md new file mode 100644 index 0000000..79aa104 --- /dev/null +++ b/markdown/multiverse/hermitcraft/hermitcraft-world-downloads-mirror.md @@ -0,0 +1,11 @@ +# Hermitcraft world download mirrors + +!!! info "Looking for other mirrors" + +## Mirror Status + +| Season and Format | Status | Tracking Issue | +| --- | --- | --- | +| Season 8 | TBD | | +| Season 9 - Vanilla Java | TBD | | +| Season 9 - Bedrock | TBD | | diff --git a/docs/updates/index.md b/markdown/updates/index.md similarity index 100% rename from docs/updates/index.md rename to markdown/updates/index.md