diff --git a/docs/src/config.toml b/docs/src/config.toml index 0d26241bc..4dbe047fd 100644 --- a/docs/src/config.toml +++ b/docs/src/config.toml @@ -12,3 +12,6 @@ tag = "tags" [markup.goldmark.renderer] unsafe = true + +[security.funcs] +getenv = ["DOCS_ARCHIVE"] diff --git a/docs/src/content/overview-features.md b/docs/src/content/overview-features.md index ef90aa430..725234f95 100644 --- a/docs/src/content/overview-features.md +++ b/docs/src/content/overview-features.md @@ -94,10 +94,10 @@ The _separator_ is arbitrary, and is defined by the first character (`|` in the Pattern | Description ------- | ----------- -`|example.com/main.js|~/main-local.js` | Replace `example.com/main.js` with `~/main-local.js`. -`|example.com/static|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/foo/bar.css`. -`|example.com/static/foo|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/bar.css`. -`|~m GET|example.com/static|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/foo/bar.css` (but only for GET requests). +`\|example.com/main.js\|~/main-local.js` | Replace `example.com/main.js` with `~/main-local.js`. +`\|example.com/static\|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/foo/bar.css`. +`\|example.com/static/foo\|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/bar.css`. +`\|~m GET\|example.com/static\|~/static` | Replace `example.com/static/foo/bar.css` with `~/static/foo/bar.css` (but only for GET requests). ### Details