middlemac-extras 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +8 -1
  3. data/.yardopts +7 -0
  4. data/CHANGELOG.md +26 -9
  5. data/Rakefile +209 -7
  6. data/documentation_project/Gemfile +3 -3
  7. data/documentation_project/config.rb +2 -2
  8. data/documentation_project/source/api_reference.html.md.erb +38 -0
  9. data/documentation_project/source/cli.html.md.erb +4 -3
  10. data/documentation_project/source/config_rb.html.md.erb +1 -2
  11. data/documentation_project/source/css_image_sizes.html.md.erb +2 -3
  12. data/documentation_project/source/image_tag.html.md.erb +1 -2
  13. data/documentation_project/source/index.html.md.erb +8 -7
  14. data/documentation_project/source/license.html.md.erb +1 -2
  15. data/documentation_project/source/md_images.html.md.erb +1 -2
  16. data/documentation_project/source/md_links.html.md.erb +1 -2
  17. data/documentation_project/source/partials/_yard_config.erb +200 -0
  18. data/documentation_project/source/partials/_yard_helpers.erb +146 -0
  19. data/documentation_project/source/partials/_yard_helpers_extended.erb +135 -0
  20. data/documentation_project/source/stylesheets/_middlemac_minimal.scss +281 -0
  21. data/features/helpers.feature +39 -0
  22. data/features/support/env.rb +20 -0
  23. data/fixtures/middlemac_extras_app/config.rb +7 -0
  24. data/fixtures/middlemac_extras_app/source/images/middlemac-extras-small.png +0 -0
  25. data/fixtures/middlemac_extras_app/source/images/middlemac-extras-small@2x.png +0 -0
  26. data/fixtures/middlemac_extras_app/source/images/middlemac-extras-smaller.png +0 -0
  27. data/fixtures/middlemac_extras_app/source/index.html.md.erb +31 -0
  28. data/lib/middlemac-extras/extension.rb +135 -43
  29. data/lib/middlemac-extras/version.rb +1 -1
  30. data/middlemac-extras.gemspec +11 -3
  31. data/yard/readme.md +6 -0
  32. data/yard/template-grouped/default/module/html/method_details_list.erb +11 -0
  33. data/yard/template-partials/default/method_details/setup.rb +4 -0
  34. data/yard/template-partials/default/module/html/attribute_details.erb +9 -0
  35. data/yard/template-partials/default/module/html/method_details_list.erb +10 -0
  36. data/yard/template-partials/default/module/setup.rb +6 -0
  37. data/yard/template-partials/default/onefile/html/layout.erb +1 -0
  38. data/yard/template-partials/default/onefile/html/setup.rb +4 -0
  39. data/yard/yard_extensions.rb +109 -0
  40. metadata +92 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31a65dd425ee55202ee06644b77dc24aa1a902eb
4
- data.tar.gz: e3f7ac7e9f4d119285a0574bfcf698b154f8756f
3
+ metadata.gz: c85e311f64a6b602ca9b5c9f9c04aefd33dbd19f
4
+ data.tar.gz: c9fa9f990646fb0cd4556d0b00853581f56e8ccc
5
5
  SHA512:
6
- metadata.gz: 683a523261e3c37fc8bedcb054e77037b5e2ac69d372b73e3261acea6c4b7f1bfcc935aeb064962a99f34293ae639518567fa8bfbe21922f3b0617b521ecc41e
7
- data.tar.gz: 0c67ae4502826c5bfdc4288954cc976a9ed708f2a0bbeb6bb0b3103e9a5e9520d8e12ad63bb127f7246d9f209dbc56080a40c1c157faf1babfe455f4ccfd567b
6
+ metadata.gz: 5499e4cc80d1d6e9f7d52535d42910a3de2ea2c98321e9568cdb097f6610ffa673328146e9d141755cae62e1e765d9684261e8fab22f6c7ee3d4f9285514585e
7
+ data.tar.gz: 4febfd9e6312beb93cfe60118b03bd9995fab19266e0bed3cd05fc96a7e4dea28b0b0c43b83ffbc984a0a1b64f34118728cc2e542838b8005cd847533e70d8d6
data/.gitignore CHANGED
@@ -14,4 +14,11 @@ Gemfile.lock
14
14
  /pkg
15
15
 
16
16
  # Ignore build folders
