-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I had an idea regarding the next iteration of the documentation (after the initial release) and curious to hear your thoughts!
Idea
It essentially revolves around this: are we able to make the distributed Mercurius plugin documentation directly available in the central mercurius docs portal rather than linking out? Is this something that is even wanted at this time?
Possible solution
My thought was the following:
- Register a plugin at dev time with the following:
- URL to fetch from
- Path to download to
- Name
- etc
- At build time, the docs for this plugin are fetched and built
- Docs deployed with all registered plugin documentation
Note, Docusaurus supports multi-repos (the same technique for versioning docs): https://docusaurus.io/docs/docs-multi-instance
Things to consider
- What if a plugins docs breaks the docusaurus build? How should this be handled? E.g. should we lock plugin docs to a commit for example?
- It's unlikely this would be done for every plugin, so is a mixed approach desirable?
mcollina
Metadata
Metadata
Assignees
Labels
No labels