From 41030a2d9e9dc9a642dfa33216b2dbdad6d2e893 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Mon, 12 May 2025 12:18:27 -0400 Subject: [PATCH 1/3] blog: set up privacy plugin During build phase, downloads all external assets and changes URLs to host directly, minimizing external service calls to other domains. Refs: https://squidfunk.github.io/mkdocs-material/plugins/privacy/ Signed-off-by: Mike Fiedler --- docs/mkdocs-blog.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/mkdocs-blog.yml b/docs/mkdocs-blog.yml index dd128302ce27..e3d7d384470d 100644 --- a/docs/mkdocs-blog.yml +++ b/docs/mkdocs-blog.yml @@ -53,6 +53,7 @@ plugins: # consider https://github.com/mkdocs/mkdocs-redirects post_url_format: "posts/{file}" - material-plausible + - privacy - rss: abstract_chars_count: -1 categories: From 0dafafdf8039f8d61d35d187167f2297e8d64a05 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Mon, 12 May 2025 09:40:45 -0400 Subject: [PATCH 2/3] blog: update tags setup In 9.6.0, the tags plugin changed and emits a deprecation warning. With these changes, the tags page renders identically. Refs: https://squidfunk.github.io/mkdocs-material/plugins/tags/#config.tags_file Refs: https://squidfunk.github.io/mkdocs-material/changelog/#9.6.0 Signed-off-by: Mike Fiedler --- docs/blog/tags.md | 4 +++- docs/mkdocs-blog.yml | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/blog/tags.md b/docs/blog/tags.md index e7399c3eb9a2..98e6010a6a94 100644 --- a/docs/blog/tags.md +++ b/docs/blog/tags.md @@ -1 +1,3 @@ - +# Tags + + diff --git a/docs/mkdocs-blog.yml b/docs/mkdocs-blog.yml index e3d7d384470d..c595e806da7d 100644 --- a/docs/mkdocs-blog.yml +++ b/docs/mkdocs-blog.yml @@ -69,8 +69,7 @@ plugins: length: 20 match_path: "posts/.*" - search - - tags: - tags_file: tags.md + - tags extra: homepage: https://pypi.org social: From bab3baab5e7109a731b7cb6ad8bfc1eadde2fa2f Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Mon, 12 May 2025 12:08:56 -0400 Subject: [PATCH 3/3] blog: add related links section Refs: https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/#adding-related-links Signed-off-by: Mike Fiedler --- .../posts/2023-11-14-1-pypi-completes-first-security-audit.md | 3 +++ .../posts/2023-11-14-2-security-audit-remediation-warehouse.md | 3 +++ .../posts/2023-11-14-3-security-audit-remediation-cabotage.md | 3 +++ 3 files changed, 9 insertions(+) diff --git a/docs/blog/posts/2023-11-14-1-pypi-completes-first-security-audit.md b/docs/blog/posts/2023-11-14-1-pypi-completes-first-security-audit.md index 00fa175ac28f..503c0f17148a 100644 --- a/docs/blog/posts/2023-11-14-1-pypi-completes-first-security-audit.md +++ b/docs/blog/posts/2023-11-14-1-pypi-completes-first-security-audit.md @@ -7,6 +7,9 @@ date: 2023-11-14T00:00:00 tags: - security - transparency +links: + - posts/2023-11-14-2-security-audit-remediation-warehouse.md + - posts/2023-11-14-3-security-audit-remediation-cabotage.md --- _This is part one in a three-part series. See [part two here](2023-11-14-2-security-audit-remediation-warehouse.md), and [part three here](2023-11-14-3-security-audit-remediation-cabotage.md)_ diff --git a/docs/blog/posts/2023-11-14-2-security-audit-remediation-warehouse.md b/docs/blog/posts/2023-11-14-2-security-audit-remediation-warehouse.md index d96778f24385..1f4deb76a865 100644 --- a/docs/blog/posts/2023-11-14-2-security-audit-remediation-warehouse.md +++ b/docs/blog/posts/2023-11-14-2-security-audit-remediation-warehouse.md @@ -7,6 +7,9 @@ date: 2023-11-14T00:00:01 tags: - security - transparency +links: + - posts/2023-11-14-1-pypi-completes-first-security-audit.md + - posts/2023-11-14-3-security-audit-remediation-cabotage.md --- _This is part two in a three-part series. See [part one here](2023-11-14-1-pypi-completes-first-security-audit.md), and [part three here](2023-11-14-3-security-audit-remediation-cabotage.md)_. diff --git a/docs/blog/posts/2023-11-14-3-security-audit-remediation-cabotage.md b/docs/blog/posts/2023-11-14-3-security-audit-remediation-cabotage.md index 9767d0b66e90..43b6dc56337d 100644 --- a/docs/blog/posts/2023-11-14-3-security-audit-remediation-cabotage.md +++ b/docs/blog/posts/2023-11-14-3-security-audit-remediation-cabotage.md @@ -8,6 +8,9 @@ tags: - security - transparency - infrastructure +links: + - posts/2023-11-14-1-pypi-completes-first-security-audit.md + - posts/2023-11-14-2-security-audit-remediation-warehouse.md --- _This is part three in a three-part series.