From a1d27ca077ca56925684dd82948faae024130d88 Mon Sep 17 00:00:00 2001 From: Krishna babu <120018777+Krish-2505@users.noreply.github.com> Date: Tue, 18 Jun 2024 20:29:29 +0530 Subject: [PATCH] BUG FIX #538 (#760) --- .github/workflows/.lychee.excludes | 1 + .github/workflows/links.yml | 3 ++- CHANGELOG.md | 3 ++- docs/source/README.md | 1 - docs/source/index.md | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/.lychee.excludes delete mode 120000 docs/source/README.md 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 814c6baf4..d37dd32d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -258,6 +258,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 @@ -272,4 +273,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) [2.2.0]: https://github.com/opensearch-project/opensearch-py/compare/v2.1.1...v2.2.0 [2.1.1]: https://github.com/opensearch-project/opensearch-py/compare/v2.1.0...v2.1.1 [2.1.0]: https://github.com/opensearch-project/opensearch-py/compare/v2.0.1...v2.1.0 -[2.0.1]: https://github.com/opensearch-project/opensearch-py/compare/v2.0.0...v2.0.1 \ No newline at end of file +[2.0.1]: https://github.com/opensearch-project/opensearch-py/compare/v2.0.0...v2.0.1 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 ```