Hacker News new | ask | show | jobs
by swyx 1865 days ago
this already exists - set the editUrl in your docusaurus config. https://github.com/temporalio/documentation/blob/master/docu...

if you dont want your docs public facing you can put a password wall on it, but thats a feature of your hosting provider (eg netlify), not so much docusaurus.

1 comments

Yes! We also accept an editUrl callback for maximum customizability
btw i couldnt find docs on editUrl... the algolia searchbox on docusaurus needs some fixing
It's a Docsearch reco from Algolia to not index code blocks.

Unfortunately we have a few config options that are only found in code blocks and we need to extract those