diff --git a/.github/workflows/.lychee.excludes b/.github/workflows/.lychee.excludes new file mode 100644 index 000000000..17f464dfa --- /dev/null +++ b/.github/workflows/.lychee.excludes @@ -0,0 +1 @@ +file:///github/workspace/* diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 70749934e..9d1b9b69b 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -18,7 +18,8 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v1.5.0 with: - args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "file:///github/workspace/*" --exclude-mail + args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude-file ".github/workflows/.lychee.excludes" --exclude-mail fail: true env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + diff --git a/CHANGELOG.md b/CHANGELOG.md index 9644873d4..cf36df04c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -259,6 +259,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Fixed - Fixed DeprecationWarning emitted from urllib3 1.26.13+ ([#246](https://github.com/opensearch-project/opensearch-py/pull/246)) - Fixed Wrong return type hint in `async_scan` ([520](https://github.com/opensearch-project/opensearch-py/pull/520)) +- Fixed link checker failing due to relative link ([#760](https://github.com/opensearch-project/opensearch-py/pull/760)) ### Security [Unreleased]: https://github.com/opensearch-project/opensearch-py/compare/v2.6.0...HEAD diff --git a/docs/source/README.md b/docs/source/README.md deleted file mode 120000 index fe8400541..000000000 --- a/docs/source/README.md +++ /dev/null @@ -1 +0,0 @@ -../../README.md \ No newline at end of file diff --git a/docs/source/index.md b/docs/source/index.md index 513d4ab4c..bcadd50fe 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -16,6 +16,6 @@ Developer Guide ``` -```{include} README.md +```{include} ../../README.md ```