17
- build*
17
+ build/*
18
+
19
+ # Yard cruft
20
+ /doc/
21
+ /.yardoc
22
+
23
+ # Aruba
24
+ /tmp/
data/.yardopts ADDED
@@ -0,0 +1,7 @@
1
+ --no-private
2
+ --markup=markdown
3
+ --load yard/yard_extensions.rb
4
+ --exclude middlemac-extras/version.rb
5
+ --one-file
6
+ --readme yard/readme.md
7
+ --title middlemac-extras
data/CHANGELOG.md CHANGED
@@ -1,19 +1,36 @@
1
1
  middlemac-extras change log
2
2
  ===========================
3
3
 
4
- - Version 1.0.6 / 2016-April-08
4
+ - Version 1.0.7 / 2016-May-11
5
5
 
6
- - If `middleman-targets` is also installed, support images without extensions
7
- for it, too. Make sure to active it first, though.
8
-
9
- - Added CLI topic to help file.
6
+ - Version 1.0.7 supports RAKE, Yard, etc.
7
+ - YARD support added.
8
+ - Cucumber tests added.
9
+ - Documentation project updates.
10
+ - Source code commented extensively for YARD.
11
+ - Works cooperative if middleman-targets is installed to support images without extensions for target-specific images, too. Added CLI help section.
10
12
 
11
13
  - Version 1.0.5 / 2016-April-08
12
14
 
13
- - Fixed the implementation of css_image_sizes so that full path is not
14
- always used, as Middleman using `:relative_assets` doesn't use the full
15
- path.
15
+ - 1.0.5 Fixes id-ten-t issue.
16
+
17
+ - Version 1.0.4 / 2016-April-08
18
+
19
+ - Final gem fix.
20
+
21
+ - Version 1.0.3 / 2016-April-08
22
+
23
+ - Gem fixes.
24
+
25
+ - Version 1.0.2 / 2016-April-08
26
+
27
+ - Fix bad gem push.
28
+
29
+ - Version 1.0.1 / 2016-April-08
30
+
31
+ - css_images_sizes fixed for relative_assets
16
32
 
17
33
  - Version 1.0.0 / 2016-April-05
18
34
 
19
- - Initial Release
35
+ - middlemac-extras
36
+ Initial release.
data/Rakefile CHANGED
@@ -1,10 +1,212 @@
1
- require "bundler/gem_tasks"
2
- require "rake/testtask"
1
+ require 'bundler/gem_tasks'
2
+ require 'cucumber/rake/task'
3
+ require 'yard'
4
+ require 'git'
5
+ require File.expand_path('../lib/middlemac-extras/version.rb', __FILE__)
3
6
 
4
- Rake::TestTask.new(:test) do |t|
5
- t.libs << "test"
6
- t.libs << "lib"
7
- t.test_files = FileList['test/**/*_test.rb']
7
+
8
+ ###############################################################################
9
+ # :default
10
+ # Define the default task.
11
+ ###############################################################################
12
+ task :default => :test
13
+
14
+
15
+ ###############################################################################
16
+ # :test
17
+ # Perform Cucumber testing.
18
+ ###############################################################################
19
+ Cucumber::Rake::Task.new(:test, 'Features that must pass') do |task|
20
+ task.cucumber_opts = '--require features --color --tags ~@wip --strict --format QuietFormatter'
21
+ end
22
+
23
+
24
+ ###############################################################################
25
+ # :yard
26
+ # Generate documentation using YARD. Note that there is a `.yardopts` file
27
+ # present that will load the `yard/yard_extensions.rb` file in order to
28
+ # control how output is generated. Output will be to the default `doc`
29
+ # directory using the template-grouped template, as a single page.
30
+ ###############################################################################
31
+ YARD::Rake::YardocTask.new(:yard) do |task|
32
+ task.stats_options = ['--list-undoc']
33
+ end
34
+
35
+
36
+ ###############################################################################
37
+ # :partials
38
+ # Generate documentation partials using YARD. These are used by the
39
+ # documentation project in order to include the API documentation.
40
+ ###############################################################################
41
+ desc 'Make separate documents for documentation_project'
42
+ task :partials do
43
+
44
+ # Define the @!group to output file relationships.
45
+ sections = [
46
+ { :file => '_yard_helpers.erb', :group => 'Helpers', },
47
+ { :file => '_yard_helpers_extended.erb', :group => 'Extended Helpers' },
48
+ { :file => '_yard_config.erb', :group => 'Extension Configuration' },
49
+ ]
50
+
51
+ # Define the output directory.
52
+ dest = File.join('documentation_project', 'source', 'partials')
53
+
54
+ # Run YARD multiple times, filtering the group that interests us.
55
+ sections.each do |s|
56
+ params = [
57
+ "--query 'o.group == \"#{s[:group]}\" || has_tag?(:author)'",
58
+ "-o #{dest}",
59
+ "-t default",
60
+ "-p #{File.join(File.dirname(__FILE__), 'yard', 'template-partials')}"
61
+ ]
62
+ command = "yardoc #{params.join(' ')}"
63
+ puts command
64
+ system(command)
65
+ File.rename( File.join(dest, 'index.html'), File.join(dest, s[:file]) )
66
+ end
67
+
68
+ end
69
+
70
+
71
+ ###############################################################################
72
+ # :version
73
+ # Displays the current version.
74
+ ###############################################################################
75
+ desc 'Displays the current version'
76
+ task :version do
77
+ puts "Current version: #{Middleman::MiddlemacExtras::VERSION}"
8
78
  end
9
79
 
10
- task :default => :spec
80
+
81
+ ###############################################################################
82
+ # :version_finalize
83
+ # Remove any wip suffix from the version, as we are ready to release.
84
+ ###############################################################################
85
+ desc 'Remove any wip suffix from the version'
86
+ task :version_finalize do
87
+ version_old = Middleman::MiddlemacExtras::VERSION
88
+ version_new = version_old.sub('.wip', '')
89
+ update_version_file( version_new )
90
+ update_doc_file( version_new )
91
+ update_doc_gemfile( version_new )
92
+ Middleman::MiddlemacExtras.send(:remove_const, 'VERSION')
93
+ Middleman::MiddlemacExtras::VERSION = version_new
94
+ end
95
+
96
+
97
+ ###############################################################################
98
+ # :version_next_wip
99
+ # Increment the patch level and add a wip suffix. We are ready for work.
100
+ ###############################################################################
101
+ desc 'Increment the patch level and add a wip suffix'
102
+ task :version_next_wip do
103
+ version_old = Middleman::MiddlemacExtras::VERSION
104
+ version_new = version_old.sub('.wip', '').split('.')
105
+ version_new.last.succ!
106
+ version_new = version_new.join('.') + '.wip'
107
+ update_version_file( version_new )
108
+ update_doc_file( version_new )
109
+ update_doc_gemfile( version_new )
110
+ Middleman::MiddlemacExtras.send(:remove_const, 'VERSION')
111
+ Middleman::MiddlemacExtras::VERSION = version_new
112
+ end
113
+
114
+
115
+ ###############################################################################
116
+ # :log
117
+ # Generate the CHANGELOG.md file.
118
+ ###############################################################################
119
+ desc 'Generate the CHANGELOG.md file'
120
+ task :log do
121
+ report = ''
122
+ report << "middlemac-extras change log\n"
123
+ report << "===========================\n"
124
+
125
+ Git.open( File.expand_path('..', __FILE__) ).log.each_with_index do |l, i|
126
+
127
+ version = nil
128
+ if i == 0 && !l.name.start_with?('tags/')
129
+ version = "Version #{Middleman::MiddlemacExtras::VERSION}"
130
+ elsif l.name.end_with?('^0')
131
+ version = "Version #{l.name.match(/tags\/v(.*)\^0/)[1]}"
132
+ end
133
+
134
+ if version
135
+ report << "\n- #{version} / #{l.date.strftime('%Y-%B-%d')}\n"
136
+ report << "\n"
137
+ end
138
+
139
+ l.message.each_line.with_index do |line, lineno|
140
+ if lineno == 0
141
+ report << " - #{line}"
142
+ else
143
+ report << " #{line}" unless line.strip == ''
144
+ end
145
+ end
146
+ report << "\n"
147
+ end # Git.open
148
+
149
+ file = File.expand_path('../CHANGELOG.md', __FILE__)
150
+ File.write(file, report)
151
+ puts "The changelog has been written."
152
+ end
153
+
154
+
155
+ ###############################################################################
156
+ # :pre_release
157
+ # Prepares the project for release.
158
+ ###############################################################################
159
+ desc "Prepares the project for release"
160
+ task :pre_release do
161
+
162
+ if `git status -s`.length > 0
163
+ puts "Cannot continue because you have uncommitted changes."
164
+ exit 1
165
+ end
166
+
167
+ Rake::Task[:version_finalize].execute
168
+ Rake::Task[:partials].execute
169
+ Rake::Task[:log].execute
170
+ sh "git add -A"
171
+ sh "git commit --amend --no-edit"
172
+ end
173
+
174
+ private
175
+
176
+
177
+ ###############################################################################
178
+ # update_version_file
179
+ # Replace the version in the `version.rb` file.
180
+ ###############################################################################
181
+ def update_version_file( version_new )
182
+ file = File.expand_path('../lib/middlemac-extras/version.rb', __FILE__)
183
+ content = File.read(file)
184
+ content.sub!(/(?<=VERSION = ')(.*)(?=')/, version_new)
185
+ File.write(file, content)
186
+ puts "version.rb changed to #{version_new}."
187
+ end
188
+
189
+ ###############################################################################
190
+ # update_doc_file
191
+ # Replace the version in the `documentation_project/config.rb` file.
192
+ ###############################################################################
193
+ def update_doc_file( version_new )
194
+ file = File.expand_path('../documentation_project/config.rb', __FILE__)
195
+ content = File.read(file)
196
+ content.sub!(/(?<=def product_version).*?(?=end)/m, "\n '#{version_new}'\n")
197
+ File.write(file, content)
198
+ puts "config.rb changed to #{version_new}."
199
+ end
200
+
201
+ ###############################################################################
202
+ # update_doc_gemfile
203
+ # Replace the version in the `documentation_project/Gemfile` file.
204
+ ###############################################################################
205
+ def update_doc_gemfile( version_new )
206
+ file = File.expand_path('../documentation_project/Gemfile', __FILE__)
207
+ content = File.read(file)
208
+ # gem 'middlemac-extras', '~> 1.0.7.wip'
209
+ content.sub!(/(?<=gem 'middlemac-extras', '~> ).*(?=')/, version_new)
210
+ File.write(file, content)
211
+ puts "Gemfile changed to #{version_new}."
212
+ end
@@ -9,9 +9,9 @@ gem 'wdm', '~> 0.1.0', platforms: [:mswin, :mingw]
9
9
  gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby]
