feat: migrate site from Jekyll to VitePress with UnitsDB browser#13
Merged
feat: migrate site from Jekyll to VitePress with UnitsDB browser#13
Conversation
Remove Jekyll-based site infrastructure (Gemfile, Rakefile, _config.yml, AsciiDoc pages, Jekyll assets, PDF references). Replaced by VitePress.
- VitePress 1.6.4 with custom theme extending defaults - Brand colors (navy, teal, blue) in custom.css - Vue components: HomePage, EcosystemDiagram, TimelineSection, PeopleGrid, FAQAccordion, BlogIndex, UnitsDBBrowser, UnitsDBEntityDetail, DataModelDiagram - Dynamic routes for 716 UnitsDB entity pages - Blog post loader with createContentLoader - AsciiDoc Vite plugin for legacy posts - Lychee link checker config
TypeScript script (generate-unitsdb.ts) that reads YAML from the unitsdb submodule and generates JSON files for the UnitsDB browser. Handles system identifier resolution, parent system aggregation (SI_compatible), and cross-reference extraction (BIPM, UCUM, QUDT).
- Favicons, logos (symbol.svg, logo-text.svg) - UnitsDB JSON data files (units, quantities, dimensions, prefixes, scales, systems, stats) — 716 entities - JSON-LD dataset exports - Reference PDFs
- Homepage (index.md with HomePage component) - About page with timeline, people, organizations - Learn section: what-is-unitsml, who-is-it-for, how-it-works, incorporating-unitsml, guide, get-started - Software: unitsml-ruby page - Blog index - Standalone: FAQ, privacy, terms of service, schemas - Specs: guidelines redirect
UnitsDB: - Interactive browser at /unitsdb/ with tab navigation - 6 type pages for real URL navigation (units, quantities, etc.) - 716 entity detail pages via dynamic routes Blog: - Site redesign announcement - UnitsDB 1.0 release - UnitsDB 2.0 release with multilingual names and expanded coverage - CalConnect TC UNITS establishment
- build_deploy: Node 24 + VitePress build + GitHub Pages deploy - links: lychee link checker against built HTML output
🔗 Link Check FailedResultsSummary
Errors per inputErrors in .vitepress/dist/blog/2022-09-11-calconnect-tc-units-established.html
Errors in .vitepress/dist/blog/2025-03-15-unitsdb-1.0.html
Errors in .vitepress/dist/blog/2025-05-21-unitsdb-2.0.html
Errors in .vitepress/dist/blog/2026-04-28-site-redesign.html
Errors in .vitepress/dist/blog/index.html
Errors in .vitepress/dist/learn/guide.html
Errors in .vitepress/dist/learn/how-it-works.html
Errors in .vitepress/dist/learn/incorporating-unitsml.html
Errors in .vitepress/dist/learn/what-is-unitsml.html
Errors in .vitepress/dist/learn/who-is-it-for.html
Errors in .vitepress/dist/software/index.html
Errors in .vitepress/dist/software/schemas.html
Errors in .vitepress/dist/software/unitsdb-ruby.html
Errors in .vitepress/dist/software/unitsdb.html
Errors in .vitepress/dist/software/unitsml-ruby.html
Errors in .vitepress/dist/specs/guidelines.html
Errors in .vitepress/dist/unitsdb/dimensions.html
Errors in .vitepress/dist/unitsdb/index.html
Errors in .vitepress/dist/unitsdb/prefixes.html
Errors in .vitepress/dist/unitsdb/quantities.html
Errors in .vitepress/dist/unitsdb/scales.html
Errors in .vitepress/dist/unitsdb/systems.html
Errors in .vitepress/dist/unitsdb/units.html
Redirects per inputRedirects in .vitepress/dist/blog/2022-09-11-calconnect-tc-units-established.html
Redirects in .vitepress/dist/blog/2025-03-15-unitsdb-1.0.html
Redirects in .vitepress/dist/blog/2025-05-21-unitsdb-2.0.html
Redirects in .vitepress/dist/blog/2026-04-28-site-redesign.html
Redirects in .vitepress/dist/blog/index.html
Redirects in .vitepress/dist/learn/guide.html
Redirects in .vitepress/dist/learn/how-it-works.html
Redirects in .vitepress/dist/learn/incorporating-unitsml.html
Redirects in .vitepress/dist/learn/what-is-unitsml.html
Redirects in .vitepress/dist/learn/who-is-it-for.html
Redirects in .vitepress/dist/software/index.html
Redirects in .vitepress/dist/software/schemas.html
Redirects in .vitepress/dist/software/unitsdb-ruby.html
Redirects in .vitepress/dist/software/unitsdb.html
Redirects in .vitepress/dist/software/unitsml-ruby.html
Redirects in .vitepress/dist/specs/guidelines.html
|
Discussions is not enabled for the repo, causing link checker 404s.
🔗 Link Check FailedResultsSummary
Errors per inputErrors in .vitepress/dist/blog/2022-09-11-calconnect-tc-units-established.html
Errors in .vitepress/dist/blog/2025-03-15-unitsdb-1.0.html
Errors in .vitepress/dist/blog/2025-05-21-unitsdb-2.0.html
Errors in .vitepress/dist/blog/2026-04-28-site-redesign.html
Errors in .vitepress/dist/blog/index.html
Errors in .vitepress/dist/learn/guide.html
Errors in .vitepress/dist/learn/how-it-works.html
Errors in .vitepress/dist/learn/incorporating-unitsml.html
Errors in .vitepress/dist/learn/what-is-unitsml.html
Errors in .vitepress/dist/learn/who-is-it-for.html
Errors in .vitepress/dist/software/index.html
Errors in .vitepress/dist/software/schemas.html
Errors in .vitepress/dist/software/unitsdb-ruby.html
Errors in .vitepress/dist/software/unitsdb.html
Errors in .vitepress/dist/software/unitsml-ruby.html
Errors in .vitepress/dist/specs/guidelines.html
Errors in .vitepress/dist/unitsdb/dimensions.html
Errors in .vitepress/dist/unitsdb/index.html
Errors in .vitepress/dist/unitsdb/prefixes.html
Errors in .vitepress/dist/unitsdb/quantities.html
Errors in .vitepress/dist/unitsdb/scales.html
Errors in .vitepress/dist/unitsdb/systems.html
Errors in .vitepress/dist/unitsdb/units.html
Redirects per inputRedirects in .vitepress/dist/blog/2022-09-11-calconnect-tc-units-established.html
Redirects in .vitepress/dist/blog/2025-03-15-unitsdb-1.0.html
Redirects in .vitepress/dist/blog/2025-05-21-unitsdb-2.0.html
Redirects in .vitepress/dist/blog/2026-04-28-site-redesign.html
Redirects in .vitepress/dist/blog/index.html
Redirects in .vitepress/dist/learn/guide.html
Redirects in .vitepress/dist/learn/how-it-works.html
Redirects in .vitepress/dist/learn/incorporating-unitsml.html
Redirects in .vitepress/dist/learn/what-is-unitsml.html
Redirects in .vitepress/dist/learn/who-is-it-for.html
Redirects in .vitepress/dist/software/index.html
Redirects in .vitepress/dist/software/schemas.html
Redirects in .vitepress/dist/software/unitsdb-ruby.html
Redirects in .vitepress/dist/software/unitsdb.html
Redirects in .vitepress/dist/software/unitsml-ruby.html
Redirects in .vitepress/dist/specs/guidelines.html
|
- Add .html extension to raw HTML links (footer, HomePage, about page) - Update editLink pattern to point to unitsml.github.io repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete rewrite of the UnitsML.org website, migrating from Jekyll/AsciiDoc to VitePress with a modern custom theme and an interactive UnitsDB browser.
Site structure
Key features
Infrastructure
Removed
Test plan
npm run buildpasses cleanly