mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2026-08-07 11:35:06 +02:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e266686dee | ||
|
|
9e21392442 | ||
|
|
b22e0da09c |
@@ -1,47 +1,19 @@
|
||||
name: 🚀 Publish docs via GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "docs/**"
|
||||
- "mkdocs.yml"
|
||||
- "requirements.txt"
|
||||
- ".github/workflows/publish.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and deploy the Hitchhiker's Guide
|
||||
name: Publish the Hitchhiker's Guide
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🛠️ Checkout
|
||||
- name: Checkout main
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: 🐍 Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
cache: "pip"
|
||||
|
||||
- name: 📦 Install pinned dependencies
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: 🔍 Sanity-check the build (fail fast on broken markup/links)
|
||||
run: mkdocs build --strict
|
||||
|
||||
- name: 🚀 Deploy to gh-pages
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
mkdocs gh-deploy --force --clean
|
||||
- name: Deploy docs
|
||||
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CUSTOM_DOMAIN: anonymousplanet.net
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
title: "Anonymous Planet"
|
||||
description: "We are the maintainers of the Hitchhiker's Guide and the PSA Matrix space."
|
||||
hide:
|
||||
- navigation
|
||||
- toc
|
||||
schema:
|
||||
"@context": https://schema.org
|
||||
|
||||
+12
-14
@@ -1,8 +1,6 @@
|
||||
---
|
||||
title: "Changelog"
|
||||
description: "Release notes for the Hitchhiker's Guide to Online Anonymity."
|
||||
hide:
|
||||
- navigation
|
||||
schema:
|
||||
"@context": https://schema.org
|
||||
"@type": Organization
|
||||
@@ -34,35 +32,35 @@ schema:
|
||||
|
||||
## [v1.2.6-pre1]
|
||||
|
||||
!!! abstract "Meta"
|
||||
!!! Note "Meta"
|
||||
|
||||
- Various website improvements (CSS)
|
||||
|
||||
!!! info "Changed"
|
||||
!!! Note "Changed"
|
||||
|
||||
- Adjust keyring path use the new relative path: pgp/anonymousplanet.asc
|
||||
- 02-sign.yml: use a fpr match to lock a specific key
|
||||
- 02-sign.yml: quick mkdir -p repo/export before copying files to the dir
|
||||
- Moved the Acknowledgements section to the bottom
|
||||
|
||||
!!! tip "Added"
|
||||
!!! Note "Added"
|
||||
|
||||
- COM Class Identifiers (CLSID/GUID) (NEW)
|
||||
- Windows Global Device Identifier (GDID) (NEW)
|
||||
- USB bus telemetry (device enumeration history) (NEW)
|
||||
|
||||
!!! info "Improved"
|
||||
!!! Note "Improved"
|
||||
|
||||
- Glossary (`docs/includes/glossary.md`) and removed inline expansions where applicable
|
||||
|
||||
## [v1.2.5]
|
||||
|
||||
!!! abstract "Meta"
|
||||
!!! Note "Meta"
|
||||
|
||||
- Website theme customization
|
||||
- License change to accomodate our fiscal host Open Source Collective
|
||||
|
||||
!!! info "Changed"
|
||||
!!! Note "Changed"
|
||||
|
||||
- Comprehensive updates throughout the guide reflecting the transition to Whonix 18.x as the newest version
|
||||
- Replaced outdated Whonix.org wiki docs links with GitHub releases mirror and Archive.org backups
|
||||
@@ -76,14 +74,14 @@ schema:
|
||||
- Added comprehensive upgrade path guidance with backup procedures
|
||||
- Updated 196! Wikipedia reference links throughout the entire guide
|
||||
|
||||
!!! tip "Added"
|
||||
!!! Note "Added"
|
||||
|
||||
- All Whonix.org/wiki links now have Archive.org mirror backups for availability
|
||||
- Upgrade path documented: Whonix 17 to 18 with automated release-upgrade support
|
||||
- Detailed Qubes OS compatibility notes for both Whonix versions
|
||||
- You can now get the Anonymous Planet PGP keyring from the site (copy/paste or download)
|
||||
|
||||
!!! info "Improved"
|
||||
!!! Note "Improved"
|
||||
|
||||
- Virtualbox hardening section reorganized
|
||||
- AppArmor configuration guidance added where applicable (Whonix 18.x)
|
||||
@@ -93,11 +91,11 @@ schema:
|
||||
|
||||
## [v1.2.4]
|
||||
|
||||
!!! abstract "Meta"
|
||||
!!! Note "Meta"
|
||||
|
||||
- Rename workflows (GH - now we can know the order)
|
||||
|
||||
!!! info "Changed"
|
||||
!!! Note "Changed"
|
||||
|
||||
- Change the repo URL for our tor mirror
|
||||
- Fix recommended reading admonition
|
||||
@@ -117,7 +115,7 @@ schema:
|
||||
|
||||
CI/CD pipeline split into independent stages, dark PDF quality improved, release signing automated, and the changelog now updates itself on every build. Skipping v1.2.2 which was a placeholder and contained broken Python unsuitable for a tag/release.
|
||||
|
||||
!!! tip "Added"
|
||||
???+ tip "Added"
|
||||
|
||||
- **Dark mode PDF** (`scripts/convert.py`): pixel-level converter replaces the broken `--prefers-color-scheme=dark` Chromium flag. Produces a 200 DPI hacker-themed PDF (`#1f1f31` background, `#e0e0e0` text, `#5e8bde` links) with batched page processing to avoid OOM on large documents.
|
||||
- **Three independent CI workflows** replacing the old monolithic `build-sign-release.yml`:
|
||||
@@ -153,7 +151,7 @@ CI/CD pipeline split into independent stages, dark PDF quality improved, release
|
||||
|
||||
First automated PDF build and the start of the CI pipeline.
|
||||
|
||||
!!! tip "Added"
|
||||
???+ tip "Added"
|
||||
|
||||
- `scripts/build_guide_pdf.py`: builds the MkDocs site and renders the full guide to a single PDF via headless Chromium (Chrome or Edge). Supports `--dark`, `--light`, and `--both` modes.
|
||||
- GitHub Actions workflow that installs Chromium, runs the build script, and uploads `export/thgtoa.pdf` as an artifact on every push to `main` or manual dispatch.
|
||||
|
||||
@@ -3,7 +3,6 @@ title: "Content Contributions"
|
||||
description: "How to contribute to the Hitchhiker's Guide — building, signing, releasing, and writing."
|
||||
hide:
|
||||
- toc
|
||||
- navigation
|
||||
schema:
|
||||
"@context": https://schema.org
|
||||
"@type": Organization
|
||||
|
||||
@@ -3,14 +3,21 @@ title: "A Constitution"
|
||||
description: "The rules, values, and principles governing the Anonymous Planet initiative and PSA community."
|
||||
hide:
|
||||
- toc
|
||||
- navigation
|
||||
---
|
||||
|
||||
<div class="hero-block">
|
||||
<div class="hero-eyebrow">Applicable to all projects of the initiative.</div>
|
||||
<h1 class="hero-title">A Constitution<span class="hero-subtitle">The rules we hold ourselves to.</span></h1>
|
||||
<div class="hero-cta-row">
|
||||
<a href="#principles" class="hero-cta hero-cta--primary">Our Principles</a>
|
||||
<a href="#goals" class="hero-cta hero-cta--secondary">Core Goals</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
## Principles { #principles }
|
||||
|
||||
<div class="index-grid">
|
||||
|
||||
<div class="index-card">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: Contribute & Donate
|
||||
description: "Support the Anonymous Planet project through crypto donations or content contributions. No fiat. No tracking. No profit."
|
||||
hide:
|
||||
- navigation
|
||||
- toc
|
||||
---
|
||||
|
||||
<div class="hero-block">
|
||||
@@ -172,4 +172,5 @@ All donations and spendings are recorded here. <span style="color:var(--status-e
|
||||
| 2022-07-11 | 0.503232 XMR | 1984.is VPS (12 mo) | <span class="status-indicator status-warning">Ended</span> |
|
||||
| 2022-09-19 | 0.345024 XMR | VPS RAM/disk upgrade | <span class="status-indicator status-warning">Ended</span> |
|
||||
|
||||
**Entries marked <span class="status-indicator status-error">Lost</span> represent funds spent on services that are no longer available.**
|
||||
!!! note "About lost funds"
|
||||
Entries marked **Lost** represent funds spent on services that are no longer available.
|
||||
|
||||
+18
-16
@@ -1,8 +1,6 @@
|
||||
---
|
||||
title: "The Hitchhiker's Guide"
|
||||
description: We are the maintainers of the Hitchhiker's Guide and the PSA Matrix space.
|
||||
hide:
|
||||
- navigation
|
||||
schema:
|
||||
"@context": https://schema.org
|
||||
"@type": Organization
|
||||
@@ -580,29 +578,33 @@ Whether it is Android, iOS, Windows, macOS, or even Ubuntu. Most popular Operati
|
||||
|
||||
Here are good overviews of what is being collected by those five popular OSes in their last versions:
|
||||
|
||||
**Android/Google:**
|
||||
- Android/Google:
|
||||
|
||||
- Just have a read at their privacy policy <https://policies.google.com/privacy> <sup>[[Archive.org]](https://web.archive.org/web/https://policies.google.com/privacy)</sup>
|
||||
- School of Computer Science & Statistics, Trinity College Dublin, Ireland Mobile Handset Privacy: Measuring The Data iOS and Android Send to Apple And Google <https://www.scss.tcd.ie/doug.leith/apple_google.pdf> <sup>[[Archive.org]](https://web.archive.org/web/https://www.scss.tcd.ie/doug.leith/apple_google.pdf)</sup>
|
||||
- Just have a read at their privacy policy <https://policies.google.com/privacy> <sup>[[Archive.org]](https://web.archive.org/web/https://policies.google.com/privacy)</sup>
|
||||
|
||||
**IOS/Apple:**
|
||||
- School of Computer Science & Statistics, Trinity College Dublin, Ireland Mobile Handset Privacy: Measuring The Data iOS and Android Send to Apple And Google <https://www.scss.tcd.ie/doug.leith/apple_google.pdf> <sup>[[Archive.org]](https://web.archive.org/web/https://www.scss.tcd.ie/doug.leith/apple_google.pdf)</sup>
|
||||
|
||||
- More information at <https://www.apple.com/legal/privacy/en-ww/> <sup>[[Archive.org]](https://web.archive.org/web/https://www.apple.com/legal/privacy/en-ww/)</sup> and <https://support.apple.com/en-us/HT202100> <sup>[[Archive.org]](https://web.archive.org/web/https://support.apple.com/en-us/HT202100)</sup>
|
||||
- School of Computer Science & Statistics, Trinity College Dublin, Ireland Mobile Handset Privacy: Measuring The Data iOS and Android Send to Apple And Google <https://www.scss.tcd.ie/doug.leith/apple_google.pdf> <sup>[[Archive.org]](https://web.archive.org/web/https://www.scss.tcd.ie/doug.leith/apple_google.pdf)</sup>
|
||||
- Apple does claim[^109] that they anonymize this data using differential privacy[^110] but you will have to trust them on that.
|
||||
- IOS/Apple:
|
||||
|
||||
**Windows/Microsoft:**
|
||||
- More information at <https://www.apple.com/legal/privacy/en-ww/> <sup>[[Archive.org]](https://web.archive.org/web/https://www.apple.com/legal/privacy/en-ww/)</sup> and <https://support.apple.com/en-us/HT202100> <sup>[[Archive.org]](https://web.archive.org/web/https://support.apple.com/en-us/HT202100)</sup>
|
||||
|
||||
- Full list of required diagnostic data: <https://docs.microsoft.com/en-us/windows/privacy/required-windows-diagnostic-data-events-and-fields-2004> <sup>[[Archive.org]](https://web.archive.org/web/https://docs.microsoft.com/en-us/windows/privacy/required-windows-diagnostic-data-events-and-fields-2004)</sup>
|
||||
- Full list of optional diagnostic data: <https://docs.microsoft.com/en-us/windows/privacy/windows-diagnostic-data> <sup>[[Archive.org]](https://web.archive.org/web/https://docs.microsoft.com/en-us/windows/privacy/windows-diagnostic-data)</sup>
|
||||
- School of Computer Science & Statistics, Trinity College Dublin, Ireland Mobile Handset Privacy: Measuring The Data iOS and Android Send to Apple And Google <https://www.scss.tcd.ie/doug.leith/apple_google.pdf> <sup>[[Archive.org]](https://web.archive.org/web/https://www.scss.tcd.ie/doug.leith/apple_google.pdf)</sup>
|
||||
|
||||
**macOS:**
|
||||
- Apple does claim[^109] that they anonymize this data using differential privacy[^110] but you will have to trust them on that.
|
||||
|
||||
- More details on <https://support.apple.com/guide/mac-help/share-analytics-information-mac-apple-mh27990/mac> <sup>[[Archive.org]](https://web.archive.org/web/https://support.apple.com/guide/mac-help/share-analytics-information-mac-apple-mh27990/mac)</sup>
|
||||
- Windows/Microsoft:
|
||||
|
||||
**Ubuntu:**
|
||||
- Full list of required diagnostic data: <https://docs.microsoft.com/en-us/windows/privacy/required-windows-diagnostic-data-events-and-fields-2004> <sup>[[Archive.org]](https://web.archive.org/web/https://docs.microsoft.com/en-us/windows/privacy/required-windows-diagnostic-data-events-and-fields-2004)</sup>
|
||||
|
||||
- Ubuntu despite being a Linux distribution also collects Telemetry Data nowadays. This data however is quite limited compared to the others. More details on <https://ubuntu.com/desktop/statistics> <sup>[[Archive.org]](https://web.archive.org/web/https://ubuntu.com/desktop/statistics)</sup>
|
||||
- Full list of optional diagnostic data: <https://docs.microsoft.com/en-us/windows/privacy/windows-diagnostic-data> <sup>[[Archive.org]](https://web.archive.org/web/https://docs.microsoft.com/en-us/windows/privacy/windows-diagnostic-data)</sup>
|
||||
|
||||
- macOS:
|
||||
|
||||
- More details on <https://support.apple.com/guide/mac-help/share-analytics-information-mac-apple-mh27990/mac> <sup>[[Archive.org]](https://web.archive.org/web/https://support.apple.com/guide/mac-help/share-analytics-information-mac-apple-mh27990/mac)</sup>
|
||||
|
||||
- Ubuntu:
|
||||
|
||||
- Ubuntu despite being a Linux distribution also collects Telemetry Data nowadays. This data however is quite limited compared to the others. More details on <https://ubuntu.com/desktop/statistics> <sup>[[Archive.org]](https://web.archive.org/web/https://ubuntu.com/desktop/statistics)</sup>
|
||||
|
||||
Not only are Operating Systems gathering telemetry services but so are Apps themselves like Browsers, Mail Clients, and Social Networking Apps installed on your system.
|
||||
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
---
|
||||
title: "Home"
|
||||
description: "The Hitchhiker's Guide to Online Anonymity"
|
||||
hide:
|
||||
- toc
|
||||
- navigation
|
||||
schema:
|
||||
"@context": https://schema.org
|
||||
"@type": WebPage
|
||||
|
||||
@@ -3,7 +3,6 @@ title: "Mirrors"
|
||||
description: "Every place you can read or download the Hitchhiker's Guide."
|
||||
hide:
|
||||
- toc
|
||||
- navigation
|
||||
schema:
|
||||
"@context": https://schema.org
|
||||
"@type": Organization
|
||||
@@ -118,10 +117,4 @@ schema:
|
||||
<a href="http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzhvyd.onion/anonymousplanetorg" class="index-card__link">Onion only</a>
|
||||
</div>
|
||||
|
||||
<div class="index-card">
|
||||
<h3 class="index-card__title">Tor Project</h3>
|
||||
<p class="index-card__body">We are not affiliated with Tor Project, but we do love them.</p>
|
||||
<a href="https://gitlab.torproject.org/anonymousplanet/the-hitchhikers-guide" class="index-card__link">Tor Project</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
<div class="data-text off">On</div>
|
||||
<div class="data-text on">Off</div>
|
||||
</div>
|
||||
<div class="toggle-status-dot off"></div>
|
||||
<div class="toggle-status-dot on"></div>
|
||||
<div class="status-indicator off"></div>
|
||||
<div class="status-indicator on"></div>
|
||||
<div class="interface-lines">
|
||||
<div class="interface-line"></div>
|
||||
<div class="interface-line"></div>
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
title: "PGP"
|
||||
description: "Import our GPG keys to verify our releases and signed content."
|
||||
hide:
|
||||
- navigation
|
||||
- toc
|
||||
schema:
|
||||
"@context": https://schema.org
|
||||
"@type": Organization
|
||||
|
||||
@@ -36,24 +36,6 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Secondary TOC: restore depth differentiation the global .md-nav__link override removed */
|
||||
.md-nav--secondary .md-nav__item .md-nav__link {
|
||||
padding-left: 0.6rem;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.md-nav--secondary .md-nav__item .md-nav__item .md-nav__link {
|
||||
padding-left: 1.2rem;
|
||||
font-size: 0.55rem;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.md-nav--secondary .md-nav__item .md-nav__item .md-nav__item .md-nav__link {
|
||||
padding-left: 1.8rem;
|
||||
font-size: 0.52rem;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.md-nav__link--active,
|
||||
.md-nav__link[aria-current] {
|
||||
color: var(--accent-green) !important;
|
||||
@@ -83,38 +65,6 @@
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.md-header__inner {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.md-header__button,
|
||||
.md-header__source,
|
||||
.toggle-container--header {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.md-search {
|
||||
flex-shrink: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 76.1875em) {
|
||||
.toggle-container--header {
|
||||
width: 56px;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.toggle-container--header .toggle-wrap {
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 44.9375em) {
|
||||
.toggle-container--header {
|
||||
width: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
.md-typeset {
|
||||
max-width: none;
|
||||
}
|
||||
@@ -140,30 +90,8 @@
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.md-top {
|
||||
background-color: var(--bg-card) !important;
|
||||
color: var(--crt-green) !important;
|
||||
border: 1px solid var(--border-color) !important;
|
||||
left: 50% !important;
|
||||
margin-left: 0 !important;
|
||||
transform: translate(-50%, 0) !important;
|
||||
@media screen and (min-width: 76.25em) {
|
||||
.md-main__inner {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
}
|
||||
|
||||
.md-top svg,
|
||||
.md-top .md-icon {
|
||||
fill: var(--crt-green) !important;
|
||||
color: var(--crt-green) !important;
|
||||
}
|
||||
|
||||
.md-top:hover {
|
||||
background-color: var(--bg-card) !important;
|
||||
color: var(--accent-green) !important;
|
||||
border-color: var(--accent-green) !important;
|
||||
}
|
||||
|
||||
.md-top:hover svg,
|
||||
.md-top:hover .md-icon {
|
||||
fill: var(--accent-green) !important;
|
||||
color: var(--accent-green) !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -264,7 +264,7 @@
|
||||
text-shadow: 0 0 5px rgba(231, 217, 163, 0.4);
|
||||
}
|
||||
|
||||
.toggle-status-dot {
|
||||
.status-indicator {
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
@@ -279,9 +279,9 @@
|
||||
transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
|
||||
}
|
||||
|
||||
.toggle-status-dot.off { top: 25px; right: 15px; }
|
||||
.status-indicator.off { top: 25px; right: 15px; }
|
||||
|
||||
.toggle-status-dot.on {
|
||||
.status-indicator.on {
|
||||
top: 25px;
|
||||
left: 15px;
|
||||
opacity: 0;
|
||||
@@ -502,8 +502,8 @@ body[data-md-color-scheme="default"] .toggle-input + .toggle-track,
|
||||
|
||||
.toggle-input:checked + .toggle-track .data-text.off, body[data-md-color-scheme="default"] .toggle-input + .toggle-track .data-text.off { opacity: 0; }
|
||||
.toggle-input:checked + .toggle-track .data-text.on, body[data-md-color-scheme="default"] .toggle-input + .toggle-track .data-text.on { opacity: 1; }
|
||||
.toggle-input:checked + .toggle-track .toggle-status-dot.off, body[data-md-color-scheme="default"] .toggle-input + .toggle-track .toggle-status-dot.off { opacity: 0; }
|
||||
.toggle-input:checked + .toggle-track .toggle-status-dot.on, body[data-md-color-scheme="default"] .toggle-input + .toggle-track .toggle-status-dot.on { opacity: 1; }
|
||||
.toggle-input:checked + .toggle-track .status-indicator.off, body[data-md-color-scheme="default"] .toggle-input + .toggle-track .status-indicator.off { opacity: 0; }
|
||||
.toggle-input:checked + .toggle-track .status-indicator.on, body[data-md-color-scheme="default"] .toggle-input + .toggle-track .status-indicator.on { opacity: 1; }
|
||||
.toggle-input:checked + .toggle-track .energy-rings, body[data-md-color-scheme="default"] .toggle-input + .toggle-track .energy-rings { left: calc(100% - 57px); }
|
||||
.toggle-input:checked + .toggle-track .energy-ring, body[data-md-color-scheme="default"] .toggle-input + .toggle-track .energy-ring { opacity: 1; }
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: "Verify"
|
||||
description: "Verify the authenticity and integrity of Anonymous Planet releases."
|
||||
hide:
|
||||
- navigation
|
||||
- toc
|
||||
schema:
|
||||
"@context": https://schema.org
|
||||
"@type": Organization
|
||||
|
||||
@@ -24,6 +24,7 @@ theme:
|
||||
- navigation.tabs
|
||||
- navigation.sections
|
||||
- navigation.path
|
||||
- toc.integrate
|
||||
- navigation.top
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
mkdocs==1.6.1
|
||||
mkdocs-material[imaging]==9.7.2
|
||||
+1
-1
@@ -273,7 +273,7 @@ html, body {{
|
||||
<p><strong>License</strong> Creative Commons BY-SA 4.0</p>
|
||||
<p><strong>Source</strong> https://anonymousplanet.net</p>
|
||||
</div>
|
||||
<p class="version">v1.2.6 — July 12 2026</p>
|
||||
<p class="version">v1.2.5 — June 2026</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>""")
|
||||
|
||||
@@ -143,18 +143,8 @@ def categorise(messages: list[str]) -> dict[str, list[str]]:
|
||||
return buckets
|
||||
|
||||
|
||||
# Distinct admonition type per bucket so icons/colors differ (not all blue "note")
|
||||
ADMONITION_TYPE: dict[str, str] = {
|
||||
"Meta": "abstract",
|
||||
"Added": "tip",
|
||||
"Changed": "info",
|
||||
"Fixed": "success",
|
||||
}
|
||||
|
||||
|
||||
def format_admonition(bucket: str, items: list[str]) -> str:
|
||||
adm_type = ADMONITION_TYPE.get(bucket, "note")
|
||||
lines = [f'!!! {adm_type} "{bucket}"', ""]
|
||||
lines = [f'!!! Note "{bucket}"', ""]
|
||||
for item in items:
|
||||
lines.append(f" - {item}")
|
||||
lines.append("")
|
||||
@@ -164,7 +154,7 @@ def format_admonition(bucket: str, items: list[str]) -> str:
|
||||
def build_entry(version: str, buckets: dict[str, list[str]], sha: str) -> str:
|
||||
date = datetime.now(timezone.utc).strftime("%Y-%m-%d")
|
||||
lines = [f"## [{version}]", ""]
|
||||
lines.append('!!! abstract "Meta"')
|
||||
lines.append('!!! Note "Meta"')
|
||||
lines.append("")
|
||||
lines.append(f" - Released {date} from [`{sha[:7]}`](https://github.com/Anon-Planet/thgtoa/commit/{sha})")
|
||||
lines.append("")
|
||||
|
||||
Reference in New Issue
Block a user