-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Pages don't pick up HTML files in 2.0 #2833
Comments
I think we missed porting this feature to v2. We currently only look at JS files. Ideally we support both markdown and JS files for the pages plugin. |
Is there a way around this? I am trying to replicate BoTorch's setup with Sphinx API docs. This is a requirement for doing that. |
If those pages are entirely standalone, you could add them to the |
Docusaurus doesn't let us to access these files otherwise. facebook/docusaurus#2833 (comment) Ref #1601
In order to reduce staled issues, I am closing this issue, but feel free to open it again if needed. |
🐛 Bug Report
@docusaurus/plugin-content-pages
doesn't pick up HTML pages in 2.x.Have you read the Contributing Guidelines on issues? Yes
(Write your answer here.)
To Reproduce
src/pages
, let's sayapi
src/pages/api
index.html and fill it with dummy HTML and lorem ipsum text.Expected behavior
Like in 1.0, the plugin should pick up html pages.
(Write what you thought would happen.)
Actual Behavior
404, didn't pick up the html file.
Your Environment
The text was updated successfully, but these errors were encountered: