diff --git a/.github/workflows/sync-spec.yml b/.github/workflows/sync-spec.yml index f960b13..146f0dd 100644 --- a/.github/workflows/sync-spec.yml +++ b/.github/workflows/sync-spec.yml @@ -8,6 +8,7 @@ on: permissions: contents: write + actions: write jobs: sync: @@ -45,6 +46,8 @@ jobs: # derived from flowmcp-spec. - name: Sync, commit and push (race-safe) working-directory: flowmcp.github.io + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" @@ -60,6 +63,14 @@ jobs: git commit -m "chore: sync spec from flowmcp-spec [auto]" if git push origin HEAD:"$BRANCH"; then echo "Pushed on attempt $attempt." + # A push made with GITHUB_TOKEN does NOT trigger deploy.yml's + # `on: push` (GitHub loop-protection), so synced spec changes would + # never go live on their own. Explicitly dispatch the deploy + # workflow. (Alternative: push these changes with a PAT instead of + # GITHUB_TOKEN, which would trigger `on: push` naturally.) + if [ "$BRANCH" = "main" ]; then + gh workflow run deploy.yml --ref "$BRANCH" || echo "::warning::deploy dispatch failed; site may not redeploy until next push" + fi exit 0 fi echo "Push rejected on attempt $attempt — concurrent push moved $BRANCH. Resetting to remote and re-syncing." diff --git a/src/components/HeaderCopyButton.astro b/src/components/HeaderCopyButton.astro index a26ada9..532a87f 100644 --- a/src/components/HeaderCopyButton.astro +++ b/src/components/HeaderCopyButton.astro @@ -1,5 +1,5 @@ --- -// HeaderCopyButton.astro — Memo 064 Phase 4 PRD-009 +// HeaderCopyButton.astro // ONE small icon-only button injected on the heading line of every content page // (via the PageTitle override). Click copies the page content as Markdown. // @@ -128,8 +128,8 @@ const labels = LABELS[ lang ] const getPageMarkdown = async ( slug ) => { if( !slug ) { throw new Error( 'HeaderCopyButton: missing slug' ) } const trimmed = slug.replace( /^\/+|\/+$/g, '' ) - // Memo 069 PRD-002: the slug comes from the URL pathname, so a directory - // page like /about/ yields slug "about". The generator + // The slug comes from the URL pathname, so a directory page like + // /about/ yields slug "about". The generator // (generate-markdown-map.mjs) writes index pages as {dir}/index.md, so // "about" → about/index.md, not about.md. Try the direct file first, then // fall back to the {slug}/index.md variant for directory-index pages. diff --git a/src/components/PageTitleWithBreadcrumb.astro b/src/components/PageTitleWithBreadcrumb.astro index 7dcb564..315d6a2 100644 --- a/src/components/PageTitleWithBreadcrumb.astro +++ b/src/components/PageTitleWithBreadcrumb.astro @@ -4,9 +4,9 @@ import Breadcrumb from './Breadcrumb.astro' import SidebarHooks from './SidebarHooks.astro' import HeaderCopyButton from './HeaderCopyButton.astro' -// Memo 064 Phase 4 PRD-009: exactly ONE small copy button on the heading line -// of every documentation page, injected via this PageTitle override. Replaces -// all manual per-page embeds. +// Exactly ONE small copy button on the heading line of every documentation +// page, injected via this PageTitle override. Replaces all manual per-page +// embeds. // // Suppressed on splash/landing pages (homepage, blog index, blog posts): those // hide the page title and have no per-slug markdown source, so the button would diff --git a/src/content/docs/de/quickstart/how-it-works.md b/src/content/docs/de/quickstart/how-it-works.md index 17452b4..424f9f3 100644 --- a/src/content/docs/de/quickstart/how-it-works.md +++ b/src/content/docs/de/quickstart/how-it-works.md @@ -90,7 +90,7 @@ Die Schema-Schicht ist dein Arbeitsbereich. Alles andere wird von der Runtime ue ## Schema-Anatomie -Jedes FlowMCP v4.1.0 Schema nutzt das **Two-Export-Pattern**: +Jedes FlowMCP v4.3.0 Schema nutzt das **Two-Export-Pattern**: ### main (erforderlich) @@ -227,5 +227,5 @@ Schemas, die versuchen Module zu importieren, auf das Dateisystem zuzugreifen od ::: :::note -Fuer die vollstaendige Spezifikation einschliesslich aller Validierungsregeln, Parameterformate und Sicherheitsdetails, siehe die [Spezifikation v4.1.0](/de/specification/overview/). +Fuer die vollstaendige Spezifikation einschliesslich aller Validierungsregeln, Parameterformate und Sicherheitsdetails, siehe die [Spezifikation v4.3.0](/de/specification/overview/). ::: diff --git a/src/content/docs/team/index.mdx b/src/content/docs/team/index.mdx index 031527e..203ea76 100644 --- a/src/content/docs/team/index.mdx +++ b/src/content/docs/team/index.mdx @@ -12,26 +12,7 @@ experience in API design, developer tooling, and open data. ## Team -{/* - TODO (PRD-31, Memo 052 Phase 8): Team-Mitglieder mit User-Sign-off einfuegen. - - Personen-Daten erfordern explizite Freigabe. Pro Person folgendes Schema: - - ### Person Name - ![Photo](/images/team/person-slug.png) - **Role:** Maintainer / Co-Founder / Contributor - [LinkedIn](https://linkedin.com/in/...) - - Bio in 2-3 sentences. Focus: role, experience, relation to FlowMCP. - Tonality: sachlich (Anders-Persona). Keine Buzzwords, keine Emojis. - - Vor dem Einfuegen: - 1. Name, Rolle, Bio-Text vom User freigeben lassen - 2. Optional: Profilbild in public/images/team/ ablegen - 3. Optional: LinkedIn-URL ergaenzen - 4. DE-Pendant (src/content/docs/de/roadmap/team.md) analog pflegen - 5. Im Commit-Body User-Sign-off-Bestaetigung dokumentieren -*/} +{/* Team member profiles to be added with sign-off. */} Will be filled by maintainer. diff --git a/src/pages/404.astro b/src/pages/404.astro index bbddc10..8e04143 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -1,9 +1,8 @@ --- -// 404 Page — Memo 064 Phase 4 PRD-010 +// 404 Page // Pagefind search removed (locked decision). Page reduced to clear links: // home + the main areas. Pagefind remains the GLOBAL Starlight search // (SearchCustom.astro override) — only the 404 usage was removed here. -// History: Memo 057 PRD-03 introduced the (now removed) search field. --- @@ -46,7 +45,7 @@