Source for the STIX documentation site
Pull requests welcome!
We suggest you:
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)gem install bundler
bundle install
jekyll server
or a static build with jekyll build
Note: Jekyll has some "issues" on Windows. See: Jekyll on Windows for instructions. The issues I encountered (other than those covered in those instructions) were:
gem uninstall jekyll # If you already installed it
gem install jekyll --version "=2.3.0"
gem uninstall pygments.rb
gem install pygments.rb --version "=0.5.0"
If you run into any problems on other platforms, see the Jekyll Installation Docs. In particular, you'll need to be able to compile native code so on OS X you'll need the Xcode Command Line tools and on Linux you'll need the appropriate build packages (build-essential on Ubuntu, etc). As with most other STIX projects, you'll also need the libxml development libraries installed.
In order to run the data model regeneration you'll need to initialize the submodule with the latest version of the STIX schemas in it. To do so:
git submodule init
git submodule update
cd _schemas/stix
git submodule init
git submodule update
From there, you can run the regeneration via a rake task:
rake regenerate