Add next to your file to inject custom CSS, JavaScript, or HTML into the generated site. This is how you bring in your own stylesheets, load scripts used by the javascript plugin, embed tracking snippets, or ship extra static files along with the docs. All paths are resolved relative to your documentation root (the directory that holds the file). extensions.json toc toc

cssResources

List of CSS files to load on every page. Note: a file named placed next to is picked up automatically, no need to list it here. See Styling. style.css toc

jsResources

List of JavaScript files to load on every page. Use this to register custom functions for the javascript plugin.

htmlResources

List of HTML snippets injected into the of every page useful for widgets, chat bubbles, or any markup that needs to live alongside the rendered content. <body>

htmlHeadResources

List of HTML snippets injected into the of every page. Common use cases are analytics tags, preconnect hints, or extra entries. Note: a file named placed next to is picked up automatically. <head> <meta> tracking.html toc

additionalFilesToDeploy

List of extra files to copy into the deploy output. Use this for assets referenced by your custom CSS/JS that znai would not otherwise discover fonts, icons, supporting JSON, and so on. Note: for broader file/directory copying, see additional files.