The generated /en/integrations/openclaw, /zh/integrations/openclaw and /en/integrations/hermes pages are built from the plugin READMEs, which reference local figures/. Only the dsh and Studio READMEs had their ./figures/ links rewritten to site paths and their figure directories copied into the build, so every screenshot on those three pages resolved to /<language>/integrations/figures/*.png and 404'd. verify-build.mjs only checks <a> links, never <img> sources, so the build stayed green. Mirror the dsh pattern: rewrite the figure links to /figures/openclaw/ and /figures/hermes/, copy both figure directories into public/figures/, add the missing language-cross link for the Hermes page, and cover all of it in the generated-content tests. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| tests | ||
| .gitignore | ||
| ecosystem-assets.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
ReMe documentation site
This package builds the VitePress site published at https://reme.agentscope.io. The canonical documentation lives in
docs/; selected product, integration, plugin, and benchmark READMEs are mirrored into a disposable source tree during
the build. Do not edit .generated/ or dist/.
Requirements
- Node.js 22.13 or newer
- npm
Local development
cd github-pages
npm ci
npm ci --prefix ../reme_studio
npm run dev
The development server prints its local URL. Restart it after changing a mirrored README or reme/config/default.yaml
so the generated source tree and Job reference are refreshed. Changes under docs/ are also refreshed on restart.
Validation
npm test
npm run build
npm run preview
The test suite verifies bilingual core pages, canonical-source mappings, generated Job coverage, and disposable output.
The production build is written to github-pages/dist/ for the existing GitHub Pages workflow. Development and build
commands also compile the shared Studio UI in browser-demo mode and include it at /studio/; install both packages'
dependencies before running them. The demo needs no ReMe service or model credentials.
Sources
docs/: canonical guides, VitePress configuration, theme, and brand assetsreme/config/default.yaml: generated callable Job referencereme_studio/README*.md: ReMe Studio documentationreme_studio/demo/: browser data adapter, bilingual Markdown examples, tags, and scripted conversationsintegrations/{dsh,openclaw}/README*.md: TypeScript host pluginsplugins/*/README*.md: plugin guidesbenchmark/*/README*.md: benchmark guidesscripts/generate-content.mjs: source mirroring and reference generation
When adding a canonical guide, add both docs/zh/<name>.md and docs/en/<name>.md, then include it in the appropriate
sidebar in docs/.vitepress/config.mts. Add repository-owned READMEs to externalDocuments in the generator rather than
duplicating their full content under docs/.
Deployment
.github/workflows/deploy-docs.yml uses the reusable documentation build workflow and publishes dist/ to GitHub
Pages. public/CNAME preserves the reme.agentscope.io custom domain.