mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 03:26:57 +02:00
feat: highlight nav item in onPageNav ToC (#1524)
* feat: highlight nav item in onPageNav ToC * fix: use es5 in browser scripts, update documentation, css refactoring * fix: removes smooth scroll * fix: removes unnecessary codeblock , undo css formatting issues, modify scrip load url * fix: update scrollspy script comments
This commit is contained in:
parent
b267d8136d
commit
9514593d5f
3 changed files with 74 additions and 3 deletions
|
@ -172,6 +172,7 @@ class Head extends React.Component {
|
|||
}}
|
||||
/>
|
||||
)}
|
||||
<script src={`${this.props.config.baseUrl}js/scrollSpy.js`} />
|
||||
{this.props.config.usePrism && (
|
||||
<link
|
||||
rel="stylesheet"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue