diff --git a/.lychee.toml b/.lychee.toml index 797c5bef0..b38b3c1da 100644 --- a/.lychee.toml +++ b/.lychee.toml @@ -15,3 +15,6 @@ retry_wait_time = 4 accept = ["200", "429"] verbose = "error" + +# Exclude sitemap from link checking (it contains pre-publish production URLs) +exclude_path = ["**/sitemap.txt"] diff --git a/docs/documentation/docker.md b/docs/documentation/docker.md index 168a1b8ee..16e41c06f 100644 --- a/docs/documentation/docker.md +++ b/docs/documentation/docker.md @@ -38,8 +38,8 @@ docker run -it --rm --entrypoint bash --platform linux/amd64 sbryngelson/mfc:lat **What's Next?** Once a container has started, the primary working directory is `/opt/MFC`, and all necessary files are located there. -You can check out the usual MFC documentation, such as the [Example Cases](https://mflowcode.github.io/documentation/md_examples.html), to get familiar with running cases. -Then, review the [Case Files](https://mflowcode.github.io/documentation/md_case.html) to write a custom case file. +You can check out the usual MFC documentation, such as the [Example Cases](examples.md), to get familiar with running cases. +Then, review the [Case Files](case.md) to write a custom case file. ## Details on Running Containers diff --git a/docs/documentation/getting-started.md b/docs/documentation/getting-started.md index b374e7740..a2e199045 100644 --- a/docs/documentation/getting-started.md +++ b/docs/documentation/getting-started.md @@ -173,7 +173,7 @@ In brief, you can run the latest MFC container: ```bash docker run -it --rm --entrypoint bash sbryngelson/mfc:latest-cpu ``` -Please refer to the [Docker](https://mflowcode.github.io/documentation/docker.html) document for more information. +Please refer to the [Docker](docker.md) document for more information. ## Running the Test Suite diff --git a/toolchain/mfc/gen_case_constraints_docs.py b/toolchain/mfc/gen_case_constraints_docs.py index 2d31e0789..8f2b75ce2 100644 --- a/toolchain/mfc/gen_case_constraints_docs.py +++ b/toolchain/mfc/gen_case_constraints_docs.py @@ -918,7 +918,7 @@ def render_markdown(rules: Iterable[Rule]) -> str: # pylint: disable=too-many-l # Add a footer with link to full validator lines.append("\n---\n") lines.append("💡 **Tip:** If you encounter a validation error, check the relevant section above or ") - lines.append("review [`case_validator.py`](../../toolchain/mfc/case_validator.py) for complete validation logic.\n") + lines.append("review [`case_validator.py`](https://github.com/MFlowCode/MFC/blob/master/toolchain/mfc/case_validator.py) for complete validation logic.\n") return "\n".join(lines)