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

Configure index #2

Open
nickcarenza opened this issue Feb 5, 2014 · 1 comment
Open

Configure index #2

nickcarenza opened this issue Feb 5, 2014 · 1 comment

Comments

@nickcarenza
Copy link

Can there be an option to set the default served file to something other than index.md? I would like to use docserver to serve an entire project and would like to point it at README.md since that is what most people consider to be the documentation entry point.

@natesilva
Copy link
Owner

This could be an option passed to the constructor. It could take an array of basenames to look for (['index', 'default', 'README']). These would be tried in order, by appending the target extensions (default is ['.md', '.mdown']). First one found wins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants