mirror of
https://github.com/golang/go
synced 2024-11-20 08:24:42 -07:00
4b62e8d7ef
.or works in .repeated so remove the comment. the bug was in the template: .section executes iff the field is non-empty. R=gri DELTA=13 (6 added, 7 deleted, 0 changed) OCL=27710 CL=27712
11 lines
174 B
Plaintext
11 lines
174 B
Plaintext
{.repeated section Packages}
|
|
godoc {pakname}
|
|
{.or}
|
|
godoc: package not found: {Path}
|
|
{.end}
|
|
{.section Packages}
|
|
{.repeated section Subdirs}
|
|
godoc {Path}/{Name}/
|
|
{.end}
|
|
{.end}
|