]> 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@juplo.de>
Wed, 17 Jun 2026 20:04:00 +0000 (22:04 +0200)
commit1e158b10c43ca9adf8fa026521883b93597deda1
tree53b6026055995a583148d5f976af6b2fa2a126b0
parent779b2266de2d06156f5091d1065a457bccc46673
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]