Skip to content

mariash/learn-bosh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A guide to using BOSH

This is the source for the BOSH guide - http://mariash.github.io/learn-bosh.

All section files are in the sections folder.

The guide uses fullPage.js because it is fancy.

To add a new section:

  • add the appropriate HTML file to sections.
  • add the section information to sections.json. The first key is the group of sections - used in CSS for styling. The next key is the section anchor that will apear during scrolling. Its value is the section Title that apears in the side navigation.

The guide consists of a single static page (index.html), which can be generated by issuing:

./generate.rb

If you're going to be making lots of changes, issue the following command to regenerate the page when the relevant files change.

fswatch -o sections -o css/* -o templates/*| xargs -n1 ./generate.rb

Don't forget to merge into the gh-pages branch to update the github pages.

Helpers available in sections:

  • circled_title(number, title) - generates HTML with a circled number and a title.