Repo for the Status People-ops Website https://status-im.github.io/people-ops.status.im/
Go to file
Jakub Sokołowski 999bfc6f4f
fix CNAME
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-16 11:02:55 +02:00
scaffolds Initial template 2018-10-04 23:23:28 +02:00
scripts Initial template 2018-10-04 23:23:28 +02:00
source fix CNAME 2019-05-16 11:02:55 +02:00
themes/navy Initial template 2018-10-04 23:23:28 +02:00
.eslintignore Initial template 2018-10-04 23:23:28 +02:00
.eslintrc Initial template 2018-10-04 23:23:28 +02:00
.gitignore Initial template 2018-10-04 23:23:28 +02:00
Jenkinsfile fix syncing with proxy host 2019-05-16 10:48:32 +02:00
LICENSE Initial commit 2018-10-04 22:56:52 +02:00
README.md Update README.md 2018-10-04 22:57:33 +02:00
_config.dev.yml Initial template 2018-10-04 23:23:28 +02:00
_config.prod.yml Initial template 2018-10-04 23:23:28 +02:00
package.json Initial template 2018-10-04 23:23:28 +02:00

README.md

Status People-Ops

This repo hosts the code for both people-ops.status.im on the master branch (which builds and serves through gh-pages), and dev-people-ops.status.im on the develop branch.

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.

  1. Add your page to source/docs/<your_file_here>.md
  2. In source/_data/sidebars.yml add the appropriate text to the appropriate place.
  3. In themes/navy/languages/en.yml edit the sidebars section to make sure that your new text in sidebars.yml is rendered correctly.

Testing locally

Make sure you have node.js installed first.

  1. Open Terminal and navigate to the project root directory,
  2. Run npm install,
  3. Run npm run build,
  4. Go to public/ directory,
  5. Start a simple HTTP server serving files, for example: python -m SimpleHTTPServer 8000,
  6. Open http://localhost:8000 in a browser.