Skip to content

infra: restore sync scripts #115

Closed

Description

@marc0olo

Context

Sync scripts from restructuring-attempt-1 keep auto-synced docs pages up to date with upstream repos. They need to be restored and adapted for the current structure.

Scripts to restore

  • scripts/sync-motoko.sh — syncs docs/languages/motoko/ from .sources/motoko (Caffeine Labs)
  • scripts/postprocess-motoko.mjs — post-processes synced Motoko pages (frontmatter injection, link rewriting)
  • scripts/sync-icp-cli-version.mjs — updates the icp-cli version reference in docs

Steps

  1. Check out restructuring-attempt-1 to review the originals
  2. Adapt for current paths and frontmatter schema
  3. Add to package.json as npm run sync:motoko etc.
  4. Document the sync process in AGENTS.md / CONTRIBUTING.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions