docs: source-align the Echo website in echox
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- go
- Bereich
- accessibility, build-system, documentation, localization, performance, testing-qa
Rechercherichtung
Start with draft PR #447 and the documented CI checks, then review the remaining authored behavior and security claims against both pinned Echo revisions. Native speakers should assess the new localized task-page wording, while a browser preview should cover mobile usability, accessibility, and Core Web Vitals. Done means the remaining review decisions and any cross-repository gate ownership are recorded before publication.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Goal
Make the published Echo documentation accurate against the exact Echo revision it describes while keeping the Astro/Starlight website and all documentation-only files in labstack/echox. Preserve live URLs and important anchors, five locales, cookbook pages, search, Ask AI, and independent website publishing.
This issue was transferred from labstack/echo#3116 after repository ownership was clarified. Echo's API source remains in Echo. Runnable docs examples, reference extraction, authored pages, translations, site code, and deployment belong in echox.
Source revision contract
- Record the Echo commit for each published reference; show it next to generated API facts.
- Compile documentation examples against the recorded Echo source and import the same files into pages.
- Extract facts source can establish: exported config fields and types, deprecations, signatures, and source links. A reviewed baseline must make API drift fail CI with a readable diff.
- Author and review defaults, conditional behavior, security guidance, tutorials, and translations. Extraction alone cannot establish those claims.
- Identify the owning module and version for external middleware.
Implemented in draft PR #447
- Stable and next builds use separate pinned Echo revisions, visible version switches, and separate Pagefind indexes. Existing site URLs remain at the stable root; next lives under
/next/. - Source-backed tables cover all 22 core middleware configs across 20 pages and all five locales. JWT, Prometheus, and OpenTelemetry reference facts come from their pinned module releases.
- Request Logger and Static import the same runnable Go files that the build compiles against the Echo source. These pages correct the drift from #439.
- A middleware task page in every locale connects common goals to pages, examples, and follow-on guide tasks.
- CI checks source/API baselines, translated section freshness on the new and example pages, 676 routes, internal links and assets, image text, locale coverage, and representative HTML/asset size budgets. Offline link auditing also checks fragments.
- The existing website deployment remains in
echox. Echo cleanup PR labstack/echo#3119 has merged, leaving no documentation-only files in Echo.
Remaining review before publication
- Review authored behavior, default, and security claims against both pinned Echo revisions; API extraction does not establish runtime behavior.
- Have native speakers review newly authored Spanish, Japanese, Portuguese, and Chinese task-page wording. Section hashes detect drift but cannot judge translation quality.
- Measure mobile usability, accessibility, and Core Web Vitals in a browser preview. Current checks cover structural accessibility and static size regressions, not those human/browser measurements.
- Decide with Echo maintainers whether a small Echo-to-echox cross-repository PR gate is warranted and how it selects an
echoxref. The site can already test a proposed Echo checkout withECHO_SOURCE_DIR.
The gomarkdoc --embed/--check trial and its limits remain in this repository. Package-wide output is too broad for individual middleware pages, and generated fields do not establish runtime defaults or security behavior.
Acceptance criteria
- Existing live URLs and important anchors resolve; all five locales and cookbook pages remain available.
- Removing or renaming a core middleware API field fails the docs compatibility check until the baseline and affected pages are reviewed.
- Cookbook, runnable reference examples, and site build pass against their recorded Echo revisions. Published references visibly identify those revisions.
- Runtime claims, security notes, translations, and external middleware facts have explicit review and ownership paths.
- Reader-task, accessibility, performance, and URL checks are compared with the recorded baseline before publication.
- Vorherrschende Sprache
- MDX
- Sterne
- 440
- Forks
- 298
- Ø Merge
- 17 Min.
- Gemergte PRs (30 T.)
- 13
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus labstack/echox
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
accessibility good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
LibreChat-AI/LibreChat#17957 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Detail sidebar collapse drops keyboard focusEvtl. vergeben @GYJ99 hat das heute übernommen. Offenproject#dify
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
langgenius/dify#45934 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
Maintainer antworten meist innerhalb von 1 Tag