bulma/docs
2017-04-13 01:11:54 +01:00
..
_includes Fix #512 2017-04-02 17:21:54 +01:00
_layouts Change default font size 2017-03-15 22:14:42 +00:00
_posts Add new blog post 2017-03-15 22:14:42 +00:00
css Fix #584, Fix #571 2017-04-13 01:11:54 +01:00
documentation Fix #584, Fix #571 2017-04-13 01:11:54 +01:00
favicons Update favicons 2017-01-04 19:00:50 +01:00
images Fix #637 2017-04-13 00:39:04 +01:00
javascript Add escape key for modals 2017-03-15 22:14:42 +00:00
sass Add callout 2017-04-01 13:32:07 +01:00
_config.yml Deploy 0.4.0 2017-03-15 22:14:42 +00:00
.gitignore Fix button icons 2016-10-30 10:41:53 +00:00
atom.xml Move docs to bulma repo (#299) 2016-09-11 12:00:49 +01:00
blog.html Fix grid 2016-10-30 23:44:50 +00:00
bulma-docs.sass Add callout 2017-04-01 13:32:07 +01:00
CNAME Create CNAME 2016-09-11 14:32:11 +01:00
docker-compose.yml docker-compose file 2017-04-01 13:39:17 +01:00
index.html Fix verb tense 2017-03-17 00:55:47 +00:00
LICENSE Update templates 2017-01-15 21:45:20 +00:00
README.md Fixes #560: Adds how-to README for docs (#561) 2017-03-14 22:23:57 +00:00
templates.html Fix button spacing, Add image placeholders 2016-12-22 18:17:26 +00:00
thank-you.html Fix imports 2016-10-16 19:19:40 +01:00
tiles.html Fix button spacing, Add image placeholders 2016-12-22 18:17:26 +00:00

Building the documentation

The documentation HTML is produced with the Ruby-based jekyll tool.

  1. Make sure Ruby 2.x is installed.
  2. gem install jekyll

Viewing the documentation locally

Then to view the documentation in your local checkout:

  1. Before you begin, cd into docs/ directory, and cp _config.yml _config.local.yml. Then edit _config.local.yml and change the url: value to http://localhost:4000. This local config file will be ignored by git.
  2. In a separate shell session, cd to the docs/ directory, and do:
jekyll serve --incremental --config _config.local.yml

This will start an HTTP server at http://localhost:4000/ that serves the docs built in the _site directory; and anytime the docs are rebuilt by you, it will serve the docs site on the fly. 2. In your main shell session where you develop, if you change anything in docs/ the jekyll server will rebuild those on the fly. But if you change anything about the Bulma SASS or CSS, you need to do npm run start-docs to build the docs' CSS before you will see it in the browser. The process running jekyll serve will pick up the new CSS automatically.