From 38bd646c2f7b1095716771d345cfd40d6dd4f9d5 Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Wed, 7 Aug 2024 14:43:21 +0800 Subject: [PATCH] Fix broken link for github page to standard --- docs/README.md | 2 +- mkdocs.yml | 2 +- script/build_docs.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/README.md b/docs/README.md index 99884b7..4bb77c4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -524,4 +524,4 @@ contractCreatedTs: 2022-11-15 02:59:43 ## Full example -[Check full example here.](examples/all/full-example.yaml) +[Check full example here.](examples/all/full-example.odcs.yaml) diff --git a/mkdocs.yml b/mkdocs.yml index b4f6ab3..0cd0fed 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -32,7 +32,7 @@ theme: repo: fontawesome/brands/git-alt nav: - - Home: 'index.md' + - Home: 'home.md' - Standard: 'README.md' - Examples: 'examples/README.md' - Changelog: 'changelog.md' diff --git a/script/build_docs.sh b/script/build_docs.sh index c1f6f8c..1a5f56c 100644 --- a/script/build_docs.sh +++ b/script/build_docs.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash echo "Moving top level markdown files into 'docs' folder" -cat README.md | sed 's/(docs\//(/g' | sed 's/CONTRIBUTING.md/contributing.md/g' > docs/index.md +cat README.md | sed 's/(docs\//(/g' | sed 's/CONTRIBUTING.md/contributing.md/g' > docs/home.md cat CHANGELOG.md | sed 's/(docs\//(/g' > docs/changelog.md cp CONTRIBUTING.md docs/contributing.md cp vendors.md docs/vendors.md