馃殌 Feature
Docusaurus v1 had a feature where creating an index.md file would generate an index.html file at the same, relative, directory path:
+ docs
+ getting-started
+ index.md (id: index)
generates
+ docs
+ getting-started
+ index.html
In v2, creating - using the docs plugin - an index.md file results in a structure of index/index.html.
+ docs
+ getting-started
+ index.md (id: index)
generates
+ docs
+ getting-started
+ index
+ index.html
This requires calling http://foo.bar/docs/getting-started/index or even http://foo.bar/docs/getting-started/index.html which is probably not intentional.
yes
Motivation
Directory structure is important for SEO. Additionally, the index behavior is weird and (I think) unintentional as one ends up with urls like: http://foo.bar/docs/getting-started/index or http://foo.bar/docs/getting-started/index.html.
Pitch
I think Docusaurus v1 solved this correctly and this should be ported into v2 as well!
馃殌 Feature
Docusaurus v1 had a feature where creating an
index.mdfile would generate anindex.htmlfile at the same, relative, directory path:generates
In v2, creating - using the docs plugin - an
index.mdfile results in a structure ofindex/index.html.generates
This requires calling
http://foo.bar/docs/getting-started/indexor evenhttp://foo.bar/docs/getting-started/index.htmlwhich is probably not intentional.Have you read the Contributing Guidelines on issues?
yes
Motivation
Directory structure is important for SEO. Additionally, the index behavior is weird and (I think) unintentional as one ends up with urls like:
http://foo.bar/docs/getting-started/indexorhttp://foo.bar/docs/getting-started/index.html.Pitch
I think Docusaurus v1 solved this correctly and this should be ported into v2 as well!