Skip to content

Commit

Permalink
Merge pull request #192 from include-dcc/docs_edits
Browse files Browse the repository at this point in the history
About and versions pages fix
  • Loading branch information
madanucd authored Jun 17, 2024
2 parents 3be6dbc + 7dd3012 commit ec78971
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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

0 comments on commit ec78971

Please sign in to comment.