Changes: - Updates links to use new https://news.nimbus.team/ Ghost instance, rename links to use "News" - Fixes URLs for the documentation sidebar in source/_data/sidebar.yml - Drops fetching Fathoms tracker.js and embeds it by committing it at source/js/fathom.js - Drops a bunch of unused dependencies like babel, browserify, js-yaml, or qrcode - Drops themes/navy/source/js/main.js and replaces it with simpler source/js/main.js - Drops scripts pulled in from CDNs like Moment.js, jQuery, Clipboard.js, and Highlight - Drops everything in themes/navy/source/js including useless themes/navy/source/js/styles - Drops over complicated JS bundling tasks from gulpfile.js - Drops templates for unused popups: - themes/navy/layout/partial/community-popup.swig - themes/navy/layout/partial/projects-popup.swig Signed-off-by: Jakub Sokołowski <jakub@status.im>
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.
- Add your page to
source/docs/<your_file_here>.md
- In
source/_data/sidebars.yml
add the appropriate text to the appropriate place. - In
themes/navy/languages/en.yml
edit the sidebars section to make sure that your new text insidebars.yml
is rendered correctly.
Testing locally
Make sure you have node.js installed first.
- Open Terminal and navigate to the project root directory,
- Run
npm install
, - Run
./node_modules/.bin/gulp build
, - In another terminal, run
./node_modules/.bin/hexo serve -p 8000
, - 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.