Replace Jekyll site with Vite+Tailwind schema browser#7
Merged
Conversation
- New custom index page (Vite + Tailwind CSS v4) listing all UnitsML schema versions with status badges, namespace URIs, and XSD links - Per-schema lutaml-xsd config generation via generate_configs.rb - Makefile builds all schema SPAs + index page via `make all` - Updated GHA workflows: Ruby 3.3, Node 20, modern action versions, build target changed from `make _site` to `make all` - Removed old Jekyll config (_config.yml) and babel.config.js - Added `make stop` target for killing the dev server - Footer corrected to "UnitsML Group · UnitsML Schemas"
The lutaml-xsd gem from GitHub main includes the SPA frontend source but not the pre-built app.iife.js asset. Build it in CI before running `make all`.
1.0.9 is now published on rubygems with pre-built frontend assets and the SVG diagram generation fix. No need to build from source.
The v1.0 schema imports http://www.w3.org/2009/01/xml.xsd which lutaml-xsd can't resolve remotely in CI, producing an empty package. Added schema_location_mapping and bundled xml.xsd locally.
The v1.0 XSD imports xml.xsd from w3.org which isn't resolvable in CI. Previously placed in the git submodule (schemas/) which isn't tracked. Now bundled as schemas-external/xml.xsd with config path updated.
… flags CLI flags for xsd-mode/resolution-mode/serialization-format are redundant since each config file already declares them in the build: section. Removing them fixes the v1.0 build in CI (was producing empty 3306-byte packages). Also bump bundler cache-version to force fresh resolution.
The unitsml-v1.0.xsd and xml.xsd are now both committed to the unitsml/schemas submodule. This eliminates the need for the separate schemas-external/ directory. Also remove debug steps from CI workflow.
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
generate_configs.rbcheckout@v4,setup-ruby@v1,setup-node@v4,pages-*@v3/v4/v5)_config.yml) andbabel.config.jsmake stoptargetKey changes
_config.yml)make _sitemake all(outputs tosite/)Test plan
make allbuilds all 9 schema SPAs + index pagemake serve/make stopwork