mlx-swift
mlx-swift copied to clipboard
Documentation Links for "Other MLX Packages"
Hi there!
I was exploring the documentation and saw that the links in the "other MLX packages" are not correctly configured, leading to 404.
For example, under the MLXNN package, clicking on any link under the heading Other MLX Packages leads to 404: https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlxnn/#Other-MLX-Packages
I suspect that it is appending to the package (example: https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlxnn/mlxfft) instead of https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlxfft
Is there a better way to solve this instead of explicitly mentioning the URL?
I assume it is tracked by this issue #14
Yeah, ideally there would be a feature to allow for cross-module links. It looks like the problem is the initial link:
- https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlxnn/#Other-MLX-Packages -- bad
- https://swiftpackageindex.com/ml-explore/mlx-swift/main/documentation/mlxnn#Other-MLX-Packages -- good
notice the trailing slash on the path. I am not sure we can do much about that -- it is how relative paths work.
Where did you get that link (with the trailing slash)? Perhaps we need to correct some links into the documentation?