carpentries / sandpaper-docs

Documentation for The Carpentries Workbench
https://carpentries.github.io/sandpaper-docs/
Other
5 stars 45 forks source link

Link a section of the setup file #164

Closed fnattino closed 1 year ago

fnattino commented 1 year ago

In the Geospatial Python lesson I am trying to create a link to a specific section of the setup instructions (learners/setup.md file).

However, the following link:

Go to the [troubleshooting section](learners/setup.md#troubleshooting).

ultimately gets resolved to: http://127.0.0.1:4321/index.html#setup, thus changing the anchor.

In https://github.com/carpentries-incubator/geospatial-python/pull/162 I could get the link to work as desired in the following way:

Go to the [troubleshooting section](index.md#troubleshooting).

but maybe there is a better way to do it?

fnattino commented 1 year ago

Closing it, as an issue has been opened in the more appropriate workbench repository: https://github.com/carpentries/workbench/issues/70 .

Thanks anyway! 😄