We’re glad you’re interested in contributing to this project! Before getting started, please review our Code of Conduct. We expect all interactions related to this project follow these guidelines.
These contribution guidelines assume you have a GitHub account and are able to contribute via the project’s GitHub repository. If you are not familiar with GitHub, you may find it useful to read through GitHub’s Quickstart guide. You can contribute in two main ways via GitHub:
Additional guidance on these two contribution methods are included below.
Issues in GitHub are a great way to communicate with us about this project, whether it is filing a bug report (about something that doens’t quite work for you in the browser) or suggesting a new feature (adding new functionality to the browser). Browse the existing issues to see whether there is a current conversation related to your idea or problem.
You are welcome to add feedback to existing issues, including comments and reactions to posts in the issue discussion. If no conversation about your idea currently exists, please submit a new issue. If you are filing an issue about a problem with rendering in the browser, we appreciate you sharing a screen shot by attaching a file to the conversation!
Pull requests (PRs) are the GitHub mechanism that allows you to suggest changes to someone else’s repository (in this case, our project!). This section includes three types of information:
shiny
and/or other scriptsIf your PR is correcting a small typo in documentation, or if you are learning how PRs work, the most straightforward approach is to use the GitHub web interface to make changes and submit the PR. The general process is outlined below, but is also described in more detail in the GitHub Quickstart section on GitHub flow:
A member of the core team will review your PR and inform you how to proceed. (see also our GOVERNANCE document)
If you are making more complex changes involving multiple files and/or code, it is likely you will need to make your changes on a local version of the repository. The PR workflow then requires Git to be installed and accessible on your local machine, such as the GitHub Desktop app, GitHub CLI, or git command line tools.
Then the workflow becomes:
The specific steps may differ slightly depending on the method with which you interact with Git on your own computer.
The omicser
website is built using pkgdown
.
When applicable, please edit the Rmd
version of a file (rather than the md
) version. If you would like to recommend changes to the tutorials listed under the “Articles” drop-down menu, you can find the source files in the vignettes
directory.
The site will need to be rebuilt as follows for these changes to be visible on the website:
library(pkgdown)
pkgdown::build_site()
All changes from this command will need to be committed to the repository for the website to be updated.
If you are proposing changes to the front page of the website, you should edit the top-level README.Rmd
file in the repository. The file needs to be knit (to create README.md
) and then the site rebuilt for these changes to be published to the website.