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

Feature: set parent content via README.md #17

Closed
elijahgagne opened this issue May 11, 2020 · 2 comments
Closed

Feature: set parent content via README.md #17

elijahgagne opened this issue May 11, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@elijahgagne
Copy link

If the parent page does not exist, it gets created with default content. I propose that if a README.md file is present in a folder, then that gets used as the parent's content (whether it is being created or not). This would align with how GitHub and many other Git services display the readme file when you browse to the root of a folder. If no readme file is present, then the existing behavior is used.

What do you think? If you like the idea, but don't think you'd be able to implement it anytime soon, I'd be happy to take a stab at it and submit a PR.

@justmiles
Copy link
Owner

This makes sense. If you're willing to tackle it I'm happy to merge a PR!

@elijahgagne
Copy link
Author

Merged add this, thanks!

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

No branches or pull requests

2 participants