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

Include markdown files only #56

Merged
merged 1 commit into from Jun 8, 2020

Conversation

ariciputi
Copy link
Contributor

As I was writing in #55 this is my suggestion about how to avoid including any file laying around in the repo root dir when creating the site output directory.

While I was working on it, I've discovered that MkDocs already has an utility function which defines what a markdown file is. So I've decided to retain that definition and select the files in the root dir based on what MkDocs does.

While doing that I've also removed some unused import statements. Moreover I've also added an explicit max line length for black in the pyproject.toml.

Any feedback or concern are more than welcome.

@timothycrosley timothycrosley merged commit 5ef5795 into timothycrosley:master Jun 8, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants