Git Product home page Git Product logo

bd2kccd.github.io's Introduction

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 v1.5.3

We suggest all contributors to install MkDocs using pip and verify that the version 1.5.3 is installed since this version has many updates and looks stable.

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.

git clone https://github.com/bd2kccd/bd2kccd.github.io.git
cd bd2kccd.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.

git 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

mkdocs 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

./build_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

./build_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.

bd2kccd.github.io's People

Contributors

yuanzhou avatar espinoj avatar chirayukong avatar yasu-sh avatar harryhoch avatar kvb2univpitt avatar

Watchers

 avatar James Cloos avatar Michael Tommie McDuffie avatar Xinghua Lu avatar  avatar Alexandros Labrinidis avatar Joseph Ramsey avatar  avatar Nick Nystrom avatar Takis Benos avatar jitskeVs avatar

Forkers

harryhoch yasu-sh

bd2kccd.github.io's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.