Contributing
Contributions are welcome and appreciated! Every little bit helps and we will always give you credit. You can contribute in the ways listed below.
Report issues
Report errors and other issues using the “Report issue” link at the bottom of each page or by going to the issues page on GitHub.
If you are reporting an issue related to running the code, please include the following information:
- Your operating system name and version
- Whether you are running the code on Klone, and if you are:
- Whether you are running the code on a login node or a compute node
- Any details about your local setup that might be helpful in troubleshooting
- Detailed steps to reproduce the issue
Submitting feedback
The best way to send feedback is to file an issue on GitHub.
If you are proposing a feature or change, please:
- Explain in detail how it would work or what it would cover
- Keep the scope as narrow as possible
Questions and discussion
Have a question or want to discuss something? There are a few options:
- 📥 File an issue on GitHub
- 🧵 Start a discussion or read past discussions on GitHub Discussions
- 📧 Send an e-mail to the psych-hpc mailing list or read the archives
Contributing new content or changes
You can contribute content or changes to the guide by forking this repository and submitting a pull request.
Directions
To contribute to this guide, you should be familiar with collaborating on GitHub, using Git, and writing documents in Markdown (specifically Quarto Markdown).
- Fork this repository.
- Clone your fork locally.
- Create a new branch for your changes.
- If you want to preview or build the site locally:
- Install Quarto (use version 1.4 or higher, or a 1.4 pre-release version).
- Install
R
(v4.1 or higher) and install thermarkdown
package withinstall.packages("rmarkdown")
.
- Make your changes (generally to
.qmd
files). - Add yourself to the list of authors in the YAML front matter of this page.
- If adding a new page:
- Add a link to the page in the
_quarto.yml
sidebar
section. - If the page is part of a folder that contains an
index.qmd
file that has alisting
section and thecontents
section within it does not include all the pages using a wildcard (e.g.,- "*.qmd"
), add the page to thecontents
section under thelisting
section. - If the page should be listed on the Welcome page, add a link to the page in the
index.qmd
file at the root of the repository. - Ensure that the page has a
description
in the YAML front matter. - Ensure that the page has a
title
in the YAML front matter OR that the page has a#
heading at the top of the page.
- Add a link to the page in the
- If possible, preview your changes locally using
quarto preview
. - Open a pull request.
Once the pull request is opened, a project maintainer will review your changes and may request changes or ask questions. Once the changes are approved, a project maintainer will merge your changes into the main repository.
Repository structure
The repository is structured as a Quarto website project.
The main files and folders are:
_quarto.yml
: Quarto configuration file for the websiteindex.qmd
: Quarto Markdown file for the home pagedocs/
: contains the page content_examples/
: contains example code_static
: contains static files that will be available to published web pages (e.g., images, CSS, JavaScript)_extensions/
: contains installed Quarto extensions
Licensing
This work is licensed under the MIT license