Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize doc site to have SE-class definition links work/valid #43

Merged
merged 1 commit into from
Feb 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,18 @@ build/linkml-docs: \
build/linkml-docs/datalad-dataset-version
# build/linkml-docs/git-provenance-schema
build/linkml-docs/%: src/linkml/schemas/%.yaml src/extra-docs/%-schema
export OUTDIR=$$([ "$*" = "ontology" ] && echo $@ || echo build/linkml-docs/schemas/$*) && \
gen-doc \
--hierarchical-class-view \
--include-top-level-diagram \
--diagram-type er_diagram \
--metadata \
--format markdown \
--example-directory src/examples/$* \
-d $$([ "$*" = "ontology" ] && echo $@ || echo $@-schema) \
$<
-d $$OUTDIR \
$< \
&& (cp -r src/extra-docs/$*-schema/*.md $$OUTDIR || true)
# try to inject any extra-docs (if any exist)
-cp -r src/extra-docs/$*-schema/*.md $@

build/mkdocs-site: build/linkml-docs src/extra-docs/*.md
# top-level content
Expand Down
Loading