如何从Docusaurus的另一个存储库中读取文档
我已经在GitHub存储库上创建了一个Docusaurus应用程序,并且想向其添加一些外部资源。这些来源是来自同一组织的一个或多个GitHub存储库。
有什么方法可以做到吗?
所有部署过程都使用AWS上的Jenkins管道。
I have created a Docusaurus app on a Github repository and I want to add some external sources to it. Those sources are one or more Github repositories from the same organisation.
There is any way to do that?
All the deployment process use Jenkins pipeline on AWS.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果已经部署了此文档,则可以使用此插件:
https://github.com /rdilweb/docusaurus-plugin-remote-content/,
但问题是如果此资源不是部署在Web服务器上,因为它不支持git URL作为远程源,参见。
因此,另一个选项可能是在每个
docusaurus build | start
之前提取内容。If this documentation is already deployed you can use this plugin:
https://github.com/rdilweb/docusaurus-plugin-remote-content/
But the problem is if this resources are not deployed on a web server yet because it not support a Git url as remote source, see.
So another option could be to pull the content before each
docusaurus build|start
.