Skip to content

include external sourced files into build #3672

Description

@vanbasten17

🚀 Feature

Be able to pull plain text information from external sources and build it up with docusaurus build.

Example: Retrieving an external markdown file to be injected into a specific route.

Have you read the Contributing Guidelines on issues?

Yes

Motivation

We would like to source github's READMEs and build them with docusaurus build for our project documentation (botonic).
I have seen a related issue here: #2725 , but couldn't find the mentioned plugin in docusaurus docs.

Pitch

I think it's pretty common for open-source projects to have several plugins in order to add extra functionalities to them. In our situation, every plugin is documented itself in its corresponding README in github which serves as the main documentation as for example Gatsby does with their plugins, so this is the main reason of being implemented. This is our current plugins library.
To do so, maybe it would be useful to have a list of urls (pointing to an url with the corresponding .md in this case) and mapping them into desired routes in the project.

Many thanks! 😊 You have an awesome ongoing project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions