-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from apetro/naive-gh-pages-site
Add proof-of-concept documentation website using GitHub Pages.
- Loading branch information
Showing
7 changed files
with
87 additions
and
0 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
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
# ImageQuiz | ||
|
||
See [the documentation website](http://jasig.github.io/ImageQuiz). |
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,7 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'github-pages', group: :jekyll_plugins | ||
gem 'jekyll-default-layout' | ||
gem 'jekyll-optional-front-matter' | ||
gem 'jekyll-readme-index' | ||
gem 'jekyll-titles-from-headings' |
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,24 @@ | ||
# Image Quiz | ||
|
||
Image quiz is an application for delivering quizzes where the answers to the questions are images. | ||
|
||
## Use cases | ||
|
||
+ Architecture | ||
+ Art | ||
+ Plant identification | ||
+ Anything else where images are useful | ||
|
||
## Videos | ||
|
||
<iframe width="560" height="315" src="https://www.youtube.com/embed/lfoeldV-_94?rel=0" frameborder="0" allowfullscreen></iframe> | ||
|
||
[More videos](videos.md) | ||
|
||
## License | ||
|
||
Image Quiz is distributed under Apache-2.0. | ||
|
||
## About this website | ||
|
||
See [about this website](about-this-website.md). |
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 @@ | ||
gems: | ||
- github-pages | ||
- jekyll-default-layout | ||
- jekyll-optional-front-matter | ||
- jekyll-readme-index | ||
- jekyll-titles-from-headings | ||
|
||
theme: jekyll-theme-dinky |
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,33 @@ | ||
# About this website | ||
|
||
This ImageQuiz documentation website is generated from the files in the `docs` directory of the repository, using the open source static site generator tool `Jekyll` as provided by GitHub Pages. | ||
|
||
## The latest `master` branch `docs` folder is controlling | ||
|
||
GitHub Pages will (try to) build and deploy the very latest version of the website source from the `docs` folder in the `master` branch of the repository. To update the contents of that folder in the tip of `master` is to update the website. | ||
|
||
## Editing | ||
|
||
The documentation source files are text files in that `docs` directory, in a simple markup language called Markdown. Mostly, you can just edit them, and Jekyll and GitHub Pages will do the right thing. | ||
|
||
If you propose your changes as a Pull Request, GitHub Pages will go ahead and try to build the changed website and note on that Pull Request about its success or failure, so you can get a heads up of issues even before someone merges them to `master`. | ||
|
||
## Building the documentation locally | ||
|
||
You can build the documentation locally, e.g. to support working on it, using the `Jekyll` tool, which has its own documentation. | ||
|
||
```shell | ||
bundle exec jekyll serve | ||
``` | ||
|
||
Building locally would let you preview what your changes will look like before relying upon GitHub Pages to build them. | ||
|
||
The Jekyll tool happens to be implemented in Ruby; the included `GEMFILE` declares the Ruby dependencies ("gems") you'd need locally and the included `_config.yml` configures `Jekyll` with the same constraints that GitHub Pages provides in its usage of Jekyll, so that you're less likely to accidentally try to do something in your local Jekyll work that GitHub Pages would disallow, and so that the same shortcuts and assumptions GitHub pages make will be reflected locally. | ||
|
||
## Getting fancy | ||
|
||
When it comes right down to it you can embed plain old HTML in Markdown files, so you can do anything. | ||
|
||
But don't do that. Use the features of Markdown and implement a custom Jekyll theme if you want to get fancy. | ||
|
||
Short of using a custom theme, you could use a theme included with GitHub Pages. Currently this uses the theme `jekyll-theme-dinky`; there are several others to choose from. |
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,11 @@ | ||
# Videos about ImageQuiz | ||
|
||
## 1 hour introduction to the IQ (C++) version of ImageQuiz | ||
|
||
<iframe width="560" height="315" src="https://www.youtube.com/embed/qMq0n8q8B8Q?rel=0" frameborder="0" allowfullscreen></iframe> | ||
|
||
See also [lecture notes summarizing this video](https://drive.google.com/file/d/0B2rS3XbKQ2pmclk5cXUwVmpRcWc/view). | ||
|
||
## More videos | ||
|
||
+ [Videos on how to use the VL software, the software for organism identification](https://www.youtube.com/channel/UCE7Sxwwrb7OBgU4uhii8xSw). |