0ce084170a
* Setup Cypress tests for box and button * Add container tests * Add Cypress workflow * Use npm install * Update Cypress workflow * Add Jekyll build * Test other action * Test custom setup * Use other ruby action * Test without flag * Move cypress to docs folder * Record runs * Add Content, Icon, Image specs * Add Notification specs * Add Progress and Table specs * Add Tags specs * Add Title specs * Add breadcrumb specs * Add more specs * Add media specs * Add menu specs * Add modal specs * Add navbar specs * Add pagination specs * Add panel specs * Add tabs specs, Add form checkbox radio specs * Add utils * Add file specs * Add input textarea specs * Add select specs * Add form tools specs * Add other elements specs * Add footer and hero specs * Add Hero specs * Add section specs * Add grid specs * Add column sizes specs * Add tiles specs * Add generic specs * Fix generic tests * Make font family test looser * Remove system-ui test * Remove important flag * Fix disabled select color |
||
---|---|---|
.. | ||
_data | ||
_includes | ||
_javascript | ||
_layouts | ||
_posts | ||
_sass | ||
_scripts | ||
assets | ||
css | ||
cyp | ||
cypress | ||
documentation | ||
favicons | ||
images | ||
lib | ||
playground | ||
vendor | ||
_config.yml | ||
.babelrc | ||
.gitignore | ||
alternative-to-bootstrap.html | ||
atom.xml | ||
backers-md.html | ||
backers.html | ||
become-a-bulma-sponsor.html | ||
blog.html | ||
brand.html | ||
bulma-dark.sass | ||
bulma-docs.scss | ||
bulma-start.html | ||
bulma.scss | ||
CNAME | ||
cypress.json | ||
docker-compose.yml | ||
documentation.html | ||
expo.html | ||
extensions.html | ||
index.html | ||
LICENSE | ||
love.html | ||
made-with-bulma.html | ||
more.html | ||
package-lock.json | ||
package.json | ||
README.md | ||
templates.html | ||
thank-you.html | ||
the-official-bulma-book.html | ||
tiles.html | ||
videos.html |
Building the documentation
The documentation HTML is produced with the Ruby-based jekyll
tool.
- Make sure Ruby 2.x is installed.
gem install jekyll
ifjekyll
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
cd
intodocs/
directory- Copy the config file,
cp _config.yml _config.local.yml
- Edit
_config.local.yml
and change theurl:
value tohttp://localhost:4000
. This local config file will be ignored by git.
Run Jekyll
- In a separate shell session,
cd
to thedocs/
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.