middlemac 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/.yardopts +7 -0
- data/CHANGELOG.md +43 -0
- data/Gemfile +18 -0
- data/LICENSE.md +22 -0
- data/README.md +225 -0
- data/Rakefile +213 -0
- data/bin/middlemac +103 -0
- data/documentation_project/.gitignore +37 -0
- data/documentation_project/Contents/Info.plist.erb +42 -0
- data/documentation_project/Contents/Resources/Base.lproj/010_what_is_middlemac/index.html.md.erb +126 -0
- data/documentation_project/Contents/Resources/Base.lproj/020_setup_tutorial/index.html.md.erb +168 -0
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/10_markdown_skill.html.md.erb +63 -0
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/20_frontmatter_skill.html.md.erb +54 -0
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/30_middleman_skill.html.md.erb +93 -0
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/40_ruby_skill.html.md.erb +67 -0
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/50_ruby_ecosystem.html.md.erb +136 -0
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/60_filetypes_skill.html.md.erb +165 -0
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/index.html.md.erb +35 -0
- data/documentation_project/Contents/Resources/Base.lproj/040_setup/index.html.md.erb +88 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/010_directories_and_images.html.md.erb +176 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/020_layouts_and_templates.html.md.erb +71 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/025_css.html.md.erb +71 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/030_groups.html.md.erb +83 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/040_breadcrumbs.html.md.erb +43 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/050_navigator.html.md.erb +26 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/060_targets.html.md.erb +63 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/070_features.html.md.erb +122 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/index.html.md.erb +21 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/not_free.html.md.erb +43 -0
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/not_pro.html.md.erb +43 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/010_frontmatter.html.md.erb +88 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/030_helpers.html.md.erb +247 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/040_partials.html.md.erb +121 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/050_resources.html.md.erb +60 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/070_including_excluding.html.md.erb +68 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/080_markdown_links_images.html.md.erb +93 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/090_css_image_sizes.html.md.erb +90 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/100_using_local_data.html.md.erb +37 -0
- data/documentation_project/Contents/Resources/Base.lproj/060_content/index.html.md.erb +21 -0
- data/documentation_project/Contents/Resources/Base.lproj/070_preview_build/index.html.md.erb +78 -0
- data/documentation_project/Contents/Resources/Base.lproj/090_build_application/10_apple_help_setup.html.md.erb +110 -0
- data/documentation_project/Contents/Resources/Base.lproj/090_build_application/20_xcode_integration.html.md.erb +64 -0
- data/documentation_project/Contents/Resources/Base.lproj/090_build_application/index.html.md.erb +25 -0
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/10_cli_ref.html.md.erb +72 -0
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/20_config_ref.html.md.erb +56 -0
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/30_helpers_ext_ref.html.md.erb +51 -0
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/40_helpers_ref.html.md.erb +45 -0
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/50_resource_ext_ref.html.md.erb +25 -0
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/index.html.md.erb +26 -0
- data/documentation_project/Contents/Resources/Base.lproj/110_acknowledgements/index.html.md.erb +61 -0
- data/documentation_project/Contents/Resources/Base.lproj/120_backwards_compatibility/index.html.md.erb +88 -0
- data/documentation_project/Contents/Resources/Base.lproj/130_all_help_content/index.html.md.erb +15 -0
- data/documentation_project/Contents/Resources/Base.lproj/InfoPlist.strings.erb +10 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/_data/globals.yml +11 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/layout-html4.haml +22 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/layout-xhtml.haml +28 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/template-logo-large.haml +30 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/template-logo-medium.haml +30 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/template-logo-small.haml +30 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/fonts/font-awesome/FontAwesome.otf +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.svg +655 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/all-sample.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/all-sample@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/free-middlemac-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/free-middlemac-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/free-middlemac-logo.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/free-middlemac-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/middlemac-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/middlemac-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/middlemac-logo.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/middlemac-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-extras/middlemac-extras-small.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-extras/middlemac-extras-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-extras/middlemac-extras.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-extras/middlemac-extras@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-extras/sub_images/middlemac-extras-small.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-extras/sub_images/middlemac-extras-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-extras/sub_images/middlemac-extras.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-extras/sub_images/middlemac-extras@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-pagegroups/middleman-pagegroups-small.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-pagegroups/middleman-pagegroups.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/free-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/free-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/free-logo.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/free-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/pro-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/pro-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/pro-logo.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/pro-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/pro-middlemac-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/pro-middlemac-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/pro-middlemac-logo.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/images/pro-middlemac-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/javascripts/all.js +1 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs.haml +11 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs_alt.haml +15 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_brethren.haml +18 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_brethren_index.haml +14 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_legitimate_children.haml +16 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_prev_next.haml +21 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_toc_index.haml +21 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_extras_config.erb +200 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_extras_helpers.erb +146 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_extras_helpers_extended.erb +135 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_middlemac_config.erb +207 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_middlemac_helpers.erb +297 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_middlemac_helpers_extended.erb +96 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_config.erb +744 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_helpers.erb +710 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_helpers_css.erb +523 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_helpers_extended.erb +56 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_resources.erb +540 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_targets_config.erb +402 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_targets_helpers.erb +235 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_targets_helpers_extended.erb +138 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_targets_instance.erb +81 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_targets_resources.erb +109 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/_apple_helpbook.scss +946 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/_github.scss +61 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/_normalize.scss +374 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/breadcrumb-separator-light.png +0 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/image_sizes.css.erb +8 -0
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/style.css.scss +4 -0
- data/documentation_project/Contents/Resources/Base.lproj/index.html.md.erb +31 -0
- data/documentation_project/Contents/Resources/shared/free-icon_256x256.png +0 -0
- data/documentation_project/Contents/Resources/shared/free-icon_256x256@2x.png +0 -0
- data/documentation_project/Contents/Resources/shared/free-icon_32x32.png +0 -0
- data/documentation_project/Contents/Resources/shared/free-icon_32x32@2x.png +0 -0
- data/documentation_project/Contents/Resources/shared/icon_256x256.png +0 -0
- data/documentation_project/Contents/Resources/shared/icon_256x256@2x.png +0 -0
- data/documentation_project/Contents/Resources/shared/icon_32x32.png +0 -0
- data/documentation_project/Contents/Resources/shared/icon_32x32@2x.png +0 -0
- data/documentation_project/Contents/Resources/shared/pro-icon_256x256.png +0 -0
- data/documentation_project/Contents/Resources/shared/pro-icon_256x256@2x.png +0 -0
- data/documentation_project/Contents/Resources/shared/pro-icon_32x32.png +0 -0
- data/documentation_project/Contents/Resources/shared/pro-icon_32x32@2x.png +0 -0
- data/documentation_project/Gemfile +51 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/project.pbxproj +529 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/xcshareddata/xcschemes/Help (free).xcscheme +80 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/xcshareddata/xcschemes/HelpViewerApp (free).xcscheme +91 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/xcshareddata/xcschemes/HelpViewerApp (pro).xcscheme +91 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/AppDelegate.h +16 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/AppDelegate.m +45 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/Assets.xcassets/AppIcon.appiconset/Contents.json +58 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/Base.lproj/MainMenu.xib +115 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/Info-free.plist +38 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/Info-pro.plist +38 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/main.m +13 -0
- data/documentation_project/HelpViewerApp/README.md +43 -0
- data/documentation_project/Middlemac (free).help/.gitignore +3 -0
- data/documentation_project/Middlemac (pro).help/.gitignore +3 -0
- data/documentation_project/config.rb +309 -0
- data/documentation_project/middlemac.webloc +0 -0
- data/features/main_features.feature +44 -0
- data/features/support/env.rb +20 -0
- data/fixtures/middlemac_app/.gitignore +25 -0
- data/fixtures/middlemac_app/Contents/Info.plist.erb +42 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/10_hello_world_file.html.md.erb +22 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/20_goodbye_world_file.html.md.erb +22 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/30_sample_group_number_one/index.html.md.erb +24 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/30_sample_group_number_one/page_one.html.md.erb +20 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/30_sample_group_number_one/page_two.html.md.erb +19 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/01_nested_group_example/01_page_one.html.md.erb +18 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/01_nested_group_example/02_pagina_dos.html.md.erb +19 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/01_nested_group_example/03_page_san.html.md.erb +18 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/01_nested_group_example/index.html.md.erb +18 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/02_page_two.html.md.erb +19 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/03_page_three.html.md.erb +19 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/index.html.md.erb +24 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/45_testing_world_file.html.md.erb +55 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/50_entire_world_file.html.md.erb +15 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/InfoPlist.strings.erb +10 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/_new_style_partial.erb +1 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_data/globals.yml +11 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/layout-html4.haml +22 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/layout-xhtml.haml +28 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/template-logo-large.haml +30 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/template-logo-medium.haml +30 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/template-logo-small.haml +30 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/fonts/font-awesome/FontAwesome.otf +0 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.svg +655 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/images/_empty_directory.html.md.erb +1 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/javascripts/all.js +1 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs.haml +11 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs_alt.haml +15 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_brethren.haml +18 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_brethren_index.haml +14 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_legitimate_children.haml +16 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_prev_next.haml +21 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_toc_index.haml +21 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_partials_dir_partial.erb +1 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/_apple_helpbook.scss +946 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/_github.scss +61 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/_normalize.scss +374 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/breadcrumb-separator-light.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/image_sizes.css.erb +8 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/style.css.scss +4 -0
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/index.html.md.erb +17 -0
- data/fixtures/middlemac_app/Contents/Resources/shared/icon_256x256.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/shared/icon_256x256@2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/shared/icon_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/shared/icon_32x32@2x.png +0 -0
- data/fixtures/middlemac_app/Gemfile +51 -0
- data/fixtures/middlemac_app/config.rb +309 -0
- data/fixtures/middlemac_app/middlemac.webloc +0 -0
- data/lib/middlemac.rb +6 -0
- data/lib/middlemac/extension.rb +274 -0
- data/lib/middlemac/version.rb +5 -0
- data/middlemac.gemspec +38 -0
- data/yard/readme.md +9 -0
- data/yard/template-grouped/default/module/html/method_details_list.erb +11 -0
- data/yard/template-partials/default/method_details/setup.rb +4 -0
- data/yard/template-partials/default/module/html/attribute_details.erb +9 -0
- data/yard/template-partials/default/module/html/method_details_list.erb +10 -0
- data/yard/template-partials/default/module/setup.rb +6 -0
- data/yard/template-partials/default/onefile/html/layout.erb +1 -0
- data/yard/template-partials/default/onefile/html/setup.rb +4 -0
- data/yard/yard_extensions.rb +109 -0
- metadata +454 -0
data/documentation_project/Contents/Resources/Base.lproj/090_build_application/index.html.md.erb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
title: "Workflow: Build your Mac Application"
|
3
|
+
blurb: Having put the final touches on your Help Book, it’s time to build your
|
4
|
+
Mac OS X application and see the payoff for your hard work.
|
5
|
+
layout: template-logo-large
|
6
|
+
navigate: true
|
7
|
+
---
|
8
|
+
<%= md_links %>
|
9
|
+
<%= md_images %>
|
10
|
+
|
11
|
+
<%= current_page.data.title %>
|
12
|
+
==============================
|
13
|
+
|
14
|
+
<%= current_page.data.blurb %>
|
15
|
+
|
16
|
+
While it’s true that an Apple Help Book is simply a glorified web site, there
|
17
|
+
are details that are required to be satisfied in order to make them work with
|
18
|
+
your Mac OS X applications. Luckily _Middlemac_ takes care of most of these
|
19
|
+
details for you.
|
20
|
+
|
21
|
+
* * *
|
22
|
+
|
23
|
+
<%= nav_legitimate_children %>
|
24
|
+
|
25
|
+
* * *
|
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
title: Command Line Interfaces
|
3
|
+
blurb: Discover the CLI’s offered by the various Ruby gems that compose
|
4
|
+
<em>Middlemac</em>.
|
5
|
+
layout: template-logo-medium
|
6
|
+
---
|
7
|
+
<%= md_links %>
|
8
|
+
<%= md_images %>
|
9
|
+
|
10
|
+
<%= current_page.data.title %>
|
11
|
+
==============================
|
12
|
+
|
13
|
+
<%= current_page.data.blurb %>
|
14
|
+
|
15
|
+
`middleman` command signature
|
16
|
+
-----------------------------
|
17
|
+
|
18
|
+
You will use `middleman` to build `middlemac` projects.
|
19
|
+
|
20
|
+
~~~ bash
|
21
|
+
bundle exec middleman [[build|server] [--target xxx]] | [build_all|all]
|
22
|
+
~~~
|
23
|
+
|
24
|
+
You can determine what the valid targets are by simply omitting a target after
|
25
|
+
the `--target` option. This will cause an invalid target error and present you
|
26
|
+
with a list of targets defined in the project.
|
27
|
+
|
28
|
+
|
29
|
+
`middlemac` command signature
|
30
|
+
-----------------------------
|
31
|
+
|
32
|
+
_Middlemac_ offers its own commands for generating new projects and getting
|
33
|
+
help.
|
34
|
+
|
35
|
+
~~~ bash
|
36
|
+
middlemac [init|documentation|help|--version]
|
37
|
+
~~~
|
38
|
+
|
39
|
+
Use `init` to generate the structure for a new, empty project, and use
|
40
|
+
`documentation` to generate a project that can build this very documentation.
|
41
|
+
|
42
|
+
|
43
|
+
`middlemac-extras` command signature
|
44
|
+
------------------------------------
|
45
|
+
|
46
|
+
~~~ bash
|
47
|
+
middlemac-extras [documentation|help|--version]
|
48
|
+
~~~
|
49
|
+
|
50
|
+
Use `documentation` to generate a project that can build complete documentation.
|
51
|
+
|
52
|
+
|
53
|
+
`middleman-pagegroups` command signature
|
54
|
+
----------------------------------------
|
55
|
+
|
56
|
+
~~~ bash
|
57
|
+
middleman-pagegroups [documentation|partials|help|--version]
|
58
|
+
~~~
|
59
|
+
|
60
|
+
Use `documentation` to generate a project that can build complete documentation,
|
61
|
+
or use `partials` to generate the partial files that you can use instead of
|
62
|
+
helpers.
|
63
|
+
|
64
|
+
|
65
|
+
`middlemac-targets` command signature
|
66
|
+
-------------------------------------
|
67
|
+
|
68
|
+
~~~ bash
|
69
|
+
middlemac-targets [documentation|help|--version]
|
70
|
+
~~~
|
71
|
+
|
72
|
+
Use `documentation` to generate a project that can build complete documentation.
|
data/documentation_project/Contents/Resources/Base.lproj/100_reference/20_config_ref.html.md.erb
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
title: <code>config.rb</code> Settings
|
3
|
+
blurb: Learn about all of the possible configuration settings for your
|
4
|
+
projects.
|
5
|
+
layout: template-logo-medium
|
6
|
+
---
|
7
|
+
<%= md_links %>
|
8
|
+
<%= md_images %>
|
9
|
+
|
10
|
+
<%= current_page.data.title %>
|
11
|
+
==============================
|
12
|
+
|
13
|
+
<%= current_page.data.blurb %>
|
14
|
+
|
15
|
+
## Targets Configuration
|
16
|
+
|
17
|
+
The targets configuration appears immediately after the
|
18
|
+
`activate :MiddlemanTargets` line.
|
19
|
+
|
20
|
+
Note that `:build_dir` is included for the sake of completeness in the list
|
21
|
+
below, but it’s not currently used in a _Middleman_ project’s `config.rb` file.
|
22
|
+
|
23
|
+
<%= partial 'yard_targets_config' %>
|
24
|
+
|
25
|
+
Additional information about the contents of the `targets` hash is available
|
26
|
+
in the [Set up your Help Project][setup-index] article.
|
27
|
+
|
28
|
+
|
29
|
+
* * *
|
30
|
+
|
31
|
+
## Page Groups Configuration
|
32
|
+
|
33
|
+
The items in the block `activate :MiddlemanPageGroups do |config|` pertain to
|
34
|
+
the automatic navigation features.
|
35
|
+
|
36
|
+
<%= partial 'yard_pagegroups_config' %>
|
37
|
+
|
38
|
+
|
39
|
+
* * *
|
40
|
+
|
41
|
+
## Extras Configuration
|
42
|
+
|
43
|
+
Items in the `activate :MiddlemacExtras do |config|` block control some of
|
44
|
+
_Middlemac_’s behavior and abilities:
|
45
|
+
|
46
|
+
<%= partial 'yard_extras_config' %>
|
47
|
+
|
48
|
+
|
49
|
+
* * *
|
50
|
+
|
51
|
+
## Middlemac Configuration
|
52
|
+
|
53
|
+
Finally, the `activate :Middlemac do |options|` block adds some finishing
|
54
|
+
touches.
|
55
|
+
|
56
|
+
<%= partial 'yard_middlemac_config' %>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
title: Extended Helpers
|
3
|
+
blurb: Find out how <em>Middlemac</em> changes the behavior and functions of
|
4
|
+
the built-in helpers.
|
5
|
+
layout: template-logo-medium
|
6
|
+
---
|
7
|
+
<%= md_links %>
|
8
|
+
<%= md_images %>
|
9
|
+
|
10
|
+
<%= current_page.data.title %>
|
11
|
+
==============================
|
12
|
+
|
13
|
+
<%= current_page.data.blurb %>
|
14
|
+
|
15
|
+
Although _Middlemac_ has plenty of its own helpers, it also offers extensions
|
16
|
+
to several of the built-in helpers. These appear in their own section here.
|
17
|
+
They are organized by the Ruby gem that introduces their functionality.
|
18
|
+
|
19
|
+
* * *
|
20
|
+
|
21
|
+
## `middleman-targets` extended helpers
|
22
|
+
|
23
|
+
<%= partial 'yard_targets_helpers_extended' %>
|
24
|
+
|
25
|
+
|
26
|
+
* * *
|
27
|
+
|
28
|
+
## `middleman-pagegroups` extended helpers
|
29
|
+
|
30
|
+
<%= partial 'yard_pagegroups_helpers_extended' %>
|
31
|
+
|
32
|
+
|
33
|
+
* * *
|
34
|
+
|
35
|
+
## `middlemac-extras` extended helpers
|
36
|
+
|
37
|
+
<%= partial 'yard_extras_helpers_extended' %>
|
38
|
+
|
39
|
+
|
40
|
+
* * *
|
41
|
+
|
42
|
+
## `middlemac` extended helpers
|
43
|
+
|
44
|
+
<%= partial 'yard_middlemac_helpers_extended' %>
|
45
|
+
|
46
|
+
* * *
|
47
|
+
|
48
|
+
Note that partials listed with multiple Gems have cumulative effects. For
|
49
|
+
example the `image_tag` partial, when used with _Middlemac_ projects, can use
|
50
|
+
all of the parameters added by any Ruby gem.
|
51
|
+
{:.note}
|
data/documentation_project/Contents/Resources/Base.lproj/100_reference/40_helpers_ref.html.md.erb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
title: Helpers
|
3
|
+
blurb: <em>Middlemac</em> offers several helper methods to make designing and
|
4
|
+
building your content easier.
|
5
|
+
layout: template-logo-medium
|
6
|
+
---
|
7
|
+
<%= md_links %>
|
8
|
+
<%= md_images %>
|
9
|
+
|
10
|
+
<%= current_page.data.title %>
|
11
|
+
==============================
|
12
|
+
|
13
|
+
<%= current_page.data.blurb %>
|
14
|
+
|
15
|
+
## `middleman-targets` helpers
|
16
|
+
|
17
|
+
<%= partial 'yard_targets_helpers' %>
|
18
|
+
|
19
|
+
|
20
|
+
* * *
|
21
|
+
|
22
|
+
## `middleman-pagegroups` helpers (partials and helpers CSS)
|
23
|
+
|
24
|
+
<%= partial 'yard_pagegroups_helpers_css' %>
|
25
|
+
|
26
|
+
|
27
|
+
* * *
|
28
|
+
|
29
|
+
## `middleman-pagegroups` helpers
|
30
|
+
|
31
|
+
<%= partial 'yard_pagegroups_helpers' %>
|
32
|
+
|
33
|
+
|
34
|
+
* * *
|
35
|
+
|
36
|
+
## `middlemac-extras` helpers
|
37
|
+
|
38
|
+
<%= partial 'yard_extras_helpers' %>
|
39
|
+
|
40
|
+
|
41
|
+
* * *
|
42
|
+
|
43
|
+
## `middlemac` helpers
|
44
|
+
|
45
|
+
<%= partial 'yard_middlemac_helpers' %>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
title: Resource Extensions
|
3
|
+
blurb: Find out what new resource methods are available to your project’s
|
4
|
+
pages.
|
5
|
+
layout: template-logo-medium
|
6
|
+
---
|
7
|
+
<%= md_links %>
|
8
|
+
<%= md_images %>
|
9
|
+
|
10
|
+
<%= current_page.data.title %>
|
11
|
+
==============================
|
12
|
+
|
13
|
+
<%= current_page.data.blurb %>
|
14
|
+
|
15
|
+
## `middleman-targets` resource extensions
|
16
|
+
|
17
|
+
<%= partial 'yard_targets_resources' %>
|
18
|
+
|
19
|
+
|
20
|
+
* * *
|
21
|
+
|
22
|
+
## `middleman-pagegroups` resource extensions
|
23
|
+
|
24
|
+
<%= partial 'yard_pagegroups_resources' %>
|
25
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
title: Reference
|
3
|
+
blurb: The content in this section is pure reference without the blather. If
|
4
|
+
you know what you’re doing and just need to check something, it’s
|
5
|
+
probably right here.
|
6
|
+
layout: template-logo-large
|
7
|
+
navigate: true
|
8
|
+
---
|
9
|
+
|
10
|
+
<%= md_images %>
|
11
|
+
<%= md_links %>
|
12
|
+
|
13
|
+
<%= current_page.data.title %>
|
14
|
+
==============================
|
15
|
+
<%= current_page.data.blurb %>
|
16
|
+
|
17
|
+
_Middlemac_ is a system consisting of four Ruby gems plus _Middleman_ and all of
|
18
|
+
its gems. As such all of the wonderful things that make _Middlemac_ such a nice
|
19
|
+
tool in the composite come from several sources. This reference section attempts
|
20
|
+
to put everything together in a single spot.
|
21
|
+
|
22
|
+
* * *
|
23
|
+
|
24
|
+
<%= nav_legitimate_children %>
|
25
|
+
|
26
|
+
* * *
|
data/documentation_project/Contents/Resources/Base.lproj/110_acknowledgements/index.html.md.erb
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
title: Acknowledgements and License
|
3
|
+
blurb: Discover many of the people whom <em>Middlemac</em> owes thanks to, and
|
4
|
+
read about <em>Middlemac</em>’s open source license.
|
5
|
+
layout: template-logo-small
|
6
|
+
---
|
7
|
+
<%= md_links %>
|
8
|
+
<%= md_images %>
|
9
|
+
|
10
|
+
|
11
|
+
<%= current_page.data.title %>
|
12
|
+
==============================
|
13
|
+
|
14
|
+
Acknowledgements
|
15
|
+
----------------
|
16
|
+
_Middlemac_ depends entirely on [_Middleman_](http://middlemanapp.com), without
|
17
|
+
which this work would not be practical.
|
18
|
+
|
19
|
+
We have chosen the name _Middlemac_ in homage to _Middleman_ and this choice
|
20
|
+
should not be inferred to mean that this project is related to _Middleman_.
|
21
|
+
|
22
|
+
We have designed a logo very similar to that of the _Middleman_ project. It
|
23
|
+
should not be inferred that _Middlemac_ is related to the _Middleman_ project
|
24
|
+
based on this design choice. We will happily change the logo if anyone from the
|
25
|
+
official _Middleman_ project makes such a request.
|
26
|
+
|
27
|
+
_Middleman_ itself depends on a whole ecosystem of free and open source
|
28
|
+
software. Please [visit http://middlemanapp.com](http://middlemanapp.com) in
|
29
|
+
order to have a full understanding of all of the pieces that make _Middlemac_
|
30
|
+
work. Without all of these contributions, _Middleman_ and _Middlemac_ would not
|
31
|
+
be possible.
|
32
|
+
|
33
|
+
|
34
|
+
License
|
35
|
+
-------
|
36
|
+
|
37
|
+
_Middlemac_ itself is released under the permissive MIT License, printed below.
|
38
|
+
_Middlemac_ depends on other components in order to work. Those components are
|
39
|
+
_not_ distributed with _Middlemac_ and have their own licences which the authors
|
40
|
+
of _Middlemac_ do not pretend to override.
|
41
|
+
|
42
|
+
### The MIT License (MIT)
|
43
|
+
|
44
|
+
Copyright (c) 2014-2016 Jim Derry and balthisar.com
|
45
|
+
|
46
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
47
|
+
this software and associated documentation files (the "Software"), to deal in
|
48
|
+
the Software without restriction, including without limitation the rights to
|
49
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
50
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
51
|
+
subject to the following conditions:
|
52
|
+
|
53
|
+
The above copyright notice and this permission notice shall be included in all
|
54
|
+
copies or substantial portions of the Software.
|
55
|
+
|
56
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
57
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
58
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
59
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
60
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
61
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,88 @@
|
|
1
|
+
---
|
2
|
+
title: Backwards Compatibility
|
3
|
+
blurb: Notes about Backwards Compatibility with earlier versions of Middlemac.
|
4
|
+
layout: template-logo-medium
|
5
|
+
---
|
6
|
+
<%= md_links %>
|
7
|
+
<%= md_images %>
|
8
|
+
|
9
|
+
<%= current_page.data.title %>
|
10
|
+
==============================
|
11
|
+
|
12
|
+
_Middlemac_ version 2.0.0 is a **major** update. It’s an API-breaking update and
|
13
|
+
projects using _Middlemac_ version 1.0 will _not_ build without some changes to
|
14
|
+
your project.
|
15
|
+
|
16
|
+
Additionally because _Middlemac_ now requires _Middleman_ 4.1.7 or higher, there
|
17
|
+
are some _Middleman_-related changes, too.
|
18
|
+
|
19
|
+
This version of _Middlemac_ is a complete rewrite, and it was designed in such a
|
20
|
+
way that in the future it _can_ be upgraded without breaking your projects. We
|
21
|
+
hope that the improvements, though, make it completely worth the trouble to
|
22
|
+
update.
|
23
|
+
|
24
|
+
|
25
|
+
Upgrading a project
|
26
|
+
-------------------
|
27
|
+
|
28
|
+
No automated method of upgrading a project is provided, but the steps for
|
29
|
+
achieving an upgrade are fairly simple.
|
30
|
+
|
31
|
+
### Files
|
32
|
+
|
33
|
+
`middlemac.rb`
|
34
|
+
: This file is no longer required and should be removed from your project.
|
35
|
+
_Middlemac_ is now a proper Ruby gem and is managed by Ruby directly.
|
36
|
+
|
37
|
+
`Gemfile`
|
38
|
+
: You must replace your `Gemfile` with ours, or at least ensure that your
|
39
|
+
`Gemfile` is edited to reflect the new gem requirements.
|
40
|
+
|
41
|
+
`config.rb`
|
42
|
+
: You should use our new `config.rb` as a starting point for replacing your
|
43
|
+
current `config.rb` file. Most of the changes are obvious, and pay special
|
44
|
+
attention to some of the items that have letter case changes.
|
45
|
+
|
46
|
+
`Contents/Resources/Base.lproj/assets/`
|
47
|
+
` layouts/layout-html4.haml`
|
48
|
+
` fonts/*`
|
49
|
+
` stylesheets/*`
|
50
|
+
: These files from a new project (or this sample documentation project) must
|
51
|
+
replace the corresponding files in your current project. In particular the
|
52
|
+
`layouts/layout-html4.haml` file enables the new `breadcrumbs` configuration
|
53
|
+
option. The new `fonts/` directory ensures that the required `font-awesome`
|
54
|
+
fonts are always available, and there have been visual tweaks in all of the
|
55
|
+
`stylesheets/` files (in particular we now have to include the `github`
|
56
|
+
styles in a new way).
|
57
|
+
|
58
|
+
|
59
|
+
### Configuration Changes
|
60
|
+
|
61
|
+
Amongst the changes mentioned above to `config.rb` is the removal of support for
|
62
|
+
_Middleman_’s `partials_dir` configuration setting. However in order to maintain
|
63
|
+
backwards compatibility we have preserved this functionality in _Middlemac_.
|
64
|
+
Simply move the `partials_dir` setting into the `activate Middlemac` block.
|
65
|
+
|
66
|
+
If you are following _Middlemac_ conventions, you can delete the `partials_dir`
|
67
|
+
setting completely, as the default is appropriate.
|
68
|
+
{: .note }
|
69
|
+
|
70
|
+
|
71
|
+
### Other Partials Changes
|
72
|
+
|
73
|
+
By default the automatic navigation partials are no longer included in the
|
74
|
+
sample project, and if you were using them you will have to keep your own
|
75
|
+
partials.
|
76
|
+
|
77
|
+
New partials are available as part of the required `middleman-pagegroups` gem,
|
78
|
+
but we also suggest that you consider using the new helpers instead of partials.
|
79
|
+
|
80
|
+
Also keep in mind that `md_links` and `md_images` helpers replace previous
|
81
|
+
partial functionality. Use these helpers to generate Markdown shortcuts instead.
|
82
|
+
|
83
|
+
|
84
|
+
### Other Changes
|
85
|
+
|
86
|
+
_Read_ this documentation and have a close look at the sample project. This is
|
87
|
+
a big **2.0** release, and lots of things have changed for the better. Before
|
88
|
+
long, you’ll have your old projects working again.
|