The Biolink Model is defined as a YAML. Any changes or edits are to be made to this YAML.
We make use of linkML library to generate various artifacts from the YAML.
The generation of Biolink Model artifacts requires Python 3.7+ because it makes extensive use of
Python dataclasses library.
The standard approach is to install Python 3.7+ on your machine (see: http://python.org/ for details).
All artifact generation is driven by the Makefile:
make allTo generate Python dataclasses,
make pythonTo generate Shape Expressions,
make shexTo generate Biolink Model JSON-LD context,
make context.jsonldTo build the documentation site,
First ensure that you are on gh-pages branch,
git checkout gh-pagesNow, merge master branch to get the latest changes,
git merge masterNote: Ensure there is no merge conflicts and that the merge was successful.
Now regenerate the markdown,
make jekyll-docsThis should regenerate all the Jekyll formatted markdown in /docs folder.
Now add the /docs folder, commit and push.
git add docs
git commit -m "Update docs"
git push origin gh-pagesThis push operation should trigger GitHub Pages to rebuild the documentation site with the latest changes.