This is the github repository for docs.sparc.science. This site is managed by the SPARC Data Resource Center (SPARC DRC). The SPARC DRC is a component of the SPARC program. The documentation is open source and it is encouraged for users to contribute to documentation. Before contributing to the repository, contact the SPARC DAT-Core to discuss the content you wish to add.
Contributing to the SPARC Documentation website
Anyone can create a branch of this repository and add or modify any of the pages for this documentation by submitting a pull request to the master branch of the code. The DAT-Core manages the repository and will pull in any changes after they are validated.
Workflow for adding documentation to the site
To submit a pull request with updates to the documentation site:
- Create a your own branch from the GitHub repository.
- Install Jekyll on your computer if you want to locally test the updates.
- Add, or edit pages following the guidelines below.
- Commit your changes to your branch and push to GitHub.
- Submit a pull request with a description of your changes.
- The DAT-Core will merge your changes into the master branch which will update https://docs.sparc.science.
Editing the documentation and testing the documentation locally
The SPARC documentation site is using the Jekyll Doc Theme. Full documentation for this theme is located here: https://idratherbewriting.com/documentation-theme-jekyll/. Follow the instructions in the link to setup Jekyll on your computer to locally test any changes that you make to the documentation site. The theme documentation also provides indepth instructions on how to make changes to the site.
The theme is quite flexible. To keep the SPARC documentation site clean, please follow the following guidelines:
- Only use Markdown to format your pages
- Store pages in the 'pages' folder and create a meaningful hierarchy of folders if necessary
- Store images in the 'images' folder
- Do not create any new sidebars. Use the '_data/sidebars/sparc_sidebar.yml' sidebar.
- Do not add any top-navigation.
Contact the SPARC DAT-Core if you have any questions or suggestions.