You want to contribute to help.jabref.org? Great!
Here is a quick start guide:
Our help pages are hosted at GitHub which provides version control based on git. In order to edit or create a JabRef help page you need a GitHub account. You can sign up here for free.
If you already have an account, please make sure that you are signed in.
The easiest way to fix small errors or to add additional information is to edit a JabRef help page directly in your browser:
At the bottom of each help page you can find a link "Edit Page":
Just click here to show the source of the page.
This leads you to GitHub:
To actually edit the page click on the pencil icon which is highlighted above.
The window to edit the page at GitHub looks like this:
Most text can be simply added in this field as plain text. However, you can style your contribution by using markdown. Markdown is a rather easy way to format text without the need for complex markup as for example in HTML.
You can find an introduction to markdown here or here.
In order to check your changes hit the "Preview Changes" tab:
To save the changes you have to create a so called "Commit" by scrolling down and hitting the button "Propose File Change":
Please note: The message you provide here will be visible in the history of the help page, so please think a second to provide a meaningful description of your changes.
As a last step you have to submit the changes you have made back to us:
Just hit the button "Create Pull Request" and confirm the creation on the next page which is opened by hitting "Create Pull Request".
That's it! We'll review your changes and publish them at help.jabref.org.
- If the title in the yaml frontmatter (this is at the beginning at each page surrounded by
---
) starts with a special character (eg.*
), the whole title must be surrounded by quotation marks ("
). - You cannot enclose text with
{{ ... }}
as this will get interpreted as Liquid syntax and not displayed as is. Surround it with{% raw %}
...{% endraw %}
as in FAQgeneral.md - To edit more than one file at a time, to add screenshots, and for other more advanced changes we recommend to checkout this repository locally and to create a PR of your changes using the standard git and GitHub workflow.
The best way to enter tables is to use this Table generator for Markdown. It has the nice feature to generate markdown tables from different sources, e.g. you can directly copy the table from a spreadsheet or upload a csv files. Just copy and paste the generated markdown.
Categories must not be translated (they are only needed in the English pages and are ignored in all other languages).
Use the localization_XY.json
file to translate the categories.
For instance, localization_ja.json.
-
View the page you want to translate in raw. For instance, navigate to https://github.com/JabRef/help.jabref.org/blob/gh-pages/en/MergeEntries.md and click on RAW.
-
Navigate to the version in the target language. For instance, https://github.com/JabRef/help.jabref.org/blob/gh-pages/ja/MergeEntries.md
-
Replace text with the one of the clipboard
- Click into the text area
- Ctrl + A
- Ctrl + V
-
Remove the "category" The category is translated in localization_ja.json and thus does not need to be kept there.
-
Translate
-
Save your changes See Saving the changes
-
Upload images In case you want to upload images, navigate to the "images" subfolder and press "Upload images"
-
Advanced update You can also clone the repository and do the usual git workflow. Run
python _scripts/automate.py update
to update theindex.md
file. More information onautomate.py
is available at https://github.com/JabRef/help.jabref.org/tree/gh-pages/_scripts.
Example: Italian (it)
- Create
it
folder - Create
it/localization_it.json
(copyen/localization_en.json
and delete/translate the values) - Run
python _scripts/automate.py update
- Add the Italian index to the main index if some of the pages are translated into Italian