Implementation

Code-level structure and conventions for the OpenTelemetry website, including Hugo/Docsy templates, SCSS/JS customizations, patches, and internal shims.

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.


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

Style guide

Code-level style conventions for Hugo templates