From 6b0fcf0e56810ed3f7b8cdcdb1545bbd0da32e7c Mon Sep 17 00:00:00 2001 From: madanucd Date: Mon, 17 Jun 2024 15:10:54 -0400 Subject: [PATCH 1/5] about.md update in docs --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e544a4e..5d4ebad 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,12 @@ $(DOCDIR): # cp $(SRC)/docs/*md $(DOCDIR) ; \ # $(RUN) gen-doc -d $(DOCDIR) --template-directory $(SRC)/$(TEMPLATEDIR) $(SOURCE_SCHEMA_PATH) -gendoc: $(DOCDIR) +update-docs: + cp src/docs/about.md docs/about.md + echo "Updated docs/about.md from src/docs/about.md" + +# Include update-docs target in gendoc target +gendoc: $(DOCDIR) update-docs @initial_branch=$$(git branch --show-current); \ latest_version=$$(git tag | sort -V | tail -n 1); \ for version in $$(git tag | sort -V); do \ From bc01b3f27884e7c0069610392bbf50f1917609b4 Mon Sep 17 00:00:00 2001 From: madanucd Date: Mon, 17 Jun 2024 15:30:23 -0400 Subject: [PATCH 2/5] about update in docs --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5d4ebad..46d980e 100644 --- a/Makefile +++ b/Makefile @@ -86,8 +86,8 @@ $(DOCDIR): # $(RUN) gen-doc -d $(DOCDIR) --template-directory $(SRC)/$(TEMPLATEDIR) $(SOURCE_SCHEMA_PATH) update-docs: - cp src/docs/about.md docs/about.md - echo "Updated docs/about.md from src/docs/about.md" + 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) update-docs From 8a1f01ba1ae350d7404c7ce2d9618262703403a5 Mon Sep 17 00:00:00 2001 From: madanucd Date: Mon, 17 Jun 2024 15:43:49 -0400 Subject: [PATCH 3/5] about page udapte fix --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 46d980e..2815318 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ update-docs: @echo "Updated docs/about.md from src/docs/about.md" # Include update-docs target in gendoc target -gendoc: $(DOCDIR) update-docs +gendoc: $(DOCDIR) @initial_branch=$$(git branch --show-current); \ latest_version=$$(git tag | sort -V | tail -n 1); \ for version in $$(git tag | sort -V); do \ @@ -109,6 +109,7 @@ gendoc: $(DOCDIR) update-docs fi; \ done; \ git checkout $$initial_branch + update-docs testdoc: gendoc serve From b09d05e6073a0d7a10abfcaff11be99680a16dbe Mon Sep 17 00:00:00 2001 From: madanucd Date: Mon, 17 Jun 2024 15:49:36 -0400 Subject: [PATCH 4/5] previous versions fix (attempt2) --- .github/workflows/deploy-docs.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index 6df9b8b..5769d6f 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -27,5 +27,6 @@ jobs: run: | mkdir -p docs touch docs/.nojekyll - poetry run gen-doc -d docs src/linkml/include_schema.yaml +# poetry run gen-doc -d docs src/linkml/include_schema.yaml + make gendoc poetry run mkdocs gh-deploy \ No newline at end of file From 7dd30126a82e6203e3ee7c877909e56b1fabc51a Mon Sep 17 00:00:00 2001 From: madanucd Date: Mon, 17 Jun 2024 15:57:30 -0400 Subject: [PATCH 5/5] removed commented lines --- .github/workflows/deploy-docs.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index 5769d6f..4517f94 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -27,6 +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 \ No newline at end of file