Official documentation for building websites on the BaseKit platform
Running the site on your local machine:
$ gem install github-pages
- Install github pages ruby gem$ git clone git@github.com:basekit/docs.basekit.com.git
- clone project$ cd docs.basekit.com
- Switch to project directory$ jekyll serve --watch
- Serve site locally using Jekyll- go to
http://localhost:4000
Installing all the assets and dependencies required for development:
$ brew install npm
- Install node$ npm install
- Install package dependencies$ bower install
- Install project assets
These are tasks that can be ran with gulp, all of which take the installed bower components and place them into the relevant project directories:
-
$ gulp
- Processes all assets for the project-
$ gulp styles
- Copies all style files into_sass
directory$ gulp css
- Converts CSS assets into SCSS and copies it into the_sass
directory$ gulp sass
- Copies SCSS assets into the_sass
directory
-
$ gulp icons
- Prepares SVG and PNG icons$ gulp svg
- Compiles SVG icons into singleicons.svg
file$ gulp png
- Creates PNG counterparts of each SVG icon and places them into theassets/icons
directory$ gulp fonticons
- Copies icons fonts intofonts
directory
-
The Documentation uses markdown to manage it's content. It also uses pygments for code samples and liquid shortcodes for small chunks of HTML. Take a look at the examples below:
{% highlight html %}
{% raw %}
<div class="element">
<span>This is some sample HTML</span>
</div>
{% endraw %}
{% endhighlight %}
{% include button.html link="http://docs.basekit.com" text="This a button" %}
{% include aligncenter.html content="This text is centre aligned" %}
{% include buttoncenter.html link="http://docs.basekit.com" text="This button is centre aligned" %}
> **IMPORTANT**: This is a breaking change.
This repository is running with No License.
You have no permission from the creators of the software to use, modify, or share the software. Although a code host such as GitHub may allow you to view and fork the code, this does not imply that you are permitted to use, modify, or share the software for any purpose.