1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-30 18:24:35 +01:00
mkdocs-material/docs/contributing/index.md

257 lines
10 KiB
Markdown
Raw Normal View History

# Contributing
2023-09-21 14:53:33 +02:00
Material for MkDocs is an actively maintained and constantly evolving project
serving a diverse user base with versatile backgrounds and needs. In order to
efficiently address the requirements of all our users, evaluate change requests,
and fix bugs, we put in a lot of work.
2023-09-21 14:53:33 +02:00
Our ever-growing community includes many active users, who open new
issues and discussions several times a day, evolving our [issue tracker] and
[discussion board] into a knowledge base an important addition to
our [documentation] yielding value to both new and experienced users.
2023-09-21 14:53:33 +02:00
[discussion board]: https://github.com/squidfunk/mkdocs-material/discussions
[issue tracker]: https://github.com/squidfunk/mkdocs-material/issues
2023-09-21 14:53:33 +02:00
[documentation]: https://squidfunk.github.io/mkdocs-material/
## How you can contribute
We understand that reporting bugs, raising change requests, as well as engaging
in discussions can be time-consuming, which is why we've carefully optimized our
issue templates and defined guidelines to improve the overall interaction
within the project. We've invested a lot of time and effort into making our
[issue tracker] and [discussion board] as efficient as possible.
Our goal is to ensure that our documentation, as well as issue tracker and
discussion board, are __well-structured__, __easy to navigate__, and
__searchable__, so you can find what you need quickly and efficiently. Thus,
when you follow our guidelines, we can help you much faster.
In this section, we guide your through our processes.
### Creating an issue
<div class="grid cards" markdown>
2023-09-21 14:53:33 +02:00
- :material-bug-outline: &nbsp;
__Something is not working?__
---
2023-09-21 14:53:33 +02:00
Report a bug in Material for MkDocs by creating an issue with a
reproduction
---
[:octicons-arrow-right-24: Report a bug][report a bug]
2023-09-21 14:53:33 +02:00
- :material-file-document-remove-outline: &nbsp;
__Missing information in our docs?__
---
2023-09-21 14:53:33 +02:00
Report missing information or potential inconsistencies in our
documentation
---
[:octicons-arrow-right-24: Report a docs issue][report a docs issue]
2023-09-21 14:53:33 +02:00
- :material-lightbulb-on-20: &nbsp;
__Want to submit an idea?__
---
2023-04-04 14:58:40 +02:00
Propose a change, feature request, or suggest an improvement
2023-09-21 14:53:33 +02:00
---
[:octicons-arrow-right-24: Request a change][request a change]
2023-09-21 14:53:33 +02:00
- :material-account-question-outline: &nbsp;
__Have a question or need help?__
---
2023-09-21 14:53:33 +02:00
Ask a question on our [discussion board] and get in touch with our
community
---
2023-09-21 14:53:33 +02:00
[:octicons-arrow-right-24: Ask a question][discussion board]
2023-04-04 14:58:40 +02:00
</div>
2023-09-21 14:53:33 +02:00
### Contributing
2023-04-04 14:58:40 +02:00
<div class="grid cards" markdown>
2023-09-21 14:53:33 +02:00
- :material-translate: &nbsp;
__Missing support for your language?__
2023-04-04 14:58:40 +02:00
---
2023-09-21 14:53:33 +02:00
Add or improve translations for a new or already supported language
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
---
2023-04-04 14:58:40 +02:00
2023-09-21 15:57:54 +02:00
[:octicons-arrow-right-24: Add translations][add translations]
2023-09-21 14:53:33 +02:00
- :material-source-pull: &nbsp;
__Want to create a pull request?__
2023-04-04 14:58:40 +02:00
---
2023-09-21 14:53:33 +02:00
Learn how to create a comprehensive and useful pull request (PR)
---
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
[:octicons-arrow-right-24: Create a pull request][create a pull request]
2023-04-04 14:58:40 +02:00
</div>
[report a bug]: reporting-a-bug.md
[report a docs issue]: reporting-a-docs-issue.md
[request a change]: requesting-a-change.md
2023-09-21 15:57:54 +02:00
[add translations]: https://github.com/squidfunk/mkdocs-material/adding-translations
2024-02-24 07:19:18 +01:00
[create a pull request]: making-a-pull-request.md
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
## Checklist
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
Before interacting within the project, please take a moment to consider the
following questions. By doing so, you can ensure that you are using the correct
issue template and that you provide all necessary information when interacting
with our community.
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
!!! warning "Issues, discussions, and comments are forever"
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
Please note that everything you write is permanent and will remain
for everyone to read forever. Therefore, please always be nice and
constructive, follow our contribution guidelines, and comply with our
[Code of Conduct].
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
### Before creating an issue
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
- Are you using the appropriate issue template, or is there another issue
template that better fits the context of your request?
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
- Have you checked if a similar bug report or change request has already been
created, or have you stumbled upon something that might be related?
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
- Did your fill out every field as requested and did you provide all additional
information we maintainers need to comprehend your request?
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
### Before asking a question
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
- Is the topic a question for our [discussion board], or is it a bug report or
change request that should better be raised on our [issue tracker]?
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
- Is there an open discussion on the topic of your request? If the answer is yes,
does your question match the direction of the discussion, or should you open a
new discussion?
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
- Did your provide our community with all the necessary information to
understand your question and help you quickly, or can you make it easier to
help you?
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
### Before commenting
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
- Is your comment relevant to the topic of the current page, post, issue, or
discussion, or is it a better idea to create a new issue or discussion?
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
- Does your comment add value to the conversation? Is it constructive and
respectful to our community and us maintainers? Could you just use a
[:octicons-smiley-16: reaction][reaction] instead?
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
[Code of Conduct]: https://github.com/squidfunk/mkdocs-material/blob/master/CODE_OF_CONDUCT.md
[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
2023-04-04 14:58:40 +02:00
## Rights and responsibilities
2024-02-24 07:19:18 +01:00
As maintainers, we are entrusted with the __responsibility__ to moderate
communication within our community, including the authority to close, remove,
reject, or edit issues, discussions, comments, commits, and to block users who
__do not align__ with our contribution guidelines and our [Code of Conduct].
This role requires us to be actively involved in maintaining the integrity and
positive atmosphere of our community. Upholding these standards decisively
ensures a respectful and inclusive environment for all members.
2023-04-04 14:58:40 +02:00
2023-09-21 14:53:33 +02:00
### Code of Conduct
2023-04-04 14:58:40 +02:00
2024-02-24 07:19:18 +01:00
Our [Code of Conduct] outlines the expectation for all community members to
treat one another with respect, employing inclusive and welcoming language. Our
commitment is to foster a positive and supportive environment, free of
2023-09-21 14:53:33 +02:00
inappropriate, offensive, or harmful behavior.
2023-04-04 14:58:40 +02:00
2024-02-24 07:19:18 +01:00
We take any violations seriously and will take appropriate action in response to
uphold these values.[^1]
[^1]:
__Warning and blocking policy:__
Given the increasing popularity of our project and our commitment to a
healthy community, we've defined clear guidelines on how we proceed with
violations:
1.1. __First warning:__ Users displaying repeated inappropriate, offensive,
or harmful behavior will receive a first warning. This warning serves as a
formal notice that their behavior is not in alignment with our community
standards and Code of Conduct. The first warning is permanent.
1.2. __Second warning and opportunity for resolution:__ If the behavior
persists, a second warning will be issued. Upon receiving the second
warning, the user will be given a 5-day period for reflection, during which
2024-02-24 07:41:32 +01:00
they are encouraged to publicly explain or apologize for their actions.
2024-02-24 07:19:18 +01:00
This period is designed to offer an opportunity for openly clearing out any
misunderstanding.
1.3. __Blocking:__ Should there be no response or improvement in behavior
following the second warning, we reserve the right to block the user from
the community and repository. Blocking is considered a last resort, used
only when absolutely necessary to protect the community's integrity and
positive atmosphere.
Blocking has been an exceptionally rare necessity in our overwhelmingly
positive community, highlighting our preference for constructive dialogue
and mutual respect. It aims to protect our community members and team.
### Incomplete issues and duplicates
We have invested significant time and effort in the setup of our contribution
process, ensuring that we assess the essential requirements for reviewing and
responding to issues effectively. Each field in our issue templates is
thoughtfully designed to help us fully understand your concerns and the nature
of your matter. We encourage all members to utilize the search function before
submitting new issues or starting discussions to help avoid duplicates. Your
cooperation is crucial in keeping our community's discussions constructive and
organized.
- __Mandatory completion of issue templates:__ We need all of the information
required in our issue templates because it ensures that every user and
maintainer, regardless of their experience, can understand the content and
severity of your bug report or change request.
- __Closing incomplete issues:__
We _reserve the right to close issues lacking essential information_, such as
but not limited to [minimal reproductions] or those not adhering to the
quality standards and requirements specified in our issue templates. Such
issues can be reopened once the missing information has been provided.
- __Handling duplicates:__ To maintain organized and efficient
communication within our [issue tracker] and [discussion board], we
_reserve the right to close any duplicated issues or lock duplicated
discussions_. Opening multiple channels to ask the same question or report the
same issue across different forums hinders our ability to manage and address
community concerns effectively. This approach is vital for efficient time
management, as duplicated questions can consume the time of multiple team
members simultaneously. Ensuring that each issue or discussion is unique and
progresses with new information helps us to maintain focus and support our
community.
2024-02-24 07:41:32 +01:00
We further _reserve the right to immediately close discussions or issues that
are reopened without providing new information_ or simply because users have
not yet received a response to their issue/question, as the issue is marked as
incomplete.
2024-02-24 07:19:18 +01:00
[minimal reproductions]: ../guides/creating-a-reproduction.md