You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The links should also be made to work on Docusaurus. As I discussed with @teodutu, the best way is for the builder to feature a processing pass that replaces GitHub links with correct links in Docusaurus.
The text was updated successfully, but these errors were encountered:
razvand
changed the title
Rework GitHub links as Docusaurus links as processing pass in builder
Rework GitHub links as Docusaurus links with processing pass in builder
Mar 13, 2023
I think we have discussed this before. Current version can resolve links to files, because the docusaurus plugin is aware of what files are copied where. This is a bit more difficult for concepts like chapters, where the plugin is not aware of some files (because they were generated - see Lab or Lecture chapters in the operating-systems repo).
I currently do not see a solution that does not involve manually specifying each link to be resolved (or using absolute links in the content with the protocol, domain etc. which is just as tedious and non-scalable).
You have suggested having a plugin that behaves like sed. While possibly a good addition to the builder plugins, I do not see how for this use case it is not the same as manually specifying what link to replace with what. Can you elaborate on that?
Currently, links in GitHub, such as the one here - pointing to Application Interaction chapter, don't work with Docusaurus. See the rendered page here - the link points to a
Page Not Found
link.The links should also be made to work on Docusaurus. As I discussed with @teodutu, the best way is for the builder to feature a processing pass that replaces GitHub links with correct links in Docusaurus.
The text was updated successfully, but these errors were encountered: