Ancestors

Toot

Written by Ondřej Synáček :file_manager: on 2024-11-26 at 15:10

Does anyone have any experience with #docusaurus in multi-repository setup? More in 🧵

[#]javascript #devx

=> More informations about this toot | More toots from ondrej@social.synacek.org

Descendants

Written by Ondřej Synáček :file_manager: on 2024-11-26 at 15:12

My goal is to gather various documentation sources from multiple repositories into single source of truth (Docusaurus documentation site). I know it's not the usual way to do this. Basically I will need to pull in markdown files from different repositories and build the site, without checking all of these gathered files into the documentation (Docusaurus) repository. The reason to do this is because the source of truth is in those other repositories (co-location with code). 🧵

=> More informations about this toot | More toots from ondrej@social.synacek.org

Written by Ondřej Synáček :file_manager: on 2024-11-26 at 15:15

We like to keep it this way, originally mkdocs was used to serve this documentation. This proved to be insufficient though so looking for replacement.

The tricky part is the build process in CI. I couldn't think of anything better other than putting these markdown files to S3 bucket, which in turn triggers the build process in the "docusaurus" repo (our internal doc site). (1/2)

=> More informations about this toot | More toots from ondrej@social.synacek.org

Written by Ondřej Synáček :file_manager: on 2024-11-26 at 15:15

The only thing missing from this setup is the validation part. The validation happens when you run docusaurs build and checks whether links are valid etc. I'd like to run this validation part without installing Docusarus, but not sure if it's possible. (2/2)

=> More informations about this toot | More toots from ondrej@social.synacek.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113549891210816283
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
265.506239 milliseconds
Gemini-to-HTML Time
0.694735 milliseconds

This content has been proxied by September (ba2dc).