10
10
 
11
11
  # Middleman Gems
12
- gem 'middlemac-extras', '~> 1.0.6'
13
- gem 'middleman', '~> 4.1.6'
12
+ gem 'middlemac-extras', '~> 1.0.7'
13
+ gem 'middleman', '~> 4.1.7'
14
14
  gem 'middleman-syntax'
15
15
 
16
16
  # Other required gems
17
- gem 'fastimage', '~> 1.9'
17
+ gem 'fastimage', '~> 2.0'
@@ -58,8 +58,8 @@ helpers do
58
58
  end
59
59
 
60
60
  def product_version
61
- '1.0.6'
62
- end
61
+ '1.0.7'
62
+ end
63
63
 
64
64
  def product_uri
65
65
  'https://github.com/middlemac'
@@ -0,0 +1,38 @@
1
+ ---
2
+ title: API Reference
3
+ blurb: Look at the API documentation for the helpers and configuration
4
+ settings directly.
5
+ layout: template-logo-medium
6
+ ---
7
+
8
+ <%= md_links %>
9
+ <% content_for :seeAlso do %>
10
+ <ul>
11
+ <li><a href="/">Welcome to <code>middlemac-extras</code></a></li>
12
+ <li><a href="css_image_sizes.html">The <code>css_image_sizes</code> helper</a></li>
13
+ <li><a href="md_images.html">The <code>md_images</code> helper</a></li>
14
+ <li><a href="md_links.html">The <code>md_links</code> helper</a></li>
15
+ <li><a href="config_rb.html">Setting up <code>config.rb</code></a></li>
16
+ <li><a href="cli.html">Command line interface</a></li>
17
+ <li><a href="license.html">The MIT License</a></li>
18
+ </ul>
19
+ <% end %>
20
+
21
+ # <%= current_page.data.title %>
22
+ <%= current_page.data.blurb %>
23
+
24
+ ## Configuration settings
25
+
26
+ <%= partial 'partials/yard_config' %>
27
+
28
+ * * *
29
+
30
+ ## Extended Helpers
31
+
32
+ <%= partial 'partials/yard_helpers_extended' %>
33
+
34
+ * * *
35
+
36
+ ## Helpers
37
+
38
+ <%= partial 'partials/yard_helpers' %>
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  title: Command Line Interface
3
+ blurb: This gem offers a simple command line interface for building its own
4
+ documentation.
3
5
  layout: template-logo-medium
