Skip to content

Commit 773327a

Browse files
committed
fix: Use Docs.HTML instead of Documenter.HTML for inline scripts
The `HTML` type imported from `Documenter` is the format specification type (for configuring HTML output), not for embedding inline HTML content. MultiDocumenter's `custom_scripts` parameter expects `Docs.HTML` from Julia's standard library for inline script content. Fixes build error: MethodError: no method matching HTML(::String) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f9f427c commit 773327a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/make_aggregate.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Documenter: Documenter, HTML
1+
using Documenter: Documenter
22
using LibGit2
33
using Pkg
44
using MultiDocumenter
@@ -256,7 +256,7 @@ MultiDocumenter.make(
256256
),
257257
custom_scripts = [
258258
"https://www.googletagmanager.com/gtag/js?id=G-Q3FE4BYYHQ",
259-
HTML(
259+
Docs.HTML(
260260
"""
261261
window.dataLayer = window.dataLayer || [];
262262
function gtag(){dataLayer.push(arguments);}

0 commit comments

Comments
 (0)