Skip to content

Commit

Permalink
[docs] sorting of examples. if doesn’t work for you, update jekyll.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyk authored and shelhamer committed Aug 11, 2014
1 parent 978c81a commit 8f47e7d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,16 @@ Guidelines for development and contributing to Caffe.

### Examples

{% for page in site.pages %}
{% if page.category == 'example' %}
{% assign examples = site.pages | where:'category','example' | sort: 'priority' %}
{% for page in examples %}
- <div><a href="{{page.url}}">{{page.title}}</a><br />{{page.description}}</div>
{% endif %}
{% endfor %}

### Notebook examples

{% for page in site.pages %}
{% if page.category == 'notebook' %}
{% assign notebooks = site.pages | where:'category','notebook' %}
{% for page in notebooks %}
- <div><a href="http://nbviewer.ipython.org/github/BVLC/caffe/blob/master/{{page.original_path}}">{{page.title}}</a><br />{{page.description}}</div>
{% endif %}
{% endfor %}

## Citing Caffe
Expand Down
1 change: 1 addition & 0 deletions examples/cifar10/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ category: example
description: Train and test Caffe on CIFAR-10 data.
include_in_docs: true
layout: default
priority: 5
---

Alex's CIFAR-10 tutorial, Caffe style
Expand Down
1 change: 1 addition & 0 deletions examples/feature_extraction/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: Extract AlexNet features using the Caffe binary.
category: example
include_in_docs: true
layout: default
priority: 10
---

Extracting Features
Expand Down
1 change: 1 addition & 0 deletions examples/imagenet/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: Train and test "CaffeNet" on ImageNet challenge data.
category: example
include_in_docs: true
layout: default
priority: 1
---

Yangqing's Recipe on Brewing ImageNet
Expand Down
1 change: 1 addition & 0 deletions examples/mnist/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: Train and test "LeNet" on MNIST data.
category: example
include_in_docs: true
layout: default
priority: 1
---

# Training MNIST with Caffe
Expand Down
1 change: 1 addition & 0 deletions examples/web_demo/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: Image classification demo running as a Flask web server.
category: example
layout: default
include_in_docs: true
priority: 10
---

# Web Demo
Expand Down

0 comments on commit 8f47e7d

Please sign in to comment.