place-labs / orthograph-err

Automated docs reviewer. Robotic grammar enthusiast.
MIT License
5 stars 3 forks source link

Full style guide #8

Closed mghill closed 3 years ago

mghill commented 3 years ago

A lot of the current phase of customizing Orthograph-err is in finding & detailing specific exceptions. I foresee future stages involving higher/broader decisions such as consistent use of second person or title case, which are the typical jurisdiction of style guides. Textlint supports rule-presets which could be useful in both of these cases, or at least could be implemented alongside a full style guide as a fallback.

For example, google has a style guide for technical documentation which has a community-implemented textlint-rule-preset https://github.com/textlint-rule/textlint-rule-preset-google and https://developers.google.com/style

kimburgess commented 3 years ago

100% agree on setting up a rule preset, however it is a discussion outside the scope of orthograph-err.

As a tool, orthograph-err purely makes a set of rules available. These are all disabled by default. When used as an action, it loads config from the repo's local .textlintrc which defines which rules should be enabled, and how they are configured. This configuration is then used to annotate the associated commits on GitHub.

I'll bump this issue across to our docs repo to continue discussion on how / where to create and publish a human read-able guide. That can then be used to create a textlint preset which encodes this, and can finally be loaded back here as the default behaviour.

mghill commented 3 years ago

Yep, that order of events makes sense to me. This is actually a docs issue which kinda surrounds orthograph-err.

kimburgess commented 3 years ago

GitHub does not appear to allow cross-org issue transfers. New issue created above to continue discussion.