Skip to content
book

GitHub Action

Sphinx Problem Matcher

v1.0 Latest version

Sphinx Problem Matcher

book

Sphinx Problem Matcher

Attaches a problem matcher that looks for errors during Sphinx builds

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Sphinx Problem Matcher

uses: sphinx-doc/[email protected]

Learn more about this action in sphinx-doc/github-problem-matcher

Choose a version

Sphinx Problem Matcher

This action adds a problem matcher that catches Sphinx warnings to show them neatly inside your pull requests.

Usage

We suggest using the action as shown below, simply running the action before building your documentation.

Note: This action does not handle actually building your docs.

- uses: sphinx-doc/github-problem-matcher@master

- name: "Build docs"
  run: |
    cd docs
    make html

Example

After using the action, files in pull requests will be annotated:

Example Screenshot