Hacker News new | ask | show | jobs
by ricopags 1865 days ago
Love docusaurus and since this is a chance to surface something to the devs that isn't worth creating an issue for:

Would an "internal" mode as an option make any kind of sense? I know most people who are using docusaurus are doing so for public facing docs and they don't mind exposing github edit links.

Wondering if a flag could be set that would cater the options for corp/internal documentation somehow. I'm not a dev but I greatly appreciate being able to roll out a PRPL enabled react app that only requires me to edit MD files to adjust content.

Thanks again for the great work!

1 comments

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.

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