You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add automatic generation and updating of a Projects section in the repository README. scripts/generate.js: introduce constants for generated section markers, buildProjectDirectoryUrl, generateRootProjectIndex and updateRootReadme to insert or replace a generated list of project links; call updateRootReadme from main using listProjectDirectories. Also refactor generateProjectReadme to use encoded manifest URLs and markdown-style links for project READMEs. Update README.md to include the generated Projects section and convert example-project/README.md links to markdown format so they match the generated output.
return`# ${projectName}\n\nThis project is generated by repository scripts.\n\n## Inputs\n- Add local images in images/\n- Add external references using .lnk files in images/ (one HTTP(S) URL per file)\n- Optional advanced configuration in info.yml\n\n## Generated Outputs\n- manifest.json\n- WARNING.md\n\n## Links\n- [Manifest.json](${manifestUrl})\n- [Images folder](./images/)\n- [Mirador Viewer](${miradorUrl})\n- [Universal Viewer](${universalViewerUrl})\n- [TPEN3 Create Project](${tpenImportUrl})\n\n## TPEN3\nUse the TPEN3 import link above to create a new project directly from this manifest.\n\n> This file is regenerated when manifest generation runs. Put durable custom metadata in info.yml.\n`
return`# ${projectName}\n\nThis project is generated by repository scripts.\n\n## Inputs\n- Add local images in images/\n- Add external references using .lnk files in images/ (one HTTP(S) URL per file)\n- Optional advanced configuration in info.yml\n\n## Generated Outputs\n- manifest.json\n- WARNING.md\n\n## Links\n- Manifest: ${manifestUrl}\n- Images folder: ./images/\n- Mirador: https://projectmirador.org/embed/?iiif-content=${manifestUrl}\n- Universal Viewer: https://uv-v3.netlify.app/#?manifest=${manifestUrl}\n- TPEN3 Import: ${tpenImportUrl}\n\n## TPEN3\nUse the TPEN3 import link above to create a new project directly from this manifest.\n\n> This file is regenerated when manifest generation runs. Put durable custom metadata in info.yml.\n`
0 commit comments