Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 21e296b

Browse files
Since a gem project only needs a single Gemfile, the Gemfile on the example site dir was removed and the Gemfile on the root of the project was improved and now has the Gem requirements to run the test site.
Other files were updated according to the changes made on the project.
1 parent b48fe5e commit 21e296b

File tree

4 files changed

+53
-10
lines changed

4 files changed

+53
-10
lines changed

Gemfile

+51-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,54 @@
11
source 'https://rubygems.org'
22

3-
# Specify your gem's dependencies in jekyll-multiple-languages-plugin.gemspec
3+
4+
5+
################################################################################
6+
#
7+
# Gemspec
8+
#
9+
################################################################################
10+
11+
# Runtime dependencies in the gemspec are treated like base dependencies, and
12+
# development dependencies are added by default to the group, :development.
413
gemspec
14+
15+
16+
17+
18+
19+
20+
################################################################################
21+
#
22+
# Default
23+
#
24+
################################################################################
25+
26+
#gem "jekyll", "~> 2.0" # Uncoment to use Jekyll 2
27+
28+
29+
30+
31+
32+
33+
################################################################################
34+
#
35+
# Groups
36+
#
37+
################################################################################
38+
39+
#######################################
40+
# development
41+
#######################################
42+
#group :development do
43+
#
44+
#end
45+
46+
47+
48+
#######################################
49+
# test
50+
#######################################
51+
group :test do
52+
gem "jekyll-paginate"
53+
gem "redcarpet"
54+
end

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Inside each of the language folders, you should create mirror pages to provide t
325325
## 7. Example website
326326

327327
This repository has an example website where you can test the plugin.
328-
After downloading the repository, get into the `example` directory and run: `bundle install` to install the newest version of Jekyll (change the Gemfile to install another version), the plugin, and all other dependencies.
328+
After downloading the repository, get into the `example` directory and run: `bundle install` to install the newest version of Jekyll (edit the Gemfile to install another version) and all other dependencies.
329329

330330
Then run `bundle exec jekyll serve` to start the Jekyll server. Using your web browser, access the address `http://localhost:4000`.
331331

example/Gemfile

-7
This file was deleted.

example/_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Flex
22
markdown: redcarpet
33
highlighter: pygments
4-
exclude: ["Gemfile", "Gemfile.lock", "LICENSE.txt", "README.md"]
4+
exclude: ["LICENSE.txt", "README.md"]
55

66
baseurl: ""
77
permalink: /:title/

0 commit comments

Comments
 (0)