Skip to content

Commit

Permalink
fix: support rst2html-3
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Kato <joseph@jdkato.io>
  • Loading branch information
jdkato committed Jan 7, 2021
1 parent 70224e8 commit c817e27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/lint/rst.go
Expand Up @@ -142,7 +142,8 @@ func (l *Linter) lintSphinx(f *core.File) error {
func (l *Linter) lintRST(f *core.File) error {
var html string

rst2html := core.Which([]string{"rst2html", "rst2html.py"})
rst2html := core.Which([]string{
"rst2html", "rst2html.py", "rst2html-3", "rst2html-3.py"})
python := core.Which([]string{
"python", "py", "python.exe", "python3", "python3.exe", "py3"})

Expand Down

0 comments on commit c817e27

Please sign in to comment.