Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
run: |
mkdir -p docs
touch docs/.nojekyll
poetry run gen-doc -d docs src/linkml/include_schema.yaml
make gendoc
poetry run mkdocs gh-deploy
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ $(DOCDIR):
# cp $(SRC)/docs/*md $(DOCDIR) ; \
# $(RUN) gen-doc -d $(DOCDIR) --template-directory $(SRC)/$(TEMPLATEDIR) $(SOURCE_SCHEMA_PATH)

update-docs:
cp $(SRC)/docs/about.md $(DOCDIR)/about.md
@echo "Updated docs/about.md from src/docs/about.md"

# Include update-docs target in gendoc target
gendoc: $(DOCDIR)
@initial_branch=$$(git branch --show-current); \
latest_version=$$(git tag | sort -V | tail -n 1); \
Expand All @@ -104,6 +109,7 @@ gendoc: $(DOCDIR)
fi; \
done; \
git checkout $$initial_branch
update-docs

testdoc: gendoc serve

Expand Down