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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5114537bb22b2d40b36abe85ce98a0678f9c7e08
4
- data.tar.gz: c6088ea9b2d9684adfc039afd9eb20d342d1890d
3
+ metadata.gz: 68bca8a5e4352964c32bd331bed106efe4d34c09
4
+ data.tar.gz: 0e64d5fd44dfed6316def7ae0c40dc682365d8a5
5
5
  SHA512:
6
- metadata.gz: 918dc42cd09ae6192bbd969cef066eeb89a54b3414fa36897473e4619509930ecb0b460d404d968042f089d829ce8972357e73085ed47f8690164083061a6c11
7
- data.tar.gz: 6160688f64e0a3230ef6f2ba37b936bcd2fa2b2949b165693abe0dbd657b14554f0ba7a0d37f5c45e1825f15d0555e83b29f23121f93920bc712e7916146badf
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 you 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
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
- |-- index.html (redirects to www/index.html)
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 custom destination directory by adding the following line in your ~_config.yml~
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
- I run my personal website on Github using the technique described above. You can look at the code [[http://tjaartvdwalt.github.io/][here]].
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.4
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.4 ruby lib
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.4"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-org-mode-converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tjaart van der Walt