middlemac-extras 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/CHANGELOG.md +6 -0
  4. data/Gemfile +18 -0
  5. data/LICENSE.md +22 -0
  6. data/README.md +70 -0
  7. data/Rakefile +10 -0
  8. data/bin/middlemac-extras +80 -0
  9. data/documentation_project/.gitignore +25 -0
  10. data/documentation_project/Gemfile +17 -0
  11. data/documentation_project/README.md +13 -0
  12. data/documentation_project/config.rb +77 -0
  13. data/documentation_project/source/archives/about.html.md.erb +29 -0
  14. data/documentation_project/source/archives/index.html.md.erb +78 -0
  15. data/documentation_project/source/archives/past_far/about.html.md.erb +29 -0
  16. data/documentation_project/source/archives/past_far/index.html.md.erb +35 -0
  17. data/documentation_project/source/archives/past_near/about.html.md.erb +29 -0
  18. data/documentation_project/source/archives/past_near/index.html.md.erb +35 -0
  19. data/documentation_project/source/books/about.html.md.erb +29 -0
  20. data/documentation_project/source/books/index.html.md.erb +30 -0
  21. data/documentation_project/source/books/science fiction/about.html.md.erb +29 -0
  22. data/documentation_project/source/books/science fiction/index.html.md.erb +35 -0
  23. data/documentation_project/source/books/science fiction/past_science_fiction/about.html.md.erb +29 -0
  24. data/documentation_project/source/books/science fiction/past_science_fiction/index.html.md.erb +35 -0
  25. data/documentation_project/source/books/science fiction/past_science_fiction/past_far/about.html.md.erb +29 -0
  26. data/documentation_project/source/books/science fiction/past_science_fiction/past_far/index.html.md.erb +35 -0
  27. data/documentation_project/source/books/science fiction/past_science_fiction/past_near/about.html.md.erb +29 -0
  28. data/documentation_project/source/books/science fiction/past_science_fiction/past_near/index.html.md.erb +35 -0
  29. data/documentation_project/source/config_rb.html.md.erb +72 -0
  30. data/documentation_project/source/css_image_sizes.html.md.erb +65 -0
  31. data/documentation_project/source/image_tag.html.md.erb +83 -0
  32. data/documentation_project/source/images/middlemac-extras-small.png +0 -0
  33. data/documentation_project/source/images/middlemac-extras-small@2x.png +0 -0
  34. data/documentation_project/source/images/middlemac-extras.png +0 -0
  35. data/documentation_project/source/images/middlemac-extras@2x.png +0 -0
  36. data/documentation_project/source/images/sub_images/middlemac-extras-small.png +0 -0
  37. data/documentation_project/source/images/sub_images/middlemac-extras-small@2x.png +0 -0
  38. data/documentation_project/source/images/sub_images/middlemac-extras.png +0 -0
  39. data/documentation_project/source/images/sub_images/middlemac-extras@2x.png +0 -0
  40. data/documentation_project/source/index.html.md.erb +53 -0
  41. data/documentation_project/source/javascripts/all.js +1 -0
  42. data/documentation_project/source/layouts/layout.haml +10 -0
  43. data/documentation_project/source/layouts/template-logo-large.haml +22 -0
  44. data/documentation_project/source/layouts/template-logo-medium.haml +20 -0
  45. data/documentation_project/source/layouts/template-logo-small.haml +18 -0
  46. data/documentation_project/source/license.html.md.erb +42 -0
  47. data/documentation_project/source/md_images.html.md.erb +72 -0
  48. data/documentation_project/source/md_links.html.md.erb +73 -0
  49. data/documentation_project/source/stylesheets/_github.scss +61 -0
  50. data/documentation_project/source/stylesheets/_middlemac_minimal.scss +516 -0
  51. data/documentation_project/source/stylesheets/_normalize.scss +374 -0
  52. data/documentation_project/source/stylesheets/css_image_sizes.css.erb +1 -0
  53. data/documentation_project/source/stylesheets/style.css.scss +3 -0
  54. data/lib/middlemac-extras/extension.rb +261 -0
  55. data/lib/middlemac-extras/version.rb +5 -0
  56. data/lib/middlemac-extras.rb +6 -0
  57. data/middlemac-extras.gemspec +27 -0
  58. metadata +162 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cf5e2bfe3faed7c34abaf50486196b1c50cfe5f3
