Skip to content

Commit 23c1702

Browse files
committed
minor
1 parent 606a065 commit 23c1702

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clients/python/test/tests_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def test_markdown_links(md_file: Path, link_text: str, file_link: str):
3232
if file_link.startswith("http"):
3333
pytest.skip(f"External link skipped: {file_link}")
3434

35-
relative_to_md = (md_file.parent / file_link).resolve()
35+
# NOTE: that current doc only support relative to repo!
3636
relative_to_repo = (_REPO_DIR / file_link).resolve()
3737

3838
assert (
39-
relative_to_md.exists() or relative_to_repo.exists()
39+
relative_to_repo.exists()
4040
), f"Broken link found: [{link_text}]({file_link}) in {md_file}"

docs/doc_entrypoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ For more in-depth usage, refer to the following tutorial guides:
8080

8181
## License
8282

83-
This project is licensed under the MIT License. See the [LICENSE](../LICENSE) file for details.
83+
This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.
8484

8585
---
8686

0 commit comments

Comments
 (0)