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

Allow index.md files as index pages #23

Merged
merged 1 commit into from Apr 14, 2018

Conversation

Projects
None yet
4 participants
@jaylinski
Copy link
Contributor

jaylinski commented Apr 14, 2018

Until now, only README.md files got treated as a directory index.

This commit also allows index.md to be used as index files.

Related to #17.

Allow index.md files as index pages
Until now, only `README.md` files got treated as a directory index.
This commit also allows `index.md` to be used as index files.
@filipsobol

This comment has been minimized.

Copy link
Contributor

filipsobol commented Apr 14, 2018

Hmm... I like this, but wouldn't it be better if index page was configurable. Something like "index" key in config.js?

@yyx990803 yyx990803 merged commit 49e0ee4 into vuejs:master Apr 14, 2018

1 check passed

deploy/netlify Deploy preview ready!
Details
@yyx990803

This comment has been minimized.

Copy link
Member

yyx990803 commented Apr 14, 2018

I think index/readme are good enough. Sometimes fewer options is better...

@emrahcetiner

This comment has been minimized.

Copy link

emrahcetiner commented Dec 26, 2018

I think index/readme are good enough. Sometimes fewer options is better...

index/readme md file rendered on gitlab/github repository home page by default.
i want to use readme.md for project readme file, use home.md for vuepress home/index.

@filipsobol 's suggestion is good! vuepress index page can be configurable in config.js, like index key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.