Skip to content

Vale-compatible style definitions for Vates projects.

Notifications You must be signed in to change notification settings

xcp-ng/vale-styles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vates styles for Vale

This repository contains the Vates documentation style rules, configuration, scripts, and GitHub Action for linting documentation with Vale for Vates style compliance.

This repository:

  • action.yml
    • The GitHub action.
  • styles/
    • The styles directory to be used by Vale.
  • styles/gitlab
    • The modified version of GitLab's documentation style (see styles/LICENSE for license information).
  • styles/vates
    • style rules specific to Vates
  • setup.sh
    • This script prepares a repository for using Vale against Vates-style documents.

Using the GitHub Action

To use the GitHub action in another repository, configure your GitHub CI yaml to use xcp-ng/vale-styles@vX.Y and supply it with the glob of the paths that Vale should lint to the with: field. Below is an example:

---
name: Linting
on: [push]

jobs:
  style:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Style
        uses: xcp-ng/vale-styles@v0.1
        with:
          files: docs/*

About

Vale-compatible style definitions for Vates projects.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages