Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_ to ignore mdx files consistently in all content plugins #4984

Closed
slorber opened this issue Jun 16, 2021 · 2 comments
Closed

_ to ignore mdx files consistently in all content plugins #4984

slorber opened this issue Jun 16, 2021 · 2 comments
Labels
feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future.

Comments

@slorber
Copy link
Collaborator

slorber commented Jun 16, 2021

🚀 Feature

We currently prefix pages with _ to avoid creating a page for certain files (ie src/pages/_myPartial.mdx)

We should allow similar things for blog / docs too. A file in docs/_partials/myPartial.mdx should not create any doc, but just be available for usage in other documents.

Also, we should allow to put partials in the src folder too (like src/partials/myPartial.mdx). I don't think we currently have a "global mdx loader" for the src folder

@slorber slorber added the feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. label Jun 16, 2021
@slorber
Copy link
Collaborator Author

slorber commented Jun 16, 2021

Related to #3196 and requested by @fnune

@slorber
Copy link
Collaborator Author

slorber commented Jul 15, 2021

Fixed by #5173

@slorber slorber closed this as completed Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Projects
None yet
Development

No branches or pull requests

1 participant