Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(mlc): ignore versioned docs.rs links used by fuels-rs book #19

Closed
wants to merge 1 commit into from

Conversation

Br1ght0ne
Copy link
Contributor

In FuelLabs/fuels-rs#1098, a new format for documentation links in fuels-rs book is introduced to allow for versioned Rust docs links. Examples:

  • docs.rs/fuels/{{versions.fuels}}/fuels/...
  • docs.rs/fuels-types/{{versions.fuels_types}}/fuels-types/...

These variables will be replaced with actual versions at build time. However, the link checker (MLC) runs on .md files before the build, and as such flags these links as incorrect.

My current solution is to ignore these links in the checker for now, unless some post-build checking (or similar) is implemented at a later date.

In FuelLabs/fuels-rs#1098, a new format for documentation links in `fuels-rs` book is introduced to allow for versioned Rust docs links. Examples:

- `docs.rs/fuels/{{versions.fuels}}/fuels/...`
- `docs.rs/fuels-types/{{versions.fuels_types}}/fuels-types/...`

These variables will be replaced with actual versions at build time. However, the link checker (MLC) runs on `.md` files before the build, and as such flags these links as incorrect.

My current solution is to ignore these links in the checker for now, unless some post-build checking (or similar) is implemented at a later date.
@Br1ght0ne Br1ght0ne added the documentation Improvements or additions to documentation label Aug 22, 2023
@Br1ght0ne Br1ght0ne self-assigned this Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants