Skip to content

Commit

Permalink
Merge pull request #12146 from hasezoey/docsDeprecated
Browse files Browse the repository at this point in the history
docs(api_split): add basic DEPRECATED output
  • Loading branch information
vkarpov15 committed Jul 25, 2022
2 parents d2d0c01 + 5f86151 commit 4c596ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api_split.pug
Expand Up @@ -50,6 +50,8 @@ block content
h3(id=prop.anchorId)
a(href='#' + prop.anchorId)
| #{prop.string}
if prop.deprecated
<span class="deprecated">~DEPRECATED~</span>
if prop.param != null
h5 Parameters
ul.params
Expand Down
4 changes: 4 additions & 0 deletions docs/css/api.css
Expand Up @@ -155,3 +155,7 @@ hr.separate-api {
text-transform: uppercase;
letter-spacing: .2px;
}

.deprecated {
color: #ff0000;
}

0 comments on commit 4c596ac

Please sign in to comment.