Skip to content

riscv-admin/riscv-vale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

151 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vale for RISC-V documentation

This repository provides RISC-V specification authors with Vale rulesets that implement RISC-V International's recommended language and style guidelines.

Introduction

Vale is a command-line tool that brings code-like linting to prose. RISC-V International uses Vale to implement the rules defined by the Doc-Sig and approved by the TSC.

The rules are outlined in the Authoring and Editing RISC-V Specifications guide.

Adding the Vale Workflow

RISC-V International has implemented a reusable Vale workflow th

Running Vale on a GitHub repository

Follow these steps to add and enable Vale to your GitHub repository.

  1. Install Vale with brew install vale (macOS) or choco install vale (Windows).
  2. Copy the .vale.ini file from this repository to the root of your specification's repository.
  3. Copy the vale-using-reusable.yml workflow file from this repository to the .github/workflows directory of you specification's repository.
    • This workflow will be triggered on any pushes or pull requests to your repository.
  4. Download the RISC-V Vale rules to your repository locally but no need to add them to Git.
    • open a terminal and change to the root of your extensions repository
    • run the command vale sync
  5. For realtime recommendations, add the Vale VSCode extension from the marketplace.

About

This repository serves to provide RISC-V specification authors with Vale rulesets that implement RISC-V International's recommended language and style guidelines.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors