chore(global): update configs and overrides from the backburner
Some checks failed
Docker CI / Build environment for GitLab CI/CD (push) Has been cancelled
Docker CI / Generate Gitpod workspace image snapshot (push) Has been cancelled

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
This commit is contained in:
Andrei Jiroh Halili 2024-12-11 11:05:32 +08:00
parent 3a030e47e7
commit 5271e4080e
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
8 changed files with 39 additions and 22 deletions

2
.gitignore vendored
View file

@ -9,3 +9,5 @@ node_modules
.env .env
*.tar.gz *.tar.gz
gmi/api/commit gmi/api/commit
.env.keys
*.decrypted

View file

@ -18,20 +18,22 @@ default:
# Global builds and stuff # Global builds and stuff
variables: variables:
DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION #DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION
# feature flags
FF_ENABLE_COMMIT_DATA: "true" FF_ENABLE_COMMIT_DATA: "true"
FF_GENERATE_SOCIAL_CARDS: "true" FF_GENERATE_SOCIAL_CARDS: "true"
#FF_GIT_COMMITTERS_API: "true"
SECURE_FILES_DOWNLOAD_PATH: .secretskit SECURE_FILES_DOWNLOAD_PATH: .secretskit
GIT_DEPTH: "0" GIT_DEPTH: "0"
# dotenvx stuff
DOTENV_PRIVATE_KEY: $DOTENV_PRIVATE_KEY_CI DOTENV_PRIVATE_KEY: $DOTENV_PRIVATE_KEY_CI
MKDOCS_GIT_COMMITTERS_PLUGIN_TOKEN: $CI_JOB_TOKEN
pages: pages:
stage: build stage: build
script: script:
- | - bash ./bin/build.sh
source /tmp/.ssh-agent.env - npm run deploy
bash ./bin/build.sh
npm run deploy
artifacts: artifacts:
paths: paths:
# The folder that contains the files to be exposed at the Page URL # The folder that contains the files to be exposed at the Page URL

View file

@ -38,6 +38,7 @@
"Autist", "Autist",
"BDFL", "BDFL",
"gatekeep", "gatekeep",
"SABDFL",
"Yubikey" "Yubikey"
], ],
"dotenv.enableAutocloaking": false "dotenv.enableAutocloaking": false

View file

@ -13,6 +13,7 @@ cairosvg = "*"
mkdocs-rss-plugin = "*" mkdocs-rss-plugin = "*"
mkdocs-git-committers-plugin-2 = "*" mkdocs-git-committers-plugin-2 = "*"
mkdocs-autolinks-plugin = "*" mkdocs-autolinks-plugin = "*"
mkdocs-git-authors-plugin = "*"
[dev-packages] [dev-packages]

11
Pipfile.lock generated
View file

