-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
godoc: avoid skipping heading level in package docs
The heading of the #pkg-index section of package documentation pages uses an h2 heading but its 'Examples' and 'Package files' subsections use h4 headings, skipping the h3 level. This change switches the h4s to h3s and adds styling to preserve the current font-size with the new heading level. For golang/go#22171 Change-Id: Ifd2cacab22c1e82fd6f061b9322523fa5859a80f Reviewed-on: https://go-review.googlesource.com/69171 Reviewed-by: jimmy frasche <soapboxcicero@gmail.com> Reviewed-by: Andrew Bonventre <andybons@golang.org>
- Loading branch information
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,6 +144,9 @@ div#nav table td { | |
} | ||
|
||
|
||
#pkg-index h3 { | ||
font-size: 16px; | ||
} | ||
.pkg-dir { | ||
padding: 0 10px; | ||
} | ||
|