Site scripts
Where the site’s own JavaScript loads, how a script is gated to a page, and what Hugo pagination and Docsy’s sidebar hydration mean for one that acts on the sidebar
This section documents code-level structure and conventions for the OpenTelemetry website. It is the source of truth for how we write and organize template, style, and script code, as distinct from the design decisions recorded under Design.
Where the site’s own JavaScript loads, how a script is gated to a page, and what Hugo pagination and Docsy’s sidebar hydration mean for one that acts on the sidebar
Code-level style conventions for Hugo templates