title | layout |
---|---|
contributing to pages |
page |
If you find a mistake or wish to make an improvement to these pages, you can do so. For a small mistake, just let us know by contacting us. For other changes you can also access and edit the pages themself.
As well as the SEEK source code, these pages are also stored in GitHub at https://github.com/seek4science/seek and served by GitHub pages.
They are under the branch gh-pages. Pages are in Markdown format, with a .md extension, but get converted into HTML for you. New pages require a formatter at the top, that looks like:
---
title: my lovely page
layout: page
---
For example, this page can be found at https://raw.githubusercontent.com/seek4science/seek/gh-pages/contributing-to-pages.md
If you want to view your changes as you edit them, with Ruby installed you can install and run Jekyll with:
gem install bundler
bundle install
bundle exec jekyll serve
and then goto localhost:4000/seek/. For more information please see Using Jekyll with Pages
You can make a change by forking and issuing a pull request. If contributing through GitHub is unfamiliar to you, please read Contributing to Open Source on GitHub
FAIRDOM-SEEK documentation is in branches of the GitHub repository seek4science/seek
- gh-pages:
- gh-pages-1.13:
- gh-pages-master:
- gh-pages-sample-update: temporary branch to record features agreed upon during sample working group
FAIRDOM-SEEK documentation (gh-pages branches) has been cloned in GitHub
- ELIXIR-Belgium/DataHub-help: to deploy documentation of the production instance (https://datahub.elixir-belgium.org)
- ELIXIR-Belgium/DataHub-help-test: to deploy documentation (https://help.datahub-test.elixir-belgium.org) of the test instance (https://datahub-test.elixir-belgium.org). Forked from ELIXIR-Belgium/DataHub-help.
- ELIXIR-Belgium/DataHub-help-usecase: to deploy documentation (https://help.datahub-usecase.elixir-belgium.org) of the usecase instance (https://datahub-usecase.elixir-belgium.org). Forked from ELIXIR-Belgium/DataHub-help.
- Use ELIXIR-Belgium/DataHub-help-test to propose changes to the DataHub documentation pages.
- DataHub team will review and approve/reject your changes.
- DataHub team will push the changes towards ELIXIR-Belgium/DataHub-help.
-
Make the changes you want to propose.
-
Open a pull request from your fork (that is created by GitHub by default) towards ELIXIR-Belgium/DataHub-help-test.
IMPORTANT: please check that your pull request is against DataHub-help-test main and not DataHub-help.
-
Follow up via GitHub for comments from the DataHub team.
This is a general workflow in how to work on your own fork (copy) of the repository and request changes through a pull request.
- In GitHub, make a fork of ELIXIR-Belgium/DataHub-help-test using the fork button. Then go to
Code --> SSH --> copy
- Open a terminal and choose a directory. Then clone your fork there using:
NOTE: Make sure you clone the fork and not the original ELIXIR-Belgium/DataHub-help-test one.
git clone git@github.com:USERNAME/DataHub-help-test.git cd DataHub-help-test
- Set your fork of DataHub-Help (e.g. username/DataHub-help) as your remote
- Set ELIXIR-Belgium/DataHub-help-test as your origin
- When making changes
- Keep your fork up to date by pulling from origin (ELIXIR-Belgium/DataHub-help-test).
- Create a new branch named after your feature/edit and make the changes you want to make.
- Commit and push to remote (e.g. username/DataHub-help).
-
In GitHub, open a pull request and make sure to set ELIXIR-Belgium/DataHub-help-test main as base repository.
IMPORTANT: please check that your pull request is against DataHub-help-test main and not DataHub-help.