Skip to content
Myr

Update to latest go-md2man (#2201)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Since cpuguy83/go-md2man 2.0.5 no paraTag is written after "SEE ALSO". With go-md2man 2.0.4: .SH SEE ALSO .PP \fBroot-bbb(1)\fP, \fBroot-ccc(1)\fP With go-md2man 2.0.5: .SH SEE ALSO \fBroot-bbb(1)\fP, \fBroot-ccc(1)\fP See: https://github.com/cpuguy83/go-md2man/pull/122

authored by Mikel Olasagasti Uranga · committed by GitHub · parent 02326d5 · Browse files · 3 files+3 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>

Diff stats

3 files+3 added−6 removed

  • other:+3 added−6 removed

3 files+3 added−6 removed

modified:doc/man_docs_test.go-3 removed
139 unmodified lines
140141 if err := assertLineFound(scanner, ".SH SEE ALSO"); err != nil {142 t.Fatalf("Couldn't find SEE ALSO section header: %v", err)143 }144 if err := assertNextLineEquals(scanner, ".PP"); err != nil {145 t.Fatalf("First line after SEE ALSO wasn't break-indent: %v", err)146 }144 if err := assertNextLineEquals(scanner, `\fBroot-bbb(1)\fP, \fBroot-ccc(1)\fP`); err != nil {145 t.Fatalf("Second line after SEE ALSO wasn't correct: %v", err)146 }147}
84 unmodified lines
modified:go.mod+1 added-1 removed
1 unmodified line
23go 1.1545require (6 github.com/cpuguy83/go-md2man/v2 v2.0.46 github.com/cpuguy83/go-md2man/v2 v2.0.57 github.com/inconshreveable/mousetrap v1.1.08 github.com/spf13/pflag v1.0.59 gopkg.in/yaml.v3 v3.0.110)
modified:go.sum+2 added-2 removed
1github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=2github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=1github.com/cpuguy83/go-md2man/v2 v2.0.5 h1:ZtcqGrnekaHpVLArFSe4HK5DoKx1T0rq2DwVB0alcyc=2github.com/cpuguy83/go-md2man/v2 v2.0.5/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=3github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=4github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=5github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=6github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
6 unmodified lines