]> juplo.de Git - maven-thymeleaf-skin/commit
Add import-in-astro.sh for importing Maven site output into Astro
authorKai Moritz <kai.milan.moritz@googlemail.com>
Mon, 15 Jun 2026 18:27:00 +0000 (18:27 +0000)
committerKai Moritz <kai.milan.moritz@googlemail.com>
Mon, 15 Jun 2026 18:27:00 +0000 (18:27 +0000)
commit84c405b51abcd041da3763c43e84fa60334b35a5
tree53b6026055995a583148d5f976af6b2fa2a126b0
parent581be0955022a6d62babf20a3ac2682f30094347
Add import-in-astro.sh for importing Maven site output into Astro

Replaces import-in-hugo.sh for the new Astro-based website. Key
differences vs. the Hugo version:
- Content → src/content/projects/PROJECT/VERSION/ (HTML + YAML frontmatter)
- Routing → src/pages/PROJECT/ (current) or src/pages/projects/P/V/ (archived)
- Static  → public/projects/PROJECT/VERSION/
- No Hugo shortcode transformation for <pre> blocks
- Relative generated-doc dir links (apidocs/, xref/ etc.) are rewritten
  to absolute /projects/X/Y/DIR/index.html URLs, because these dirs always
  live under /projects/ regardless of whether the content page is served
  from the visible (/<project>/) or archived (/projects/X/Y/) URL

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
src/main/resources/import-in-astro.sh [new file with mode: 0755]