Skip to content

docs(zsh-lint): add generated-reference markers#755

Merged
ss-o merged 1 commit into
nextfrom
feature-zsh-lint-docs-markers
May 28, 2026
Merged

docs(zsh-lint): add generated-reference markers#755
ss-o merged 1 commit into
nextfrom
feature-zsh-lint-docs-markers

Conversation

@ss-o
Copy link
Copy Markdown
Member

@ss-o ss-o commented May 28, 2026

Summary

Re-adds the {/* zsh-lint:generated:start/end */} markers to the Zsh Lint
ecosystem page and seeds the region with the current generated Go reference.

This is the missing piece for the wiki-docs-sync workflow in
z-shell/zsh-lint: that job runs
gomarkdocwikidoc and injects the result between these markers, then
opens a PR here. Without the markers the inject step errored
(wikidoc: start marker ... not found). Seeding the region means the first
automated sync is a no-op diff rather than a failure.

The marked region is machine-managed — do not hand-edit; it is regenerated
from the repo's Go doc comments.

Test plan

  • wikidoc inject ran clean against this page (exit 0)
  • @mdx-js/mdx v3 compile passes
  • Cloudflare Pages preview build green

Re-add the {/* zsh-lint:generated:start/end */} markers to the Zsh Lint
ecosystem page so the wiki-docs-sync pipeline from z-shell/zsh-lint has a
region to inject into. Seed the region with the current generated Go
reference so the first automated sync is a no-op rather than a failure.

The marked region is machine-managed — do not hand-edit; it is regenerated
from the repo's Go doc comments.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 28, 2026

Deploying zsh with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3e9d058
Status: ✅  Deploy successful!
Preview URL: https://7187e2d7.zsh.pages.dev
Branch Preview URL: https://feature-zsh-lint-docs-marker.zsh.pages.dev

View logs

Copilot AI review requested due to automatic review settings May 28, 2026 22:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores the zsh-lint:generated:start/end markers on the zsh-lint ecosystem page and seeds the generated region with the current Go API reference so the wiki-docs-sync workflow in z-shell/zsh-lint can inject updates without failing.

Changes:

  • Add a “Reference” section containing zsh-lint:generated:start/end markers.
  • Seed the marked region with the current gomarkdoc-generated package reference.

Comment on lines +45 to +49
# zsh\-lint

import "github.com/z-shell/zsh-lint/cmd/zsh-lint"

Command zsh\-lint surveys Zsh files with the mvdan/sh parser front end and reports parse success or failure per file \(reboot parser\-evaluation phase, issues \#5, \#8\). Lint rule diagnostics \(issue \#18\) build on this foundation.
Comment on lines +55 to +59
# survey

import "github.com/z-shell/zsh-lint/internal/survey"

Package survey runs the parser front end across a set of Zsh files and reports, per file, whether parsing succeeded. It produces greppable \`path:line:col: message\` diagnostics for failures and a one\-line summary.

## Index

- [func Run\(names \[\]string, w io.Writer\) int](#Run)
@ss-o ss-o merged commit e97da25 into next May 28, 2026
7 checks passed
@ss-o ss-o deleted the feature-zsh-lint-docs-markers branch May 28, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants