Skip to content

Commit afb1f4a

Browse files
committedFeb 15, 2018
in progress
1 parent 3f20f2f commit afb1f4a

File tree

10 files changed

+49
-34
lines changed

10 files changed

+49
-34
lines changed
 

Diff for: ‎History.markdown

-16
This file was deleted.

Diff for: ‎_blogs/blogs.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: post
3+
title : Blogs
4+
header : Blogs
5+
tagline: news
6+
group: navigation
7+
order: 4
8+
---
9+
{% include JB/setup %}
10+
11+
{% assign posts_collate = site.posts %}
12+
{% include JB/posts_collate %}

Diff for: ‎_config.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
permalink: /:categories/:year/:month/:day/:title
44

55
exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"]
6-
highlighter: pygments
6+
highlighter: rouge
77

88
# Themes are encouraged to use these universal variables
99
# so be sure to set them if your theme uses them.
@@ -71,11 +71,11 @@ JB :
7171
# These paths are to the main pages Jekyll-Bootstrap ships with.
7272
# Some JB helpers refer to these paths; change them here if needed.
7373
#
74-
apis_path: /01_apis
75-
features_path: /02_features
76-
download_path: /03_download
77-
news_path: /04_news
78-
about_path: /05_about
74+
api_list_path: /api-list
75+
features_path: /features
76+
download_path: /download
77+
blogs_path: /blogs
78+
about_path: /about
7979
#archive_path: /blogs/archive.html
8080
#categories_path : /blogs/categories.html
8181
#tags_path : /blogs/tags.html
@@ -125,14 +125,14 @@ JB :
125125
# Set 'provider' to the sharing provider you want to use.
126126
# Set 'provider' to false to turn sharing off globally.
127127
#
128-
sharing :
129-
provider : false
130-
128+
#sharing :
129+
# provider : tweet
130+
#
131131
# Settings for all other include helpers can be defined by creating
132132
# a hash with key named for the given helper. ex:
133133
#
134-
# pages_list :
135-
# provider : "custom"
134+
pages_list :
135+
provider : "custom"
136136
#
137137
# Setting any helper's provider to 'custom' will bypass the helper code
138138
# and include your custom code. Your custom file must be defined at:

Diff for: ‎_includes/custom/pages_list

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{% assign items = pages_list | sort: 'order' %}
2+
{% for node in items %}
3+
{% if node.title != null %}
4+
{% if group == null or group == node.group %}
5+
{% if page.url == node.url %}
6+
<li class="active"><a href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a></li>
7+
{% else %}
8+
<li><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li>
9+
{% endif %}
10+
{% endif %}
11+
{% endif %}
12+
{% endfor %}

Diff for: ‎_includes/themes/bootstrap-3/default.html

-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
<div class="container">
8686
<p>
8787
&copy; 2017-{{ site.time | date: '%Y' }} {{ site.author.name }}
88-
<a href="/license" class="pull-right">License</a>
8988
</p>
9089
</div>
9190
</div>

Diff for: ‎04_about.md renamed to ‎about.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title : About
44
header : About
55
tagline: rdbcache
66
group: navigation
7+
order: 5
78
---
89
{% include JB/setup %}
910

Diff for: ‎01_apis.md renamed to ‎api-list.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title : API List
44
header : API List
55
tagline: restful application interface
66
group: navigation
7+
order: 1
78
---
89
{% include JB/setup %}
910

Diff for: ‎03_download.md renamed to ‎download.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title : Download
44
header : Download
55
tagline: install
66
group: navigation
7+
order: 3
78
---
89
{% include JB/setup %}
910

@@ -18,7 +19,7 @@ rdbcache is a java application. It requires Java version 1.8+ runtime environmen
1819
# check if OK
1920
rdbcache -v
2021

21-
Put following environment variables in your /root/.bash_profile.
22+
Put following environment variables in your ~/.bash_profile.
2223
Please replace the values with the proper ones for your environment.
2324

2425
export RDBCACHE_PORT=8181

Diff for: ‎02_features.md renamed to ‎features.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title : Features
44
header : Features List
55
tagline: expiration and query string
66
group: navigation
7+
order: 2
78
---
89
{% include JB/setup %}
910

Diff for: ‎index.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rdbcache stands for redis database cache. It is an open source database cache se
1212

1313
The asynchronous nature makes rdbcache very fast and useful in many scenarios. Through few simple restful API endpoints, rdbcache offers the convenience for developers to easily take advantage of the powers and benefits of both redis and database.
1414

15-
Links for complete [API List](/01_apis) and [Features](/02_features)
15+
Links for complete [API List](/api-list) and [Features](/features)
1616

1717
## Quick Start
1818

@@ -25,7 +25,7 @@ rdbcache is a java application. It requires Java version 1.8+ runtime environmen
2525
# check if OK
2626
rdbcache -v
2727

28-
Put following environment variables in your /root/.bash_profile.
28+
Put following environment variables in your ~/.bash_profile.
2929
Please replace the values with the proper ones for your environment.
3030

3131
export RDBCACHE_PORT=8181
@@ -57,7 +57,7 @@ click [download rdbcache.zip](https://raw.githubusercontent.com/rdbcache/rdbcach
5757

5858
## Why & How?
5959

60-
The answer for Why? is in [About page](/04_about). Let’s try to answer How? with examples.
60+
The answer for Why is in [About page](/about). Let’s try to answer How with examples.
6161

6262
### 1) Get user info from user_table by email david@example.com:
6363

@@ -171,7 +171,7 @@ Name is changed in database.
171171
A simple API request can pull out multiple rows of data from database.
172172
Query string in URL will be translated to SQL clauses and constraints.
173173

174-
More examples are available at [API List](/01_apis) and [Features](/02_features).
174+
More examples are available at [API List](/api-list) and [Features](/features).
175175

176176
## Tests
177177

@@ -200,6 +200,10 @@ rdbcache test suite is built on top of PHP Yii2 framework. It requires php 5.4.0
200200
composer install
201201
./rdbcache-test
202202

203-
If you'd like to be added as a contributor to improve the software and add more test cases, please fork the code and/or the test suite.
203+
If you'd like to be added as a contributor to improve the software and add more test cases, please fork the code and the test suite.
204+
205+
## License
206+
207+
rdbcache is licensed under the BSD License - see the [LICENSE](/license) for details
204208

205209

0 commit comments

Comments
 (0)