Skip to content

Commit 0ea5390

Browse files
Merge pull request #39 from PythonWoods/feat/docusaurus-adapter-v0.6.0a1
v0.6.0a1: Obsidian Glass — Headless Architecture & Docusaurus Support
2 parents f860e8b + 6adfd26 commit 0ea5390

178 files changed

Lines changed: 888 additions & 21870 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/docs_issue.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
paths:
1212
- 'src/**'
1313
- 'tests/**'
14-
- 'docs/**'
1514
- 'pyproject.toml'
1615
- 'uv.lock'
1716
- 'noxfile.py'
@@ -23,7 +22,6 @@ on:
2322
paths:
2423
- 'src/**'
2524
- 'tests/**'
26-
- 'docs/**'
2725
- 'pyproject.toml'
2826
- 'uv.lock'
2927
- 'noxfile.py'
@@ -83,23 +81,6 @@ jobs:
8381
- name: Run pip-audit
8482
run: uvx nox -s security
8583

86-
docs:
87-
name: Documentation
88-
runs-on: ubuntu-latest
89-
steps:
90-
- uses: actions/checkout@v6
91-
92-
- name: Install uv
93-
uses: astral-sh/setup-uv@v7
94-
with:
95-
enable-cache: true
96-
97-
- name: Generate build artifacts
98-
run: zip -qr docs/assets/brand-kit.zip docs/assets/brand/
99-
100-
- name: Build docs (strict) + Zenzic self-check
101-
run: uvx nox -s docs preflight
102-
10384
reuse:
10485
name: REUSE Compliance
10586
runs-on: ubuntu-latest

.github/workflows/deploy-docs.yml

Lines changed: 0 additions & 113 deletions
This file was deleted.

.github/workflows/zenzic.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.gitignore

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,12 @@ zenzic_report/ # Optional HTML report exports from zenzic
102102
.zenzic-score.json
103103

104104
# ────────────────────────────────────────────────────────────────────────────
105-
# MkDocs, Zensical & Documentation
105+
# Documentation build caches (user projects, not Zenzic's own docs)
106106
# ────────────────────────────────────────────────────────────────────────────
107107
site/
108-
pdf/ # with-pdf output directory
108+
pdf/
109109
.mkdocs_cache/
110-
.zensical_cache/ # Reserved for a future Zensical cache
111-
*.pdf # Exclude locally generated PDF manuals from commits
112-
# Build artifact — generated by run_demo.sh and CI; never committed
113-
docs/assets/brand-kit.zip
110+
.zensical_cache/
114111

115112
# ────────────────────────────────────────────────────────────────────────────
116113
# Web & JS (Optional but recommended)
@@ -175,14 +172,11 @@ Desktop.ini
175172
.gitlab-ci-local/
176173
.wrangler/ # Cloudflare Wrangler local cache
177174

178-
# ============================================================================
179-
# Local scratch notes (never committed)
180-
# ============================================================================
175+
# ────────────────────────────────────────────────────────────────────────────
176+
# Migration staging area (v0.6.0a1 — Clean Harbor)
177+
# ────────────────────────────────────────────────────────────────────────────
181178
.temp/
182179

183-
# Lucide icon set — downloaded at build time by nox/CI, not committed
184-
overrides/.icons/lucide/
185-
186180
# ============================================================================
187181
# End of .gitignore
188182
# ============================================================================

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ repos:
7171

7272
- id: zenzic
7373
name: Zenzic self-check
74-
entry: bash -c "mkdir -p docs/assets && zip -qr docs/assets/brand-kit.zip docs/assets/brand/ && uv run zenzic check all --strict"
74+
entry: uv run zenzic check all --strict
7575
language: system
7676
types_or: [python, markdown, yaml]
7777
pass_filenames: false

