refactor: migrate to linkml-copier#27
Open
clevinson wants to merge 9 commits into
Open
Conversation
- Replace Poetry with uv, hatchling build backend - Replace Makefile with justfile (+ project.justfile for customizations) - Port gen-validation-schema (include_range_class_descendants=True) to project.justfile - Port dynamic enum pipeline (NERC C16/L06, QUDT) as fetch-* recipes - Port inject-version hook and gen-all wrapper - Pin linkml==1.8.7 / linkml-runtime==1.8.3 to preserve current generator output - Restore original config.yaml (includes: [jsonschema, python]) - Keep runtime deps: oaklib (+ schemasheets in dev) - Copy src/docs/files/* into docs/ (nav rewiring still TODO) - Delete old Makefile and project.Makefile
- Update mkdocs.yml nav to reference elements/ for generated class pages - Restore extra_css / extra_javascript assets - Rewrite ../ClassName.md links in custom docs to ../elements/ClassName.md - Rewrite top-level ClassName.md links in metadata-format.md and vocabularies.md - Fix ../model.md → ../elements/Model.md in projects-experiments/index.md - Pin .python-version and .mise.toml to Python 3.12 - Justfile: lint the entrypoint schema file, not the directory
…ore generated docs/schema/
- Hand-written pages live in src/docs/files/ (tracked in git) - docs/ is entirely gitignored, rebuilt on every `just gen-doc` - gen-doc writes flat into docs/, index.md renamed to OAEDataSchema.md, then src/docs/files/* is copied over (preserves hand-written home + CNAME) - Post-gen-doc sed rewrites section.md → section/index.md for custom explainers - Preserves existing URLs: schema.oaedata.org/Project/, /OAEDataSchema/, etc.
- README: replace make/poetry commands with just/uv equivalents, reference linkml-project-copier - CI: limit Python test matrix to 3.9-3.12 (matches requires-python <3.13) - .copier-answers.yml: fix placeholder project_description
…pier-answers.yml)
- Exclude mkdocs.yml from check-yaml (!!python/name tag) - Exclude generated datamodel from ruff/ruff-format - Exclude downloaded ontologies/ from typos and codespell - Exclude mkdocs.yml, dynamic_enums_expanded.yaml, examples/ from yamllint - Disable yamllint line-length rule (schema descriptions naturally long) - Fix extra blank lines in calibration.yaml and variable.yaml
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.
No description provided.