There is an
edit button on each page, which will take you directly to the document you need to edit on the
develop branch. We can then allow a large group of people to push directly to
develop and show their changes on the staging site when asking for review, which should smooth out and speed up the process considerably for everyone.
master is obviously protected, and will only have changes merged in from
develop once accepted.
Adding a New Page
If you want to add a page, rather than just edit, you'll need to make sure it appears on the sidebar and is accessible to everyone.
- Add your page to
source/_data/sidebars.ymladd the appropriate text to the appropriate place.
themes/navy/languages/en.ymledit the sidebars section to make sure that your new text in
sidebars.ymlis rendered correctly.
Make sure you have node.js installed first.
- Open Terminal and navigate to the project root directory,
npm run build,
- Go to
- Start a simple HTTP server serving files, for example:
python -m SimpleHTTPServer 8000,
- Open http://localhost:8000 in a browser.