You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have the virtual environment active which has the dependencies in pyproject.toml satisfied.
Delete all Markdown files in all the profile subdirectories of _docs. Make sure to not touch the assets and stylesheets subdirectories, as well as the index.md file. So, for each profile subdirectory run something like:
$ rm _docs/'PROFILE_DIR'/*.md
Generate the static Markdown files for each profile.
Delete slot and type pages, since these cause problems and don't provide us anything meaningful for the CGMES profiles. A handy way of doing this is to navigate to the profile directory and then run:
$ grep -E '^# (Slot|Type): '*.md -l | xargs rm
If a new profile has been added, make sure to add it to the list on the root index.md file.
Generate the static HTML website:
$ mkdocs build
The index pages of the profiles have some references to LinkML types that we need to remove manually. Running mkdocs build again tells you what the dead references are. Remove these entries from the classes table in index.md and build again.