CHANGELOG.it.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,29 @@ Le versioni seguono il [Semantic Versioning](https://semver.org/).
1111

1212
## [Non rilasciato]
1313

14+
## [0.6.0a1] — 2026-04-12 — Obsidian Glass
15+
16+
> **Alpha 1 della serie v0.6.** Zenzic evolve da un linter MkDocs-aware a un
17+
> **Analizzatore di Piattaforme Documentali**. Questo rilascio introduce
18+
> l'adapter per il motore Docusaurus v3 — il primo adapter non-MkDocs/Zensical —
19+
> e segna l'inizio della strategia di migrazione Obsidian Bridge.
20+
21+
### Aggiunto
22+
23+
- **Adapter Docusaurus v3** (`DocusaurusAdapter`): Supporto iniziale per il motore
24+
Docusaurus v3 — adapter puro Python conforme al protocollo `BaseAdapter`. Gestisce
25+
file sorgente `.md` e `.mdx`, modalità sidebar auto-generata (tutti i file
26+
`REACHABLE`), geografia i18n Docusaurus
27+
(`i18n/{locale}/docusaurus-plugin-content-docs/current/`), rilevamento Ghost Route
28+
per le pagine indice delle locale, ed esclusione di file/directory con prefisso `_`
29+
(`IGNORED`). Registrato come adapter built-in con entry-point
30+
`docusaurus = "zenzic.core.adapters:DocusaurusAdapter"`.
31+
- **Estrazione `baseUrl`**: Estrazione chirurgica via regex di `baseUrl` da
32+
`docusaurus.config.ts` / `.js` — nessun sottoprocesso Node.js (conformità
33+
Pilastro 2).
34+
- **Hook factory `from_repo()`** per `DocusaurusAdapter`: Scopre automaticamente
35+
`docusaurus.config.ts` o `.js` e costruisce l'adapter con il `baseUrl` corretto.
36+
1437
## [0.5.0a5] — 2026-04-09 — Il Codex Sentinel
1538

1639
> **Rilascio Alpha 5.** Revisione del linguaggio visivo: Guida di Stile Sentinel,

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,28 @@ Versions follow [Semantic Versioning](https://semver.org/).
1111

1212
## [Unreleased]
1313

14+
## [0.6.0a1] — 2026-04-12 — Obsidian Glass
15+
16+
> **Alpha 1 of the v0.6 series.** Zenzic evolves from a MkDocs-aware linter into
17+
> an **Analyser of Documentation Platforms**. This release introduces the
18+
> Docusaurus v3 engine adapter — the first non-MkDocs/Zensical adapter — and
19+
> marks the beginning of the Obsidian Bridge migration strategy.
20+
21+
### Added
22+
23+
- **Docusaurus v3 adapter** (`DocusaurusAdapter`): Initial support for Docusaurus v3
24+
engine — pure Python adapter satisfying the `BaseAdapter` protocol. Handles `.md`
25+
and `.mdx` source files, auto-generated sidebar mode (all files `REACHABLE`),
26+
Docusaurus i18n geography (`i18n/{locale}/docusaurus-plugin-content-docs/current/`),
27+
Ghost Route detection for locale index pages, and `_`-prefixed file/directory
28+
exclusion (`IGNORED`). Registered as built-in adapter with entry-point
29+
`docusaurus = "zenzic.core.adapters:DocusaurusAdapter"`.
30+
- **`baseUrl` extraction**: Surgical regex extraction of `baseUrl` from
31+
`docusaurus.config.ts` / `.js` — no Node.js subprocess (Pillar 2 compliance).
32+
- **`from_repo()` factory hook** for `DocusaurusAdapter`: Auto-discovers
33+
`docusaurus.config.ts` or `.js` and constructs the adapter with the correct
34+
`baseUrl`.
35+
1436
## [0.5.0a5] — 2026-04-09 — The Sentinel Codex
1537

1638
> **Alpha 5 Release.** Visual-language overhaul: Sentinel Style Guide,

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ abstract: >
1515
scanner (the Shield). Built on pure functional principles in Python 3.11+, it operates
1616
source-first — no build framework required — and integrates with any Markdown-based
1717
documentation system via a plugin adapter protocol.
18-
version: 0.5.0a5
19-
date-released: 2026-04-09
18+
version: 0.6.0a1
19+
date-released: 2026-04-12
2020
url: "https://zenzic.pythonwoods.dev/"
2121
repository-code: "https://github.com/PythonWoods/zenzic"
2222
license: Apache-2.0

0 commit comments

Comments
 (0)