mirror of https://github.com/MISP/misp-book
new: [doc] Add a contributing guide
parent
1285d56b0b
commit
e150bb3408
|
@ -0,0 +1,60 @@
|
||||||
|
# Contributing to MISP Book
|
||||||
|
|
||||||
|
Most of MISP documentation pages are stored as plain text files in this dedicated misp-book repository.
|
||||||
|
The installation guides are held in the [INSTALL](https://github.com/MISP/MISP/tree/2.4/INSTALL) and [download](https://www.misp-project.org/download/) sections of the core and website repositories respectively.
|
||||||
|
By cloning and regularly pulling from this repo, users can maintain their own up-to-date offline copy of MISP documentation rather than relying solely on the web.
|
||||||
|
|
||||||
|
## Documentation guidelines
|
||||||
|
|
||||||
|
The documentation is a community effort. Volunteers work hard trying to keep everything accurate and comprehensive.
|
||||||
|
If you notice a problem or some way it can be improved, please edit the documentation.
|
||||||
|
|
||||||
|
All pull requests against MISP must pass review prior to be merged. This process is designed to ensure that contributed text is accurate and non-malicious.
|
||||||
|
Once a pull request passes review, the documentation maintainer then verifies that the pull request is mechanically sound (no merge conflicts or broken links). If so, the documentation maintainer then merges the pull request.
|
||||||
|
|
||||||
|
If you have a question about something you read in the documentation, you may ask in to the [Gitter Support channel](https://gitter.im/MISP/Support) or open an issue for it. To report an issue with the documentation, please follow our [standard issue reporting guidelines](). If you see that something in the documentation should be fixed or improved, please [contribute the change](#how-to-contribute) yourself.
|
||||||
|
|
||||||
|
## How to contribute
|
||||||
|
|
||||||
|
Editing the documentation is easy, so if you see that a change should be made, please contribute it!
|
||||||
|
|
||||||
|
A few notes before we get started:
|
||||||
|
|
||||||
|
- Every documentation change will be reviewed before it’s accepted. This allows us to maintain quality control and protect our users.
|
||||||
|
- If your contribution would take a lot of time, please [file an issue](https://github.com/MISP/misp-book/issues) for it first so that we can make sure we’re on the same page before significant works begins. This ensures you do not spend time and effort on a contribution that we can’t accept.
|
||||||
|
|
||||||
|
Thanks to GitHub’s interface, you can edit MISP's documentation even if you don’t know git at all. All you need to do to contribute is to [fork and clone](https://guides.github.com/activities/forking/) the [misp-book repo](https://github.com/MISP/misp-book/), make your changes, then [submit a pull request](https://help.github.com/articles/using-pull-requests/)).
|
||||||
|
|
||||||
|
|
||||||
|
## Organizational guidelines
|
||||||
|
|
||||||
|
- Do not duplicate documentation. Duplicating documentation is almost always a bad idea. There are many reasons for this. The main one is that almost all documentation has to be updated as some point. When similar documentation appears in more than one place, it is very easy for it to get updated in one place but not the others (perhaps because the person updating it doesn’t realize it’s in more than once place). Such traps are often more harmful than if the documentation never existed in the first place. The solution is to link to existing documentation rather than duplicating it. There are some exceptions to this policy (e.g., information that is certain not to change for a very long time), but they are rare.
|
||||||
|
- We maintain only one set of documentation for MISP. We do not maintain a different set of documentation for each version of MISP. Our single set of MISP documentation is updated on a continual, rolling basis. Our first priority is to document all current, stable releases of MISP. Our second priority is to document the next, upcoming release (if any) that is currently in the beta or release candidate stage.
|
||||||
|
- Instructions on how install MISP are held in [INSTALL](https://github.com/MISP/MISP/tree/2.4/INSTALL) and [download](https://www.misp-project.org/download/) sections of the core and website repositories respectively.
|
||||||
|
|
||||||
|
## Style guidelines
|
||||||
|
|
||||||
|
- Familiarize yourself with the terms defined in the [glossary](https://www.circl.lu/doc/misp/GLOSSARY.html). Use these terms consistently and accurately throughout your writing.
|
||||||
|
- The language in this book is American English. All the screenshots and examples are in English.
|
||||||
|
|
||||||
|
## Markdown conventions
|
||||||
|
|
||||||
|
All the documentation is written in Markdown for maximum accessibility. When making contributions, please try to observe the following style conventions:
|
||||||
|
|
||||||
|
- Use spaces instead of tabs.
|
||||||
|
- In order to enable offline browsing, always use relative (rather than absolute) links, e.g., misp/automation/ instead of https://www.circl.lu/doc/misp/automation/. Examples of exceptions:
|
||||||
|
- URLs that appear inside code blocks (e.g., in comments and code snippets)
|
||||||
|
- Files like README.md and CONTRIBUTING.md
|
||||||
|
- Insert a newline at, and only at, the end of each sentence. This practice results in one sentence per line, which is most appropriate for source that consists primarily of natural language text. It results in the most useful diffs and facilitates translation into other languages while mostly preserving source readability.
|
||||||
|
- If appropriate, make numerals in numbered lists match between Markdown source and HTML output. In the event that a user is required to read the Markdown source directly, this will make it easier to follow, e.g., numbered steps in a set of instructions.
|
||||||
|
- Use Atx-style headings: # h1, ##h 2, ### h3, etc.
|
||||||
|
- When writing code blocks, use syntax highlighting where possible and use [...] for anything omitted.
|
||||||
|
([This](https://daringfireball.net/projects/markdown/) is a great source for learning about Markdown.)
|
||||||
|
|
||||||
|
## Git conventions
|
||||||
|
|
||||||
|
Please try to write good commit messages, according to the [instructions in our wiki](https://github.com/MISP/MISP/wiki/CommitMessageBestPractices).
|
||||||
|
|
||||||
|
## Translate MISP Book
|
||||||
|
|
||||||
|
You can help us make MISP Book available in your language. See [MISP and Internationalization (i18n)](https://www.circl.lu/doc/misp/translation/).
|
Loading…
Reference in New Issue