-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mike Neumegen
committed
Jul 22, 2016
1 parent
f758495
commit 50f2925
Showing
9 changed files
with
160 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'jekyll', '3.1.6' | ||
|
||
group :jekyll_plugins do | ||
gem 'jekyll-sitemap', '0.11.0' | ||
gem 'jekyll-seo-tag', '2.0.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.4.0) | ||
colorator (0.1) | ||
ffi (1.9.14) | ||
jekyll (3.1.6) | ||
colorator (~> 0.1) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.3) | ||
liquid (~> 3.0) | ||
mercenary (~> 0.3.3) | ||
rouge (~> 1.7) | ||
safe_yaml (~> 1.0) | ||
jekyll-sass-converter (1.4.0) | ||
sass (~> 3.4) | ||
jekyll-seo-tag (2.0.0) | ||
jekyll (~> 3.1) | ||
jekyll-sitemap (0.11.0) | ||
addressable (~> 2.4.0) | ||
jekyll-watch (1.5.0) | ||
listen (~> 3.0, < 3.1) | ||
kramdown (1.11.1) | ||
liquid (3.0.6) | ||
listen (3.0.8) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
mercenary (0.3.6) | ||
rb-fsevent (0.9.7) | ||
rb-inotify (0.9.7) | ||
ffi (>= 0.5.0) | ||
rouge (1.11.1) | ||
safe_yaml (1.0.4) | ||
sass (3.4.22) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
jekyll (= 3.1.6) | ||
jekyll-seo-tag (= 2.0.0) | ||
jekyll-sitemap (= 0.11.0) | ||
|
||
BUNDLED WITH | ||
1.12.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 CloudCannon | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ $.ajax({ | |
}, | ||
"success": function(data) { | ||
alert(data); | ||
} | ||
}); | ||
~~~ | ||
{: title="jQuery" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ $.ajax({ | |
}, | ||
"success": function(data) { | ||
alert(data); | ||
} | ||
}); | ||
~~~ | ||
{: title="jQuery" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Scholar | ||
|
||
Product documentation template for Jekyll. Browse through a [live demo](#TODO). | ||
Start documenting your product, application, service or website with this configurable theme. | ||
|
||
 | ||
|
||
Scholar was made by [CloudCannon](http://cloudcannon.com/), the Cloud CMS for Jekyll. | ||
Find more templates and themes at [Jekyll Tips](http://jekyll.tips/templates/). | ||
|
||
Learn Jekyll with step-by-step tutorials and videos at [Jekyll Tips](http://jekyll.tips/). | ||
|
||
## Features | ||
|
||
* Two column layout | ||
* Full text search | ||
* Pre-styled components | ||
* Auto-generated navigation based on category | ||
* Optimised for editing in [CloudCannon](http://cloudcannon.com/) | ||
* Change log | ||
* RSS/Atom feed | ||
* SEO tags | ||
* Google Analytics | ||
|
||
## Setup | ||
|
||
1. Add your site and author details in `_config.yml`. | ||
2. Get a workflow going to see your site's output (with [CloudCannon](https://app.cloudcannon.com/) or Jekyll locally). | ||
|
||
## Develop | ||
|
||
Scholar was built with [Jekyll](http://jekyllrb.com/) version 3.1.6, but should support newer versions as well. | ||
|
||
Install the dependencies with [Bundler](http://bundler.io/): | ||
|
||
~~~bash | ||
$ bundle install | ||
~~~ | ||
|
||
Run `jekyll` commands through Bundler to ensure you're using the right versions: | ||
|
||
~~~bash | ||
$ bundle exec jekyll serve | ||
~~~ | ||
|
||
## Editing | ||
|
||
Scholar is already optimised for adding, updating and removing documentation pages in CloudCannon. | ||
|
||
### Documentation pages | ||
|
||
* Add, update or remove a documentation page in the *Documentation* collection. | ||
* Change the category of a documentation page to move it to another section in the navigation. | ||
* Documentation pages are organised in the navigation by category, with URLs based on the path inside the `_docs` folder. | ||
|
||
### Change log | ||
|
||
* Add, update or remove change log entries from your posts. | ||
* Tag entries as minor or major in the front matter. | ||
|
||
### Search | ||
|
||
* Add `excluded_in_search: true` to any documentation page's front matter to exclude that page in the search results. |