de2d55c206
Minification was breaking the whitespace in JSON blocks on the front page that require indentation because we use non-standard `p` and `span` tags in JSON blocks I imagine the HTML compressor gem used by middleman has some whitelisting of the `pre` tag, therefore it wouldn't break normal code blocks. |
||
---|---|---|
.. | ||
helpers | ||
source | ||
.buildpacks | ||
Gemfile | ||
Gemfile.lock | ||
Gruntfile.js | ||
LICENSE.md | ||
Procfile | ||
README.md | ||
Vagrantfile | ||
config.rb | ||
config.ru | ||
dummy.txt | ||
package.json | ||
version.txt |
README.md
Terraform Website
This subdirectory contains the entire source for the Terraform Website. This is a Middleman project, which builds a static site from these source files.
Contributions Welcome!
If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.
Running the Site Locally
Running the site locally is simple. Clone this repo and run the following commands:
$ bundle
$ bundle exec middleman server
Then open up localhost:4567
. Note that some URLs you may need to append
".html" to make them work (in the navigation and such).