4
6
  ---
5
7
 
6
8
  # <%= current_page.data.title %>
7
-
8
- `middlemac-extras` has a small command line interface that might be useful
9
- for generating sample documentation.
9
+ <%= current_page.data.blurb %>
10
10
 
11
11
  The CLI takes the format:
12
12
 
@@ -44,6 +44,7 @@ bundle exec middleman server
44
44
  <li><a href="image_tag.html">The <code>image_tag</code> helper</a></li>
45
45
  <li><a href="md_images.html">The <code>md_images</code> helper</a></li>
46
46
  <li><a href="md_links.html">The <code>md_links</code> helper</a></li>
47
+ <li><a href="api_reference.html">API Reference</a></li>
47
48
  <li><a href="license.html">The MIT License</a></li>
48
49
  </ul>
49
50
  <% end %>
@@ -2,8 +2,6 @@
2
2
  title: Setting up config.rb
3
3
  blurb: Review the key configuration values for making this extension work.
4
4
  layout: template-logo-medium
5
- order: 40
6
- navigate: false
7
5
  ---
8
6
 
9
7
  <%= md_links %>
@@ -14,6 +12,7 @@ navigate: false
14
12
  <li><a href="image_tag.html">The <code>image_tag</code> helper</a></li>
15
13
  <li><a href="md_images.html">The <code>md_images</code> helper</a></li>
16
14
  <li><a href="md_links.html">The <code>md_links</code> helper</a></li>
15
+ <li><a href="api_reference.html">API Reference</a></li>
17
16
  <li><a href="cli.html">Command line interface</a></li>
18
17
  <li><a href="license.html">The MIT License</a></li>
19
18
  </ul>
@@ -4,8 +4,6 @@ blurb: Use the <code>css_image_sizes</code> helper to specify maximum sizes
4
4
  for all of your project’s images without using unsemantic width and
5
5
  height attributes in your HTML code.
6
6
  layout: template-logo-medium
7
- order: 40
8
- navigate: false
9
7
  ---
10
8
 
11
9
  <%= md_links %>
@@ -16,6 +14,7 @@ navigate: false
16
14
  <li><a href="md_images.html">The <code>md_images</code> helper</a></li>
17
15
  <li><a href="md_links.html">The <code>md_links</code> helper</a></li>
18
16
  <li><a href="config_rb.html">Setting up <code>config.rb</code></a></li>
17
+ <li><a href="api_reference.html">API Reference</a></li>
19
18
  <li><a href="cli.html">Command line interface</a></li>
20
19
  <li><a href="license.html">The MIT License</a></li>
21
20
  </ul>
@@ -45,7 +44,7 @@ When called like this:
45
44
 
46
45
  You could use this in an HTML `<style>` element on each of your pages, or better
47
46
  yet in your layouts. This has the unfortunate effect of including it in every
48
- one of your pages, however, and so this sample project uses like this:
47
+ one of your pages, however, and so this sample project uses it like this:
49
48
 
50
49
  Contents of `stylesheets/css_image_sizes.css.erb`:
51
50
 
@@ -3,8 +3,6 @@ title: The <code>image_tag</code> helper
3
3
  blurb: Find out how to use the enhanced <code>image_tag</code> helper so that
4
4
  it can be even more helpful.
5
5
  layout: template-logo-medium
6
- order: 40
7
- navigate: false
8
6
  ---
9
7
 
10
8
  <%= md_links %>
@@ -15,6 +13,7 @@ navigate: false
15
13
  <li><a href="md_images.html">The <code>md_images</code> helper</a></li>
16
14
  <li><a href="md_links.html">The <code>md_links</code> helper</a></li>
17
15
  <li><a href="config_rb.html">Setting up <code>config.rb</code></a></li>
16
+ <li><a href="api_reference.html">API Reference</a></li>
18
17
  <li><a href="cli.html">Command line interface</a></li>
