Basic flow of working on the contents
Adding/Editing Contents
- Fork https://github.com/ocp-power-automation/extra perhaps naming your fork "power-automation-extra" as an example
git clone https://github.com/<yourid>/power-automation-extra.gitcd power-automation-extrapip install mkdocsmkdocs serve- this will start the live-reloading docs server on port 8000, ctrl-c to stop- edit docs under the
./docssubdir with your favorite editor (1 sentence per line) - point your browser to http://localhost:8000
- repeat the edit & check until you are happy
git addyour changesgit commit -swith good commentgit pushto your forked repo- Create a PR against upstream
masterbranch
Reviewing Changes
- New (pre-merge) PR submitted by somebody (eg. "pull/27")
- Let's say you are in the
power-automation-extradirectory whereoriginpoints to your repo git remote add upstream https://github.com/ocp-power-automation/extra.git(if you have not done this already)git fetch upstream pull/27/head:review27- this creates a remote branch called "review27" in your repo with the PRgit checkout review27- this downloads the source tree with the PRmkdocs serve- point your browser to http://localhost:8000