Repository navigation
docs: documentation writing guidelines - #10796
chrisgervang wants to merge 6 commits into
Conversation
|
| - Do not make up an issue number. Ask the contributor for it if it is not known, and remove the | ||
| line if there is none. | ||
|
|
||
| ## Documentation |
There was a problem hiding this comment.
This isn't always followed by an agent but can certainly help in a lot of cases with AI prose/writing (which when produced by certain models is excruciating to read):
- Use plain technical English: prefer concrete nouns and verbs, define only the one term the reader needs, keep claims qualified to their evidence, and use the shortest form that preserves the technical meaning. Plain does not mean vague, casual, or stripped of necessary detail.
|
If the ultimate goal is consistency, it would be great to have this centralized and pointed to by ALL the repos in the vis.gl org, such as the vis.gl/README.md, dev-tools repo, something similar? |
Agreed, I'd like to push these up and share them too. Might make sense to the dev-tools repo to publish a skills-like tool for developers that could pull the latest guides in too. The TSC repo seems like a good place for these to live long term |
I would really appreciate this... I have to keep reminding my agent that an 8 line diff does not need a Bible-length PR description |
|
Some agent instructions I use for my local dev:
|
Follow up of #10707
Background
The vis.gl developer process says which pages to update when behavior changes, but not how to write them, so new pages drift from the voice of the existing reference. Drafts that start from RFCs or PR descriptions tend to read like implementation notes. This PR documents the style existing pages already use, with examples from
PathLayer,DataFilterExtension,FillStyleExtensionandToggleWidget, and before/after rewrites from thePathStyleExtensiondocs (#10584).Change List
dev-docs/documentation-guidelines.md: page outline, voice, props, remarks, demos and figuresAGENTS.md: add "Documentation" sectionCONTRIBUTING.md: link the guidelinesThis description was drafted by an AI coding agent following the PR description guidelines.