Skip to content
This repository has been archived by the owner on Jul 18, 2021. It is now read-only.
/ orthograph-err Public archive

Automated docs reviewer. Robotic grammar enthusiast.

License

Notifications You must be signed in to change notification settings

place-labs/orthograph-err

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is no longer maintained.

Usage can be simplified by using Textlint directly with problem matchers.

Please see here for an example migration.


Orthograph-err

An orthography is a set of conventions for writing a language. It includes norms of spelling, hyphenation, capitalisation, word breaks, emphasis, and punctuation.

A GitHub Action for proofreading content. It provides feedback on documentation, user guides and other text content within your project. Using the wonderfully flexible TextLint any orthographic errors will appear as inline annotations.

Usage

Your repository should contain a TextLint configuration file. This defines the active rules and desired writing style.

With this in place, include this action in any workflows that can need feedback. PR's or commits to master / release branches are a good option for this.

- uses: place-labs/orthograph-err@v1
  with:
    # File path with the content to review.
    # Default: {,!(node_modules)/**/}*.md
    path: ''

    # GitHub personal access token to update check status with. When issues are
    # found the associate commit with be annotate with these. This token MUST
    # have `check_write` access to the target repository. In most cases this can
    # can remain as the default (GitHub Actions).
    # Default: ${{ github.token }}
    token: ''

Issues will appear as inline annotations against their source. Each enabled rules engine will receive it's own check, which may used for branch protection if desired.

For an example of this action in use, see PlaceOS/docs.

Supported Rules Engines

Filter Rules

To add rules engines, or filters fork this repository, then npm install <rule>.

If it's a commonly useful rule, PR's are open <3.