From e8205302e34d63e2e6c4d3008a81fbbb3d0eb163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20K=C5=82ys?= Date: Sat, 11 Apr 2026 10:13:28 +0200 Subject: [PATCH] Standardize website content layout --- Build/Export-WebsiteArtifacts.ps1 | 2 +- Website/README.md | 19 +++++++++++++++++++ .../content}/examples/_index.md | 0 .../examples/backup-disabled-or-empty-gpos.md | 0 .../find-group-policy-permission-issues.md | 0 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 Website/README.md rename {content => Website/content}/examples/_index.md (100%) rename {content => Website/content}/examples/backup-disabled-or-empty-gpos.md (100%) rename {content => Website/content}/examples/find-group-policy-permission-issues.md (100%) diff --git a/Build/Export-WebsiteArtifacts.ps1 b/Build/Export-WebsiteArtifacts.ps1 index ff247fc..696f6df 100644 --- a/Build/Export-WebsiteArtifacts.ps1 +++ b/Build/Export-WebsiteArtifacts.ps1 @@ -238,7 +238,7 @@ $manifest = [ordered]@{ artifacts = [ordered]@{ api = 'WebsiteArtifacts/apidocs' docs = 'Website/content/project-docs' - examples = 'content/examples' + examples = 'Website/content/examples' } } diff --git a/Website/README.md b/Website/README.md new file mode 100644 index 0000000..5d144a9 --- /dev/null +++ b/Website/README.md @@ -0,0 +1,19 @@ +# GPOZaurr Website Content + +This folder contains curated source content that the Evotec website imports for the GPOZaurr project page. + +## Layout + +- `content/project-docs/` contains short project documentation pages shown under `/projects/gpozaurr/docs/`. +- `content/examples/` contains curated website examples shown under `/projects/gpozaurr/examples/`. +- `WebsiteArtifacts/` is generated by `Build/Export-WebsiteArtifacts.ps1` at the repository root and is intentionally ignored by Git. + +## Editing Rules + +- Keep this folder intentional and small. +- Do not mirror the raw `Examples/` folder into the public website. +- Add only examples that have a clear explanation, a small code sample, and a link back to the original source file. +- Keep links rooted at `/projects/gpozaurr/` so the same content works on localhost, `evotec.xyz`, and `evotec.pl`. +- Run `Build/Export-WebsiteArtifacts.ps1` when API artifacts need to be refreshed. + +The website pipeline prefers this `Website/content/...` layout over legacy root-level content folders. diff --git a/content/examples/_index.md b/Website/content/examples/_index.md similarity index 100% rename from content/examples/_index.md rename to Website/content/examples/_index.md diff --git a/content/examples/backup-disabled-or-empty-gpos.md b/Website/content/examples/backup-disabled-or-empty-gpos.md similarity index 100% rename from content/examples/backup-disabled-or-empty-gpos.md rename to Website/content/examples/backup-disabled-or-empty-gpos.md diff --git a/content/examples/find-group-policy-permission-issues.md b/Website/content/examples/find-group-policy-permission-issues.md similarity index 100% rename from content/examples/find-group-policy-permission-issues.md rename to Website/content/examples/find-group-policy-permission-issues.md