bulma/docs
Chirag Sukhala 0cd3666d73 Updated Docs/../general.html to fix button label
The button label was out of sequence and was bugging me.  and I believe its the same with anyone reading the docs carefully.
2020-05-13 08:54:08 +01:00
..
_data Remove shecodes link 2020-05-04 11:46:45 +01:00
_includes Update Expo April 2020 2020-04-13 11:17:05 +01:00
_javascript Docs: Prevent JS error if Vimeo does not load. Resolves #2635. 2019-11-30 15:24:41 -05:00
_layouts Announce 0.8.2 2020-04-11 13:24:36 +01:00
_posts Remove Open Iconic references 2020-01-05 13:02:21 +00:00
_sass Update Expo April 2020 2020-04-13 11:17:05 +01:00
_scripts Rename scripts folder 2019-05-18 16:11:16 +01:00
css Update Expo April 2020 2020-04-13 11:17:05 +01:00
documentation Updated Docs/../general.html to fix button label 2020-05-13 08:54:08 +01:00
favicons Update favicons 2017-01-04 19:00:50 +01:00
images Remove shecodes link 2020-05-04 11:46:45 +01:00
lib Docs: Prevent JS error if Vimeo does not load. Resolves #2635. 2019-11-30 15:24:41 -05:00
vendor Add native 2018-03-29 22:25:55 +01:00
_config.yml Website 0.7.0 2018-04-13 16:45:12 +01:00
.babelrc Add babel 2017-07-01 18:30:39 +01:00
.gitignore fix: documentation button hidden on tablets 2019-10-17 11:49:01 +01:00
alternative-to-bootstrap.html add Accessibility section for Bootstrap 2018-10-02 06:24:00 +01:00
atom.xml Xml Escape for Author Name 2019-01-23 22:13:52 +00:00
backers.html Update backers page 2020-03-06 16:12:30 +00:00
blog.html Update backers July 2019 2019-07-09 12:20:21 +01:00
bulma-dark.sass Add more color documentation, Add light buttons to docs 2019-10-17 20:51:42 -04:00
bulma-docs.sass Update sponsors 2020-02-20 21:08:58 +00:00
bulma-start.html Update bulma-start 2020-04-11 13:35:18 +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
documentation.html Add documentation icons 2018-04-10 22:38:00 +01:00
expo.html Fix share URL 2019-10-18 07:43:14 -04:00
extensions.html bulma-spacing added to extensions 2020-02-23 14:19:11 +00:00
index.html Add Boosta 2019-07-18 10:56:18 +02:00
LICENSE Update templates 2017-01-15 21:45:20 +00:00
love.html Fix tw element 2019-04-07 16:28:01 +01:00
made-with-bulma.html Add documentation icons 2018-04-10 22:38:00 +01:00
more.html Add link element 2018-04-10 22:50:18 +01:00
package-lock.json Uprade dependencies 2020-04-11 13:14:21 +01:00
package.json Uprade dependencies 2020-04-11 13:14:21 +01:00
README.md Add tip to open local server URL after build 2019-03-05 12:13:39 +01:00
templates.html Organize partials 2018-04-09 22:25:26 +01:00
thank-you.html Organize partials 2018-04-09 22:25:26 +01:00
tiles.html Organize partials 2018-04-09 22:25:26 +01:00
videos.html Fix relative links 2018-10-12 11:23:32 +01:00
yarn.lock Uprade dependencies 2020-04-11 13:14:21 +01: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 if jekyll is not already installed.

Note

: If you are an Ubuntu user, make sure ruby2.x-dev is installed.

Viewing the documentation locally

To view the documentation on your system locally:

Setup

  1. cd into docs/ directory
  2. Copy the config file, cp _config.yml _config.local.yml
  3. Edit _config.local.yml and change the url: value to http://localhost:4000. This local config file will be ignored by git.

Run Jekyll

  1. 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. You can also add the --open-url option (or its alias --o) to automatically open the server URL in your default browser when it's ready.

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 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.