Introduction
This document contains instructions on how to contribute to the Knowledge base and is intended for contributors with no prior GitHub experience. Feel free to skip to the appropriate section if you feel like you are an experienced user.
The main steps a user must follow to contribute to the Knowledge Base are:
- Create a GitHub account
- Make changes to files in the repository:
- Edit existing files or
- Create new files
- Add your name to the 03-contributors.md file.
Create a GitHub account
Users will need a GitHub account if they wish to contribute to the Knowledge Base. If you do not already have an account, go to the GitHub homepage and click the Sign Up
button to create one. Then follow the instructions. Once you have created an account, and signed in, go to the Knowledge Base repository
Make changes to the repository
Edit existing files
In order to make changes to the respository, users must edit Markdown files in the GitHub editor. If you have never used Markdown files before, here is a link to a markdown tutorial. If you just need to look up syntax, follow this link.
Note: Markdown files are files which end with the .md
suffix for example, this 02-Contributing.md
file. Please do not try to edit non Markdown files.
To edit an existing file:
- Navigate to the file on the repository and click on it
- Click on the pen icon on the top right to begin editing
- After editing the file, add a commit name that includes the name of the edited file and the issue number (if available) e.g.
#32 fixed typo in RDM page
- Select the
Create new branch
option and add a branch name which includes the name of the edited file and the issue number (if available) - Press the
Propose changes
button - Write a comment briefly describing the changes you have made
- If you are working on a page related to Research Data Management (RDM), assign @jvddorpe (Justine Vandendorpe) as a reviewer
- If you are working on a page related to Workflows, assign @KK-NFDI (Kassian Kobert) as a reviewer.
- Assign the pull request to
Mahdi Robbani
- Press the
Create pull request
button
Here is a guide to editing files on GitHub if you need futher help.
Note: All files should be edited according to the style guide.
Create new files
If you want to create a page on the website that doesn’t already exist, create a new issue.
GitHub Issues
A GitHub Issue is a way to keep track of changes we want to make to the repository. Anyone can create an issue if they think a new page should be created or if they desire any changes to a page. These can be seen in the Issues
tab at the top of the page. All issues have an associated issue number e.g. #32 and if this number is used in commit messages, those changes then appear in the issue, making it easier to see what changes a page has undergone.
To create a new issue:
- Go to the issues page
- Click the
New issue
button - Add the title (the name of the suggested page) and add a description of what you want to include in the new page
- Assign the issue to
Mahdi Robbani
- Click the
Submit new issue
button
Here is a guide on creating issues on GitHub if you need further help.
Add your name to the CONTRIBUTORS file
We appreciate your contribution! Please add your name to the 03-contributors.md file.
Contribution Rules
When adding or editing files, please observe the following rules:
- Use respectful and inclusive language
- Use American English
- Keep the content factual
- Reference sources appropriately (see below)
- Use a single
##
for the main file heading and use###
,####
, etc, for all subheadings - After the second and every following
##
add---
for a visual break line. - Place image files in the
assets/img/
directory - Use internal links to markdown documents with
[Link text]({% link _RDM-Share/26_licenses.md %})
- Non-public links are be restricted to the how-we-operate section and whitelisted in
.github/workflows/ignored-urls.txt
manually
Note: we might edit your contribution to homogenize the writing style.
Cite sources
- Websites can be linked in the text (e.g. NFDI4Microbiota).
- Journal articles can be referenced at the bottom of the page, as in a regular scientific journal.
- In order to reference an article:
- Add the reference to the
docs/_bibliography/references.bib
file in Bibtex format - Cite the reference in the text using
{% cite <reference_name> %}
- Add the reference to the