Skip to content

Commit

Permalink
Merge pull request #12153 from hasezoey/addCodeToSidebar
Browse files Browse the repository at this point in the history
docs(api_split.pug): add "code" to sidebar entries
  • Loading branch information
vkarpov15 authored Aug 3, 2022
2 parents da80e5b + 97be3cf commit 18b6199
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api_split.pug
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ block content
each prop in item.props
li
a(href='#' + prop.anchorId)
| #{prop.string}
| <code>#{prop.string}</code>
- else
div.nav-item-title
a(href=item.name.toLowerCase() + '.html')
Expand Down
4 changes: 4 additions & 0 deletions docs/css/api.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
font-size: 0.66em;
}

.nav-item-sub > li {
padding: 2px 0px;
}

.api-nav ul {
margin-top: 0.25em;
padding-left: 1em;
Expand Down

0 comments on commit 18b6199

Please sign in to comment.