docs icon indicating copy to clipboard operation
docs copied to clipboard

Direct links no longer available

Open mlvandijk opened this issue 6 years ago • 2 comments

We used to have little paperclips next to each header, providing a direct link to that section. I use these a lot when answering questions on StackOverflow for example.

They were removed/broken when adding Cucumber to the SmartBear site. Could we have them back please?

mlvandijk avatar Dec 29 '19 10:12 mlvandijk

Looks like Hugo now supports this from 0.71.0:

  • doc https://gohugo.io/getting-started/configuration-markup/#markdown-render-hooks
  • example https://github.com/gohugoio/gohugoioTheme/commit/62cbad03c40fc2f48cad5a70adbabecfcc807ad4

We probably need to upgrade Hugo - not sure where the version is managed though

davidjgoss avatar Jun 05 '20 11:06 davidjgoss

IIRC we're using Docker to build the site, using a docker image with Hugo installed. So if we want a new Hugo version we need to publish a new docker image (possibly first changing the Dockerfile to specify the hugo version)

aslakhellesoy avatar Jun 05 '20 11:06 aslakhellesoy