Skip to content

Commit e72914c

Browse files
Exclude cookie consent from module templates
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 1388fff commit e72914c

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/plugin/psmodule/skills/psmodule-repository-audit/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ in `Template-PSModule`.
9898
- Do not add a `nav` setting. Zensical generates navigation from the staged
9999
folder structure, places index pages first, and sorts the remaining pages
100100
alphabetically.
101+
- Confirm the template does not define `[project.extra.consent]`. Cookie
102+
consent is not a generated-module default and belongs only in a documented
103+
repository-specific configuration that actually requires it.
101104
- Keep the template's theme, palette, typography, icons, plugins, Markdown
102105
extensions, and supported assets together as one baseline.
103106
- Do not copy path-specific settings from `MSXOrg/docs` or

.github/plugin/psmodule/skills/psmodule-zensical-migration/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ For a standard PowerShell module built by Process-PSModule:
6262
- Copy it from the same path in `Template-PSModule` at the recorded commit.
6363
- Keep template placeholders that Process-PSModule resolves while staging the
6464
site.
65+
- Do not add `[project.extra.consent]`. The generated-module template does not
66+
enable cookie-based measurement, so it must not display a consent prompt.
6567
- Use only includes, overrides, and assets that the template supplies and the
6668
Process-PSModule staging pipeline copies.
6769
- Do not create `docs/content/` merely to imitate a documentation repository.

docs/content/reference/repository-standard.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,11 @@ sorts the remaining pages alphabetically. Organize generated function
429429
references through their source folders instead of maintaining a second
430430
navigation tree in TOML.
431431

432+
The template does not define `[project.extra.consent]`. Standard generated
433+
module sites do not enable cookie-based measurement and must not display a
434+
consent prompt. A repository adds consent configuration only when its own
435+
documented functionality requires it.
436+
432437
Repository-specific documentation content remains repository-owned. A module
433438
may depart from the template's site configuration only for a documented
434439
requirement that the shared generated-site profile cannot satisfy.

0 commit comments

Comments
 (0)