bd2kccd/bd2kccd.github.io

Name: bd2kccd.github.io

Owner: bd2kccd

Description: null

Created: 2016-11-07 03:58:44.0

Updated: 2016-12-02 19:03:35.0

Pushed: 2017-10-12 13:43:14.0

Homepage: null

Size: 3401

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits
Harry Hochheiser2016-12-02 16:05:32.03
Zhou (Joe) Yuan2017-10-12 13:43:04.049
Jeremy Espino2017-06-13 17:22:38.033
Chirayu (Kong) Wongchokprasitti2017-01-27 14:19:45.011
Kevin Bui2016-11-30 21:17:46.01

Other Committers

UserEmailMost Recent Commit# Commits

README

bd2kccd.github.io

This is the project documentation repo of CCD software and tools. It uses MkDocs to generate the static documentation site pages that are hosted on Github Pages.

Below are the steps to contrubite to the CCD docs:

1. Installing MkDocs v0.16.0

We suggest all contributors to install MkDocs using pip and verify that the version 0.16.0 is installed since this version has fixed many bugs.

2. Cloning the bd2kccd.github.io Repository

Before starting to work on the documentations, you'll need to clone this repo to create a local copy.

clone https://github.com/bd2kccd/bd2kccd.github.io.git
d2kccd.github.io
3. Creating a New Branch to Exercise Your Changes

Now you can create a new branch off the master branch to make changes locally.

checkout -b your_new_branch
4. Starting the MkDocs Development Server

MkDocs comes with a built-in dev-server that lets you preview your documentation as you work on it. Make sure you're in the same directory as the mkdocs.yml configuration file, and then start the server by running

cs serve

Then open up http://127.0.0.1:8000/ in your browser, and you'll see the home page being displayed.

5. Adding/Editing Pages

All the source markdown files are stored in the /docs_src folder. Just follow the instructions to add new pages or edit existing content.

You'll also need to edit settings in the mkdocs.yml file to configure site pages and navigation.

6. Building/Generating the Static Site for Staging
ild_stage.sh

This command will build and generate the static content site and store all the static files at /stage folder.

7. Reviewing Changes Locally

Before pushing all changes back to Github repo and then sending a pull request, you'll need to review your local changes in the development server.

8. Sending a Pull Request for Changes Review

Once everything looks good in your local development server, push them to your branch on Github. Then create a new pull request based on the master branch so your cahnges will be reviewed before merging into the master branch. And once it's merged successfully, you'll be able to see the updated Github Pages site at https://bd2kccd.github.io/stage for all ther team members to review on a live staging site.

9. Pushing to Production Site

The owner of this repo will build the production site based on the review results by using

ild_production.sh

This generaes all the static content into the docs folder. And once it's pushed back to Github, the production site can be accessed at https://bd2kccd.github.io/docs

Notes

The index.html in the root directory of this repo serves as the entry point of the domain name https://bd2kccd.github.io, and it redirects the users to https://bd2kccd.github.io/docs to view the MkDocs generated static content. Just leave it there if you don't need to display anything by default.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.