jekyll-org-mode-converter 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.org +15 -6
- data/VERSION +1 -1
- data/jekyll-org-mode-converter.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68bca8a5e4352964c32bd331bed106efe4d34c09
|
4
|
+
data.tar.gz: 0e64d5fd44dfed6316def7ae0c40dc682365d8a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3358363cfa3482b4346cd7fad7a7f50e5e9b3963ad05bb33a15c3b39ccd5d3e22bb09b43ede64eab115ec5e290a0015dcffe25afe1093f36376e31812250daf
|
7
|
+
data.tar.gz: 7ccffe9e967aeea344c66eba2cb1b3899d0a143b9c2ede0a5ab11aaeb16970cebbc1a5762c4a0bc0f4385b28e4640611a120c3144c409835d56b5b1b22178d93
|
data/README.org
CHANGED
@@ -78,11 +78,11 @@ bundle exec jekyll serve
|
|
78
78
|
|
79
79
|
** Deploying to Github
|
80
80
|
One of the cool features of Jekyll is that you can deploy Jekyll websites to Github by simply pushing the Jekyll code
|
81
|
-
to your GitHub remote. Unfortunately for us Github does not allow you to run custom plugins for [[http://jekyllrb.com/docs/plugins/][security reasons]].
|
81
|
+
to your GitHub remote. Unfortunately for us, Github does not allow you to run custom plugins for [[http://jekyllrb.com/docs/plugins/][security reasons]].
|
82
82
|
This implies that to use [[https://help.github.com/articles/using-jekyll-with-pages/][Jekyll with GitHub Pages]] you ideally need to write posts in Markdown. But I love Org mode and I don't want to learn yet another markup language.
|
83
83
|
|
84
|
-
Luckily all is not lost, but
|
85
|
-
To keep everything tidy I organize my git repository in the following way
|
84
|
+
Luckily all is not lost, but one will need to build your site locally and push your static pages to GitHub.
|
85
|
+
To keep everything tidy I organize my git repository in the following way:
|
86
86
|
|
87
87
|
#+begin_src
|
88
88
|
.
|
@@ -91,15 +91,24 @@ To keep everything tidy I organize my git repository in the following way
|
|
91
91
|
|
|
92
92
|
|-- www (resulting site goes here)
|
93
93
|
|
|
94
|
-
|--
|
94
|
+
|-- .nojekyll (prevents GitHub from processing our jekyll code)
|
95
|
+
|
|
96
|
+
|-- index.html (redirects users to www/index.html)
|
95
97
|
#+end_src
|
96
98
|
|
97
99
|
|
98
|
-
You will need to configure the
|
100
|
+
You will need to configure the destination directory by adding the following line in your ~_config.yml~
|
99
101
|
#+begin_src ruby
|
100
102
|
destination: ../www
|
101
103
|
#+end_src
|
102
104
|
|
105
|
+
For relative links to work properly you will also need to set the ~baseurl~ property in your ~_config.yml~
|
106
|
+
#+begin_src ruby
|
107
|
+
baseurl: /www
|
108
|
+
#+end_src
|
109
|
+
|
110
|
+
Also, you will need to create a file called ~.nojekyll~ to prevent GitHub from trying to serve the Jekyll pages in the src directory.
|
111
|
+
|
103
112
|
Create ~index.html~ with the following content
|
104
113
|
#+begin_src html
|
105
114
|
<html>
|
@@ -112,7 +121,7 @@ Run ~jekyll build~ on the ~src~ directory and push the results to GitHub.
|
|
112
121
|
|
113
122
|
|
114
123
|
** Example
|
115
|
-
|
124
|
+
To see an example of the Github deployment method in action, have a look at [[http://tjaartvdwalt.github.io][my personal website]]. You can see the source code [[http://tjaartvdwalt.github.io/][here]].
|
116
125
|
|
117
126
|
** Contributing to jekyll-org-mode-converter
|
118
127
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: jekyll-org-mode-converter 0.1.
|
5
|
+
# stub: jekyll-org-mode-converter 0.1.5 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "jekyll-org-mode-converter"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.5"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|