@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "f87d557d02966cbcde3572eae1a8d848cab1ba152503baeb1c06254ec2ecd511" "sha256": "a053fb975cf504b2febb9d410545e54d02a9f78778292fb828eb79d76a78c726"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {
@ -448,6 +448,15 @@
"markers": "python_version >= '3.8'", "markers": "python_version >= '3.8'",
"version": "==0.2.0" "version": "==0.2.0"
}, },
"mkdocs-git-authors-plugin": {
"hashes": [
"sha256:77f97c321e08a8757beb866293eb257070b11cd5a080976bc6696b249cbade4f",
"sha256:f6cefc4dc832865d26f7f9f944c0a8c7dc852742d79320f3800e0d97814e2a84"
],
"index": "pypi",
"markers": "python_version >= '3.8'",
"version": "==0.9.2"
},
"mkdocs-git-committers-plugin-2": { "mkdocs-git-committers-plugin-2": {
"hashes": [ "hashes": [
"sha256:ea1f80a79cedc42289e0b8e973276df04fb94f56e0ae3efc5385fb28547cf5cb", "sha256:ea1f80a79cedc42289e0b8e973276df04fb94f56e0ae3efc5385fb28547cf5cb",

View file

@ -142,7 +142,12 @@ plugins:
enabled: true enabled: true
fallback_to_build_date: true fallback_to_build_date: true
enable_creation_date: true enable_creation_date: true
# TODO: Get Insiders for contributors and authors #- git-committers:
# enabled: !ENV [FF_GIT_COMMITTERS_API, false]
# repository: andreijiroh-dev/website
# branch: main
# token: !ENV ["MKDOCS_GIT_COMMITTERS_PLUGIN_TOKEN"]
- git-authors
# makrdown extensions # makrdown extensions
markdown_extensions: markdown_extensions:

View file

@ -20,6 +20,7 @@
<a class="md-button" href="https://wiki.andreijiroh.xyz/garden/devops/website-deployment">Why am I seeing this?</a> <a class="md-button" href="https://wiki.andreijiroh.xyz/garden/devops/website-deployment">Why am I seeing this?</a>
</div> </div>
{% endif %} {% endif %}
{% if "material/tags" in config.plugins and tags %} {% if "material/tags" in config.plugins and tags %}
{% include "partials/tags.html" %} {% include "partials/tags.html" %}
{% endif %} {% endif %}
@ -28,12 +29,7 @@
<h1>{{ page.title | d(config.site_name, true)}}</h1> <h1>{{ page.title | d(config.site_name, true)}}</h1>
{% endif %} {% endif %}
{{ page.content }} {{ page.content }}
{% if page.meta and (
page.meta.git_revision_date_localized or
page.meta.revision_date
) %}
{% include "partials/source-file.html" %} {% include "partials/source-file.html" %}
{% endif %}
{% include "partials/feedback.html" %} {% include "partials/feedback.html" %}
{% include "partials/comments.html" %} {% include "partials/comments.html" %}

View file

@ -25,6 +25,7 @@ mergedeep==1.3.4; python_version >= '3.6' --hash=sha256:0096d52e9dad9939c3d975a7
mkdocs==1.6.1; python_version >= '3.8' --hash=sha256:7b432f01d928c084353ab39c57282f29f92136665bdd6abf7c1ec8d822ef86f2 --hash=sha256:db91759624d1647f3f34aa0c3f327dd2601beae39a366d6e064c03468d35c20e mkdocs==1.6.1; python_version >= '3.8' --hash=sha256:7b432f01d928c084353ab39c57282f29f92136665bdd6abf7c1ec8d822ef86f2 --hash=sha256:db91759624d1647f3f34aa0c3f327dd2601beae39a366d6e064c03468d35c20e
mkdocs-autolinks-plugin==0.7.1; python_version >= '3.4' --hash=sha256:445ddb9b417b7795856c30801bb430773186c1daf210bdeecf8305f55a47d151 --hash=sha256:5c6c17f6649b68e79a9ef0b2648d59f3072e18002b90ee1586a64c505f11ab12 mkdocs-autolinks-plugin==0.7.1; python_version >= '3.4' --hash=sha256:445ddb9b417b7795856c30801bb430773186c1daf210bdeecf8305f55a47d151 --hash=sha256:5c6c17f6649b68e79a9ef0b2648d59f3072e18002b90ee1586a64c505f11ab12
mkdocs-get-deps==0.2.0; python_version >= '3.8' --hash=sha256:162b3d129c7fad9b19abfdcb9c1458a651628e4b1dea628ac68790fb3061c60c --hash=sha256:2bf11d0b133e77a0dd036abeeb06dec8775e46efa526dc70667d8863eefc6134 mkdocs-get-deps==0.2.0; python_version >= '3.8' --hash=sha256:162b3d129c7fad9b19abfdcb9c1458a651628e4b1dea628ac68790fb3061c60c --hash=sha256:2bf11d0b133e77a0dd036abeeb06dec8775e46efa526dc70667d8863eefc6134
mkdocs-git-authors-plugin==0.9.2; python_version >= '3.8' --hash=sha256:77f97c321e08a8757beb866293eb257070b11cd5a080976bc6696b249cbade4f --hash=sha256:f6cefc4dc832865d26f7f9f944c0a8c7dc852742d79320f3800e0d97814e2a84
mkdocs-git-committers-plugin-2==2.4.1; python_version >= '3.8' and python_version < '4' --hash=sha256:ea1f80a79cedc42289e0b8e973276df04fb94f56e0ae3efc5385fb28547cf5cb --hash=sha256:ec9c1d81445606c471337d1c4a1782c643b7377077b545279dc18b86b7362c6d mkdocs-git-committers-plugin-2==2.4.1; python_version >= '3.8' and python_version < '4' --hash=sha256:ea1f80a79cedc42289e0b8e973276df04fb94f56e0ae3efc5385fb28547cf5cb --hash=sha256:ec9c1d81445606c471337d1c4a1782c643b7377077b545279dc18b86b7362c6d
mkdocs-git-revision-date-localized-plugin==1.3.0; python_version >= '3.8' --hash=sha256:439e2f14582204050a664c258861c325064d97cdc848c541e48bb034a6c4d0cb --hash=sha256:c99377ee119372d57a9e47cff4e68f04cce634a74831c06bc89b33e456e840a1 mkdocs-git-revision-date-localized-plugin==1.3.0; python_version >= '3.8' --hash=sha256:439e2f14582204050a664c258861c325064d97cdc848c541e48bb034a6c4d0cb --hash=sha256:c99377ee119372d57a9e47cff4e68f04cce634a74831c06bc89b33e456e840a1
mkdocs-material==9.5.44; python_version >= '3.8' --hash=sha256:47015f9c167d58a5ff5e682da37441fc4d66a1c79334bfc08d774763cacf69ca --hash=sha256:f3a6c968e524166b3f3ed1fb97d3ed3e0091183b0545cedf7156a2a6804c56c0 mkdocs-material==9.5.44; python_version >= '3.8' --hash=sha256:47015f9c167d58a5ff5e682da37441fc4d66a1c79334bfc08d774763cacf69ca --hash=sha256:f3a6c968e524166b3f3ed1fb97d3ed3e0091183b0545cedf7156a2a6804c56c0