Skip to content

Commit

Permalink
chore: site docs page add api anchor (#21736)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshoneA committed Mar 1, 2020
1 parent 301529e commit e59d606
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/theme/template/Content/ComponentDoc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ class ComponentDoc extends React.Component {
<Affix className="toc-affix" offsetTop={16}>
<ul id="demo-toc" className="toc">
{jumper}
{doc.api && (
<li key="API" title="API">
<a href="#API">API</a>
</li>
)}
</ul>
</Affix>
<section className="markdown">
Expand Down

0 comments on commit e59d606

Please sign in to comment.