19
18
  <li><a href="license.html">The MIT License</a></li>
20
19
  </ul>
@@ -2,7 +2,6 @@
2
2
  title: Welcome to <code>middlemac-extras</code>
3
3
  blurb: <em>middlemac-extras</em> adds several developer conveniences.
4
4
  layout: template-logo-large
5
- navigate: false
6
5
  ---
7
6
 
8
7
  <%= md_links %>
@@ -10,12 +9,10 @@ navigate: false
10
9
  # <%= current_page.data.title %>
11
10
 
12
11
  Although developed for **Middlemac**, the `middlemac-extras` extension for
13
- Middleman is a great way to add handy developer conveniences to your Middleman
14
- project.
15
-
16
- It serves as a truly “extra” extension that gathers utilities intended for
17
- **MiddleMac** but are generic enough that they can be used with any Middleman
18
- project.
12
+ **Middleman** is a great way to add handy developer conveniences to your
13
+ **Middleman** project. It serves as a truly “extra” extension that gathers
14
+ utilities intended for **MiddleMac** but are generic enough that they can be
15
+ used with any **Middleman** project.
19
16
 
20
17
  This extension currently offers features such as these:
21
18
 
@@ -48,6 +45,10 @@ This extension currently offers features such as these:
48
45
 
49
46
  [Setting up `config.rb`][config_rb]
50
47
  : Review the key configuration values for making this extension work.
48
+
49
+ [API Reference][api_reference]
50
+ : Look at the API documentation for the helpers and configuration settings
51
+ directly.
51
52
 
52
53
  [Command Line Interface][cli]
53
54
  : This gem offers a simple command line interface for building its own
@@ -2,8 +2,6 @@
2
2
  title: The MIT License
3
3
  blurb: Describes your legal rights and obligations for using these materials.
4
4
  layout: template-logo-medium
5
- order: 40
6
- navigate: false
7
5
  ---
8
6
 
9
7
  <%= md_links %>
@@ -15,6 +13,7 @@ navigate: false
15
13
  <li><a href="md_images.html">The <code>md_images</code> helper</a></li>
16
14
  <li><a href="md_links.html">The <code>md_links</code> helper</a></li>
17
15
  <li><a href="config_rb.html">Setting up <code>config.rb</code></a></li>
16
+ <li><a href="api_reference.html">API Reference</a></li>
18
17
  <li><a href="cli.html">Command line interface</a></li>
19
18
  </ul>
20
19
  <% end %>
@@ -3,8 +3,6 @@ title: The <code>md_images</code> helper
3
3
  blurb: Automatic Markdown reference style links for every image in your site
4
4
  are available by using this helper.
5
5
  layout: template-logo-medium
6
- order: 40
7
- navigate: false
8
6
  ---
9
7
 
10
8
  <%= md_links %>
@@ -16,6 +14,7 @@ navigate: false
16
14
  <li><a href="image_tag.html">The <code>image_tag</code> helper</a></li>
17
15
  <li><a href="md_links.html">The <code>md_links</code> helper</a></li>
18
16
  <li><a href="config_rb.html">Setting up <code>config.rb</code></a></li>
17
+ <li><a href="api_reference.html">API Reference</a></li>
19
18
  <li><a href="cli.html">Command line interface</a></li>
20
19
  <li><a href="license.html">The MIT License</a></li>
21
20
  </ul>
@@ -4,8 +4,6 @@ blurb: The <code>md_links</code> helper can help you by providing Markdown
4
4
  reference-style links (including title attributes) to every page in
5
5
  your site.
6
6
  layout: template-logo-medium
7
- order: 40
8
- navigate: false
9
7
  ---
10
8
 
11
9
  <%= md_links %>
@@ -16,6 +14,7 @@ navigate: false
16
14
  <li><a href="image_tag.html">The <code>image_tag</code> helper</a></li>
17
15
  <li><a href="md_images.html">The <code>md_images</code> helper</a></li>
18
16
  <li><a href="config_rb.html">Setting up <code>config.rb</code></a></li>
17
+ <li><a href="api_reference.html">API Reference</a></li>
19
18
  <li><a href="cli.html">Command line interface</a></li>
20
19
  <li><a href="license.html">The MIT License</a></li>
21
20
  </ul>