Custom Scripts
Custom JS
Add JavaScript functionality globally
Custom JS is available as an add-on to the Pro plan.
Custom JS allows you to add custom executable code globally. It is the equivalent of adding a <script>
tag with JS code into every page.
Adding Custom JavaScript
Any .js
file inside the content directory of your docs will be included in every documentation page. For example, you can add the following ga.js
file to enable Google Analytics across the entire documentation.
Please use with caution to not introduce security vulnerabilities.
Was this page helpful?