Skip to content

Conversation

@MoritzWeber0
Copy link
Member

@MoritzWeber0 MoritzWeber0 commented May 14, 2025

The previous usage of archetypes wasn't properly documented. In addition, the generated content raised syntax errors.

I rewrote the archetypes to use HTML comments to describe the type of content that is expected. The comments are stripped in the production environment with the --minify flag. The main advantage is that it's easier to get started and the page can be shared earlier since it doesn't contain any generic content anymore.

To try it out, follow the new instructions in the CONTRIBUTING.md (should be part of the wiki too).

@netlify
Copy link

netlify bot commented May 14, 2025

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit 3417f9b
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/682de96aee20ec0007fbd606
😎 Deploy Preview https://deploy-preview-139--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@MoritzWeber0 MoritzWeber0 force-pushed the archetypes branch 2 times, most recently from 939656d to 7769378 Compare May 16, 2025 21:12
@MoritzWeber0 MoritzWeber0 requested a review from Copilot May 16, 2025 21:12
@MoritzWeber0 MoritzWeber0 marked this pull request as ready for review May 16, 2025 21:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds improved archetypes and documentation for creating new operator and country pages while deprecating older archetype files.

  • Introduces new operator and country archetypes for both English and German content with updated snippets.
  • Removes legacy archetype files and updates CONTRIBUTING.md with instructions for adding new pages.

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
content/operator/ns/index.en.md Added snippet for work-in-progress indication.
content/operator/ns/index.de.md Added snippet for work-in-progress indication.
archetypes/operator/index.en.md New operator archetype in English with detailed sections and snippet.
archetypes/operator/index.de.md New operator archetype in German with detailed sections and snippet.
archetypes/operator.en.md Removed legacy operator archetype.
archetypes/operator.de.md Removed legacy operator archetype.
archetypes/country/index.en.md New country archetype in English with updated structure.
archetypes/country/index.de.md New country archetype in German with updated structure.
archetypes/country.en.md Removed legacy country archetype.
archetypes/country.de.md Removed legacy country archetype.
CONTRIBUTING.md Added instructions for creating new pages.

The previous usage of archetypes wasn't properly documented.

In addition, the generated content wasn't ready to go, instead it raised serveral syntax errors.
@MoritzWeber0 MoritzWeber0 added the technical Technical issues, e.g. related to Hugo, HTML, CSS, deployment, etc. label May 18, 2025
@lenderom lenderom merged commit cd4949b into main May 21, 2025
7 checks passed
@lenderom lenderom deleted the archetypes branch May 21, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Technical issues, e.g. related to Hugo, HTML, CSS, deployment, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants