Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

stjudecloud/docs

Repository files navigation

Build Status: Master License: MIT

Documentation for the St. Jude Cloud project.

Install

First, note that we include the theme as a submodule. You must use the --recurse-submodules command when you clone the repo to get everything needed to build the docs.

git clone --recurse-submodules [email protected]:stjudecloud/docs.git

We use conda to achieve consistency amongst our environment setups. You must install conda before running the commands below.

conda env create
conda activate docs

If you wish to install the dependencies in your own Python environment without conda, you can certainly do so, but you're on your own :).

Usage

You can use the following commands to get started working with the docs.

# Build the docs once
mkdocs build

# Run a development server
mkdocs serve

Development

St. Jude Cloud's documentation is built with mkdocs and mkdocs-material. All features outlined in the mkdocs-material technical documentation should be available to be enabled and used.

Please follow these best practices:

  • Heavily research and understand what mkdocs-material supports! Particularly admonitions and code highlighting. These will greatly improve the quality of your documentation.
  • You are permitted to use HTML tags and elements when Markdown does not support something you need (e.g. underlining), but please use Markdown when at all possible. The code base will become very hard to maintain if we use HTML unnecessarily.
  • When working on large features, please make a branch and submit a pull request.
  • We will continue to add automation to ensure links are live, words are spelled correctly, etc. Please pay attention to these statuses as you check-in code.

Deployment

Commits to master automatically deploy after 5-10 minutes to https://stjude.cloud/docs. There is no other deploy process available (or needed) currently. If you are working on a large change, we highly recommend you start a branch and submit a pull request when you are finished.

Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

📝 License

Copyright © 2020 St. Jude Cloud Team.
This project is MIT licensed.