Giter Club home page Giter Club logo

vale-splunk-style-guide's Introduction

Vale is an open source prose linter that can check the content of documents in several formats against style guide rules. The goal of a prose linter is automating style guide checks in docs-as-code environments, so that style issues are detected before deploy or while editing documentation in a code editor. This repo contains a set of linting rules for Vale based on the Splunk Style Guide.

Get started

  1. Clone the repository.
  2. Install Vale with brew install vale or similar commands. See Installation.
  3. (Optional) Install the Vale add-on for Visual Studio Code.
  4. (Optional) Set vale.core.useCLI to true in the extension settings.
  5. Run vale . from the root folder of the repo, or save/edit a file using Visual Studio Code.

For more information, see Usage.

Folder structure

  • .vale.ini contains the Vale settings. See Configuration.
  • styles/Splunk contains the Splunk rules for Vale. See Styles.

Use as a git submodule

To use the contents of this repository as a git submodule, run the following git commands from the target repo:

git submodule add [email protected]:splunk/vale-splunk-style-guide.git
git submodule update --init --recursive
git commit -m "Added the Vale submodule to the project."
git push

Copy the sample .vale.ini file to the root of your repository, and change the path to point to the submodule:

StylesPath = vale/styles

To update the submodule, run the following git command from the root folder of the repository:

git submodule update --remote --merge

Resources

License

This software is licensed under the Apache License 2.0. Details can be found in the file LICENSE.

vale-splunk-style-guide's People

Contributors

theletterf avatar wordsmeanstuff avatar erica-splunk avatar colliercz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.