To contribute, please follow these steps:
-
Fork the
mkdocs-exclude-unused-files
repository on GitHub. -
Create a new branch for your feature or bug fix.
-
Setup development environment.
# install pipx python3 -m pip install --user pipx pipx ensurepath # install poetry + plugins pipx install poetry pipx inject poetry poetry-plugin-up pipx inject poetry poetry-dynamic-versioning # install project dependencies poetry install # bump dependencies to the latest poetry up --latest # do test build poetry build
-
Make your changes
-
Test your changes in the test directory
cd test/fixtures pip install ../.. && mkdocs build --verbose
-
Lint and validate your code
poetry run pre-commit run --all-files
-
Commit your changes.
-
Make sure the
README.md
and any other relevant documentation are kept up-to-date. -
Push to your forked repository.
-
Create a new pull request from your fork to this project.
-
Please ensure that your pull request includes a detailed description of your changes.