Repo for the Nimbus website https://nimbus.team
Go to file
Jakub Sokołowski a7cab687df
fix typoe in index.swig template
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-23 15:44:13 +01:00
js fix fetching from ghost api, remove unused code 2019-11-19 11:34:13 +01:00
scaffolds Initial site outline 2018-09-28 20:47:04 +02:00
scripts change nimbus.status.im to nimbus.team 2019-11-18 14:12:45 +01:00
source update status name 2020-03-23 15:39:42 +01:00
themes/navy fix typoe in index.swig template 2020-03-23 15:44:13 +01:00
.eslintignore Initial site outline 2018-09-28 20:47:04 +02:00
.eslintrc Initial site outline 2018-09-28 20:47:04 +02:00
.gitignore remove built js, no need for it to be in repo 2019-01-15 10:08:21 +07:00
Jenkinsfile select hexo config based on branch, disallow indexing for develop 2019-07-01 10:11:15 -04:00
LICENSE Initial site outline 2018-09-28 20:47:04 +02:00
README.md change nimbus.status.im to nimbus.team 2019-11-18 14:12:45 +01:00
_config.dev.yml change nimbus.status.im to nimbus.team 2019-11-18 14:12:45 +01:00
_config.prod.yml change nimbus.status.im to nimbus.team 2019-11-18 14:12:45 +01:00
gulpfile.js fix fetching from ghost api, remove unused code 2019-11-19 11:34:13 +01:00
package.json fix fetching from ghost api, remove unused code 2019-11-19 11:34:13 +01:00
yarn.lock fix fetching from ghost api, remove unused code 2019-11-19 11:34:13 +01:00

README.md

Nimbus Site

This repo hosts the code for both nimbus.team on the master branch (which builds and serves through gh-pages), and dev.nimbus.team 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 ./node_modules/.bin/gulp build,
  4. In another terminal, run ./node_modules/.bin/hexo serve -p 8000,
  5. Open http://localhost:8000 in a browser.

This prevents the need for any global installs, and will allow you to have live reloading for any changes you are making.