-
Notifications
You must be signed in to change notification settings - Fork 758
Fix contributing guide link to cmake options #1639
Conversation
@@ -86,7 +86,7 @@ cmake --build . -j <num jobs> # invokes make (or ninja, etc) | |||
ctest | |||
``` | |||
|
|||
See [CMake Options](./setup/cmake_options.md) for details on customizing the build. To | |||
See [CMake Options](../setup/cmake_options.md) for details on customizing the build. To |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will still be a broken link on the new doc site: https://nvidia.github.io/thrust/contributing/submitting_a_pr.html
The link is generated to point to .../cmake_options.md
, but the link needs to point at a .../cmake_options.html
: https://nvidia.github.io/thrust/setup/cmake_options.html
@brycelelbach Is there some doxybook magic we can use to convert the file extension in the link so that both the markdown and doxy versions will work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not following. The current formulation ./setup/cmake_options.md
points to contributing/setup/cmake_options.md
(which doesn't exist).
Wouldn't changing the relative path to ../setup
to reference the parent directory correct it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is already something in Doxybook/Jekyll that should do this (rewrite .md
to .html
). It's one of the Jekyll modules, I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brycelelbach whatever is supposed to be rewriting .md
to .html
in URLs is broken, because it's not happening, and the link to CMake Options generates a 404 on thrust.github.io.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just merge it and see if the extension is fixed in the docs.
Narrator: It wasn't. EDIT: NVIDIA/cccl#813 |
No description provided.