4
+ data.tar.gz: b6c58fce72a4d5a18cf65810187e4c2177f5dd51
5
+ SHA512:
6
+ metadata.gz: 94a0b6fb575fbb78e1f29c4642d8013a6c6526860e7edccde7c29a2bbd9b5c35d321b96206be73c8797664b53a765bd0e33586fcac986e59f13cb05ad5a66404
7
+ data.tar.gz: 4045e6ffb9335e8190839777343b3d2f8d8cbf300bb778d231932b4ee5dc12a4814ea45b8573191e6870eefd6a378c90c2da330bd5e322bdd63d6988e294b5ef
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ # Rubymine noise
2
+ .idea/
3
+
4
+ # BBedit noise
5
+ *.bbprojectd
6
+
7
+ # Mac OS X noise
8
+ .DS_Store
9
+
10
+ # Ignore bundler lock files
11
+ Gemfile.lock
12
+
13
+ # Ignore pkg folder
14
+ /pkg
15
+
16
+ # Ignore build folders
17
+ build*
data/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ middlemac-extras change log
2
+ ===========================
3
+
4
+ - Version 1.0.0 / 2016-April-05
5
+
6
+ - Initial Release
data/Gemfile ADDED
@@ -0,0 +1,18 @@
1
+ # If you do not have OpenSSL installed, update
2
+ # the following line to use "http://" instead
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in middleman-pagegroups.gemspec
6
+ gemspec
7
+
8
+ group :development do
9
+ gem 'rake'
10
+ gem 'rdoc'
11
+ gem 'yard'
12
+ end
13
+
14
+ group :test do
15
+ gem 'cucumber'
16
+ gem 'aruba'
17
+ gem 'rspec'
18
+ end
data/LICENSE.md ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License
2
+ ===============
3
+
4
+ Copyright (c) 2016 Jim Derry
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,70 @@
1
+ middlemac-extras readme
2
+ -----------------------
3
+ [![Gem Version](https://badge.fury.io/rb/middlemac-extras.svg)](https://badge.fury.io/rb/middlemac-extras)
4
+
5
+
6
+ `middlemac-extras`
7
+
8
+ : This gem provides conveniences to Middleman projects such as CSS-based image
9
+ size limits; easy-to-use Markdown link references (including title!);
10
+ easy-to-use Markdown image references; and an enhanced `image_tag` helper
11
+ that includes @2x images automatically.
12
+
13
+ It is standalone and can be used in any Middleman project.
14
+
15
+
16
+ Install the Gem
17
+ ---------------
18
+
19
+ Install the gem in your preferred way, typically:
20
+
21
+ ~~~ bash
22
+ gem install middlemac-extras
23
+ ~~~
24
+
25
+ From git source:
26
+
27
+ ~~~ bash
28
+ rake install
29
+ ~~~
30
+
31
+
32
+ Documentation
33
+ -------------
34
+
35
+ The complete documentation leverages the features of this gem in order to better
36
+ document them. Having installed the gem, read the full documentation in your
37
+ web browser:
38
+
39
+ ~~~ bash
40
+ middlemac-extras documentation
41
+ cd middlemac-extras-docs/
42
+ bundle install
43
+ bundle exec middleman server
44
+ ~~~
45
+
46
+ And then open your web browser to the address specified (typically
47
+ `localhost:4567`).
48
+
49
+
50
+ Middlemac
51
+ ---------
52
+
53
+ This Middleman extension is a critical part of
54
+ [Middlemac](https://github.com/middlemac), the Mac OS X help building system
55
+ for Mac OS X applications. However this gem is not Mac OS X specific and can be
56
+ useful in any application for which you want to provide structure and
57
+ navigation.
58
+
59
+
60
+ License
61
+ -------
62
+
63
+ MIT. See `LICENSE.md`.
64
+
65
+
66
+ Changelog
67
+ ---------
68
+
69
+ See `CHANGELOG.md` for point changes, or simply have a look at the commit
70
+ history for non-version changes (such as readme updates).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :spec
@@ -0,0 +1,80 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ ################################################################################
4
+ # middlemac-extras
5
+ # This file constitutes the command line interface for middlemac-extras
6
+ ################################################################################
7
+
8
+ require 'thor'
9
+ require 'fileutils'
10
+ require_relative '../lib/middlemac-extras/version'
11
+
12
+
13
+ module MiddlemacExtrasCli
14
+
15
+ class Cli < Thor
16
+
17
+ map %w[--version -v] => :__print_version
18
+
19
+ ############################################################
20
+ # help
21
+ # Override to add additional description.
22
+ ############################################################
23
+ def help(*args)
24
+ if args.count == 0
25
+ puts <<-HEREDOC
26
+
27
+ middlemac-extras version #{Middleman::MiddlemacExtras::VERSION}
28
+
29
+ This gem adds functionality to Middleman and is not executable on its own,
30
+ other than for generating the documentation sample project. Instead, you
31
+ must add this gem to your Middleman project's `Gemfile` and then activate
32
+ it in your `config.rb` file.
33
+
34
+ HEREDOC
35
+ end
36
+ super
37
+ end
38
+
39
+
40
+ ############################################################
41
+ # documentation
42
+ ############################################################
43
+ desc 'documentation', 'Install the sample project into your current working directory.'
44
+ long_desc <<-HEREDOC
45
+ `documentation` will produce a sample project named `middlemac-extras-docs/`
46
+ in your current working directory. This sample uses the features of this gem.
47
+ You can then serve this new project to read the documentation by:
48
+
49
+ cd middlemac-extras-docs
50
+ bundle install
51
+ bundle exec middleman server
52
+
53
+ HEREDOC
54
+ def documentation
55
+ source = File.join('..', '..', 'documentation_project', '.')
56
+ source = File.expand_path(source, __FILE__)
57
+ dest = File.expand_path(File.join('.', 'middlemac-extras-docs', '.'))
58
+ FileUtils.cp_r(source, dest)
59
+ puts "middlemac-extras installed the project in\n#{dest}"
60
+ end
61
+
62
+
63
+ ############################################################
64
+ # __print_version
65
+ ############################################################
66
+ desc '--version, -v', 'print the version'
67
+ def __print_version
68
+ puts "middlemac-extras version #{Middleman::MiddlemacExtras::VERSION}"
69
+ end
70
+
71
+ end # class Cli
72
+
73
+ end # module MiddlemacExtrasCli
74
+
75
+
76
+ ###########################################################
77
+ # Main
78
+ ###########################################################
79
+
80
+ MiddlemacExtrasCli::Cli.start(ARGV)
@@ -0,0 +1,25 @@
1
+ # Rubymine noise
2
+ .idea/
3
+
4
+ # BBedit noise
5
+ *.bbprojectd
6
+
7
+ # Mac OS X noise
8
+ .DS_Store
9
+
10
+ # Ignore bundler lock files
11
+ Gemfile.lock
12
+
13
+ # Ignore pkg folder
14
+ /pkg
15
+
16
+ # Ignore build folders
17
+ .rbenv-*
18
+ .ruby-gemset
19
+ .ruby-version
20
+ .sass-cache
21
+ .sassc
22
+ .tmp
23
+ build*
24
+ Makefile
25
+ tmp
@@ -0,0 +1,17 @@
1
+ # If you do not have OpenSSL installed, change
2
+ # the following line to use 'http://'
3
+ source 'https://rubygems.org'
4
+
5
+ # For faster file watcher updates on Windows:
6
+ gem 'wdm', '~> 0.1.0', platforms: [:mswin, :mingw]
7
+
8
+ # Windows does not come with time zone data
9
+ gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby]
10
+
11
+ # Middleman Gems
12
+ gem 'middlemac-extras', '~> 1.0'
13
+ gem 'middleman', '~> 4.1.6'
14
+ gem 'middleman-syntax'
15
+
16
+ # Other required gems
17
+ gem 'fastimage', '~> 1.9'
@@ -0,0 +1,13 @@
1
+ documentation-project readme
2
+ ----------------------------
3
+
4
+ This gem's documentation is a Middleman project using the features of this gem.
5
+ To view the documentation project, `cd` into this directory and
6
+
7
+ ~~~ bash
8
+ gem install
9
+ bundle exec middleman serve
10
+ ~~~
11
+
12
+ When the server starts, it will provide instructions on how to view the project
13
+ in your web browser.
@@ -0,0 +1,77 @@
1
+ ################################################################################
2
+ # Sample Project for middlemac-extras
3
+ ################################################################################
4
+
5
+ #==========================================================================
6
+ # Conflicting resources
7
+ # middlemac-extras uses Middleman's resource map to generate a lot of the
8
+ # information that it provides. Be sure to activate other extensions that
9
+ # might manipulate the resource map before activating middlemac-extras,
10
+ # such as MiddlemanPageGroups.
11
+ #
12
+ # The `image_tag` helper should inherit from other `image_tag` helpers,
13
+ # so it's best to make sure they're activated first.
14
+ #==========================================================================
15
+ # activate :MiddlemanPageGroups
16
+ activate :automatic_alt_tags
17
+
18
+ #==========================================================================
19
+ # Extension Setup
20
+ #==========================================================================
21
+ activate :MiddlemacExtras do |config|
22
+
23
+ # If set to true, then the enhanced image_tag helper will be used
24
+ # to include @2x srcset automatically, if the image asset exists.
25
+ config.retina_srcset = true
26
+
27
+ # If set to true then the `image_tag` helper will work for images even
28
+ # if you don't specify an extension, but only if a file exists on disk
29
+ # that has one of the extensions in :img_auto_extensions_order.
30
+ config.img_auto_extensions = true
31
+
32
+ # Set this to an array of extensions in the order of precedence for
33
+ # using `image_tag` without file extensions.
34
+ config.img_auto_extensions_order = %w(.svg .png .jpg .jpeg .gif .tiff .tif)
35
+
36
+ end
37
+
38
+
39
+ #==========================================================================
40
+ # Regular Middleman Setup
41
+ #==========================================================================
42
+
43
+ set :relative_links, true
44
+ activate :syntax
45
+
46
+
47
+ #==========================================================================
48
+ # Helpers
49
+ # These helpers are used by the sample project only; there's no need
50
+ # to keep them around in your own projects.
51
+ #==========================================================================
52
+
53
+ # Methods defined in the helpers block are available in templates
54
+ helpers do
55
+
56
+ def product_name
57
+ 'middlemac-extras'
58
+ end
59
+
60
+ def product_version
61
+ '1.0.0'
62
+ end
63
+
64
+ def product_uri
65
+ 'https://github.com/middlemac'
66
+ end
67
+
68
+ end
69
+
70
+ # Build-specific configuration
71
+ configure :build do
72
+ # Minify CSS on build
73
+ # activate :minify_css
74
+
75
+ # Minify Javascript on build
76
+ # activate :minify_javascript
77
+ end
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: archives/about
3
+ blurb: Describes your legal rights and obligations for using these materials.
4
+ layout: template-logo-medium
5
+ order: 40
6
+ navigate: false
7
+ ---
8
+
9
+ # <%= current_page.data.title %>
10
+
11
+ **Copyright (c) 2016 Jim Derry**
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy
14
+ of this software and associated documentation files (the "Software"), to deal
15
+ in the Software without restriction, including without limitation the rights
16
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17
+ copies of the Software, and to permit persons to whom the Software is
18
+ furnished to do so, subject to the following conditions:
19
+
20
+ The above copyright notice and this permission notice shall be included in
21
+ all copies or substantial portions of the Software.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29
+ THE SOFTWARE.
@@ -0,0 +1,78 @@
1
+ ---
2
+ title: archives/index.html Generic Sample Page
3
+ layout: template-logo-large
4
+ ---
5
+
6
+ # <%= current_page.data.title %>
7
+
8
+ This is a generic sample page, and it’s included in this project just to force
9
+ the helpers to have some information to demonstrate. With that, let’s have a
10
+ look at the helper output.
11
+
12
+ * * *
13
+
14
+ ## `<%%= md_links %>`
15
+
16
+ This isn't normally meant to be visible; this simply shows you the content that
17
+ would be part of your Markdown file when including this helper. You can use
18
+ these reference-style tags with Markdown, e.g., `[Home page][index]`.
19
+
20
+ <%= md_links %>
21
+
22
+ ~~~ erb
23
+ <%%= md_links %>
24
+ ~~~
25
+
26
+ ~~~ markdown
27
+ <%= md_links %>
28
+ ~~~
29
+
30
+ ### Test
31
+
32
+
33
+ ## `<%%= md_images %>`
34
+
35
+ This isn't normally meant to be visible; this simply shows you the content that
36
+ would be part of your Markdown file when including this helper. You can use
37
+ these reference-style tags with Markdown, e.g., `[Home page][index]`.
38
+
39
+ <%= md_images %>
40
+
41
+ ~~~ erb
42
+ <%%= md_images %>
43
+ ~~~
44
+
45
+ ~~~ markdown
46
+ <%= md_images %>
47
+ ~~~
48
+
49
+ ### Test
50
+
51
+ Using [middlemac-extras-small]:
52
+
53
+ ![middlemac-extras-small][middlemac-extras-small]
54
+
55
+ Using [sub_images-middlemac-extras]:
56
+
57
+ ![sub_images-middlemac-extras][sub_images-middlemac-extras]
58
+
59
+
60
+ ## `<%%= css_image_sizes %>`
61
+
62
+ ~~~ erb
63
+ <%%= css_image_sizes %>
64
+ ~~~
65
+
66
+ ~~~ markdown
67
+ <%= css_image_sizes %>
68
+ ~~~
69
+
70
+
71
+ * * *
72
+
73
+ # Link to license
74
+
75
+ See the [license][license].
76
+ Go to the [index][index].
77
+
78
+ * * *
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: archives/about
3
+ blurb: Describes your legal rights and obligations for using these materials.
4
+ layout: template-logo-medium
5
+ order: 40
6
+ navigate: false
7
+ ---
8
+
9
+ # <%= current_page.data.title %>
10
+
11
+ **Copyright (c) 2016 Jim Derry**
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy
14
+ of this software and associated documentation files (the "Software"), to deal
15
+ in the Software without restriction, including without limitation the rights
16
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17
+ copies of the Software, and to permit persons to whom the Software is
18
+ furnished to do so, subject to the following conditions:
19
+
20
+ The above copyright notice and this permission notice shall be included in
21
+ all copies or substantial portions of the Software.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29
+ THE SOFTWARE.
@@ -0,0 +1,35 @@
1
+ ---
2
+ title: SCIENCE FICTION INDEX
3
+ blurb: <em>middlemac-extras</em> adds several developer conveniences..
4
+ layout: template-logo-large
5
+ navigate: false
6
+ ---
7
+
8
+ # <%= current_page.data.title %>
9
+
10
+ Although developed for **MiddleMac**, the `middlemac-extras` extension for
11
+ Middleman is a great way to add handy developer conveniences to your Middleman
12
+ project.
13
+
14
+ Features such as CSS-based image sizes, automatic Markdown reference-style
15
+ links, and an automatic @2x `image_size` helper will increase your productivity.
16
+
17
+ * * *
18
+
19
+ # Link to license
20
+
21
+ See the [license][license].
22
+
23
+ Go to the [index][index].
24
+
25
+ Go to the [science fiction][science_fiction_index] index.
26
+
27
+ Go to the [science fiction](books/science fiction/index.html) index.
28
+
29
+ * * *
30
+
31
+ <%= md_links %>
32
+
33
+ ~~~ markdown
34
+ <%= md_links %>
35
+ ~~~
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: archives/about
3
+ blurb: Describes your legal rights and obligations for using these materials.
4
+ layout: template-logo-medium
5
+ order: 40
6
+ navigate: false
7
+ ---
8
+
9
+ # <%= current_page.data.title %>
10
+
11
+ **Copyright (c) 2016 Jim Derry**
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy
14
+ of this software and associated documentation files (the "Software"), to deal
15
+ in the Software without restriction, including without limitation the rights
16
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17
+ copies of the Software, and to permit persons to whom the Software is
18
+ furnished to do so, subject to the following conditions:
19
+
20
+ The above copyright notice and this permission notice shall be included in
21
+ all copies or substantial portions of the Software.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29
+ THE SOFTWARE.
@@ -0,0 +1,35 @@
1
+ ---
2
+ title: SCIENCE FICTION INDEX
3
+ blurb: <em>middlemac-extras</em> adds several developer conveniences..
4
+ layout: template-logo-large
5
+ navigate: false
6
+ ---
7
+
8
+ # <%= current_page.data.title %>
9
+
10
+ Although developed for **MiddleMac**, the `middlemac-extras` extension for
11
+ Middleman is a great way to add handy developer conveniences to your Middleman
12
+ project.
13
+
14
+ Features such as CSS-based image sizes, automatic Markdown reference-style
15
+ links, and an automatic @2x `image_size` helper will increase your productivity.
16
+
17
+ * * *
18
+
19
+ # Link to license
20
+
21
+ See the [license][license].
22
+
23
+ Go to the [index][index].
24
+
25
+ Go to the [science fiction][science_fiction_index] index.
26
+
27
+ Go to the [science fiction](books/science fiction/index.html) index.
28
+
29
+ * * *
30
+
31
+ <%= md_links %>
32
+
33
+ ~~~ markdown
34
+ <%= md_links %>
35
+ ~~~
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: archives/about
3
+ blurb: Describes your legal rights and obligations for using these materials.
4
+ layout: template-logo-medium
5
+ order: 40
6
+ navigate: false
7
+ ---
8
+
9
+ # <%= current_page.data.title %>
10
+
11
+ **Copyright (c) 2016 Jim Derry**
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy
14
+ of this software and associated documentation files (the "Software"), to deal
15
+ in the Software without restriction, including without limitation the rights
16
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17
+ copies of the Software, and to permit persons to whom the Software is
18
+ furnished to do so, subject to the following conditions:
19
+
20
+ The above copyright notice and this permission notice shall be included in
21
+ all copies or substantial portions of the Software.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29
+ THE SOFTWARE.
@@ -0,0 +1,30 @@
1
+ ---
2
+ title: Welcome to <code>middlemac-extras</code>
3
+ blurb: <em>middlemac-extras</em> adds several developer conveniences..
4
+ layout: template-logo-large
5
+ navigate: false
6
+ ---
7
+
8
+ # <%= current_page.data.title %>
9
+
10
+ Although developed for **MiddleMac**, the `middlemac-extras` extension for
11
+ Middleman is a great way to add handy developer conveniences to your Middleman
12
+ project.
13
+
14
+ Features such as CSS-based image sizes, automatic Markdown reference-style
15
+ links, and an automatic @2x `image_size` helper will increase your productivity.
16
+
17
+ * * *
18
+
19
+ # Link to license
20
+
21
+ See the [license][license].
22
+ Go to the [index][index].
23
+
24
+ * * *
25
+
26
+ <%= md_links %>
27
+
28
+ ~~~ markdown
29
+ <%= md_links %>
30
+ ~~~