DEV Community

Cover image for This Week In React #177 : Skia, Pigment, Mist, Storybook, shadcn/ui, Hydration Diff, Geiger, MDXTS, Remotion, WinterJS...

This Week In React #177 : Skia, Pigment, Mist, Storybook, shadcn/ui, Hydration Diff, Geiger, MDXTS, Remotion, WinterJS...

Sebastien Lorber on March 22, 2024

Hi everyone! This week it's particularly exciting to see React Native Skia reaching 1.0. But we also have many other interesting releases to look ...
Collapse
 
figgsboson profile image
Henry Zhang • Edited

Hello Sebastien!

I don't have a twitter so I was trying to find a way to reach you about Docusaurus, and found you on here. I am building an SSOT for my company to use as an internal documentation source ,using Docusaurus. So far it's been great, and very lightweight, which is perfect.

I was wondering, is there a way to generate a new md/mdx file by a non-local user? As in, after deployment, I would want anybody with access to be able to create a new Doc page, have it go into the correct file path, and make that the current version in the git repo. Is that possible to do?

The premise is that this would be a company wide hub that anybody could contribute to, and I want a way to forego an active administrator who would have to manually update the site. They could submit into an input form, and it would create the md/mdx file, push to the git repo, and make the localized change persist on the deployed site, and the page would be live immediately after.

I would be very grateful for any advice. If this platform is not good for a response, you can reach me at

Collapse
 
sebastienlorber profile image
Sebastien Lorber

Hey

You'd better ask questions on the Docusaurus Discord or the Docusaurus repo discussions 😅

You can try to use a Git-based CMS like TinaCMS or Decap.
Another approach could be to let users contribute to docs through StackBlitz Web Publisher. It is a bit more technical because users have to "submit" their contribution at the end, but is manageable.
developer.stackblitz.com/codeflow/...

At the end of the day users should be technical enough to understand how to author Markdown anyway

Collapse
 
figgsboson profile image
Henry Zhang

Thanks for getting back to me, I appreciate it Sebastien. And sounds good, I will give those a try, as well as the DocuDiscord, thank you!