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
@@ -0,0 +1,135 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
<div class="method_details_list">
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
<div class="method_details first">
|
11
|
+
<h3 class="signature first" id="image_tag-instance_method">
|
12
|
+
|
13
|
+
- (<tt>String</tt>) <strong>image_tag</strong>(path, params = {})
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
</h3><div class="docstring">
|
20
|
+
<div class="discussion">
|
21
|
+
<p>With the proper options enabled this helper extends
|
22
|
+
the built-in functionality of <strong>Middleman</strong>’s helpers
|
23
|
+
in a couple of ways. With <code>:retina_srcset</code> enabled,
|
24
|
+
automatic <code>srcset</code> attributes will be applied to
|
25
|
+
<code><img></code> tags if an @2x version of the specified image
|
26
|
+
is found. With <code>:img_auto_extensions</code> it’s possible to
|
27
|
+
specify image names without the file name extension.</p>
|
28
|
+
|
29
|
+
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<div class="tags">
|
33
|
+
<p class="tag_title">Parameters:</p>
|
34
|
+
<ul class="param">
|
35
|
+
|
36
|
+
<li>
|
37
|
+
|
38
|
+
<span class='name'>path</span>
|
39
|
+
|
40
|
+
|
41
|
+
<span class='type'>(<tt>String</tt>)</span>
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
—
|
46
|
+
<div class='inline'><p>Specify path to the image file.</p>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
</li>
|
50
|
+
|
51
|
+
<li>
|
52
|
+
|
53
|
+
<span class='name'>params</span>
|
54
|
+
|
55
|
+
|
56
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
57
|
+
|
58
|
+
|
59
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
60
|
+
|
61
|
+
|
62
|
+
—
|
63
|
+
<div class='inline'><p>Optional parameters to pass to
|
64
|
+
the helper. <strong>Middleman</strong> (and other extensions)
|
65
|
+
provide other parameters in addition to these.</p>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
</li>
|
69
|
+
|
70
|
+
</ul>
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
78
|
+
<ul class="option">
|
79
|
+
|
80
|
+
<li>
|
81
|
+
<span class="name">:img_auto_extensions</span>
|
82
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
83
|
+
<span class="default">
|
84
|
+
|
85
|
+
</span>
|
86
|
+
|
87
|
+
— <div class='inline'><p>Allows
|
88
|
+
control of the automatic image extensions option
|
89
|
+
on a per-use basis.</p>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
</li>
|
93
|
+
|
94
|
+
<li>
|
95
|
+
<span class="name">:retina_srcset</span>
|
96
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
97
|
+
<span class="default">
|
98
|
+
|
99
|
+
</span>
|
100
|
+
|
101
|
+
— <div class='inline'><p>Allows control
|
102
|
+
of the automatic @2x images feature on a per-use
|
103
|
+
basis.</p>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</li>
|
107
|
+
|
108
|
+
</ul>
|
109
|
+
|
110
|
+
|
111
|
+
<p class="tag_title">Returns:</p>
|
112
|
+
<ul class="return">
|
113
|
+
|
114
|
+
<li>
|
115
|
+
|
116
|
+
|
117
|
+
<span class='type'>(<tt>String</tt>)</span>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
—
|
122
|
+
<div class='inline'><p>Returns an HTML <code><img></code> tag.</p>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
</li>
|
126
|
+
|
127
|
+
</ul>
|
128
|
+
|
129
|
+
</div>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
|
133
|
+
</div>
|
134
|
+
|
135
|
+
|
data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_middlemac_config.erb
ADDED
@@ -0,0 +1,207 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
<div id="instance_attr_details" class="attr_details">
|
6
|
+
|
7
|
+
|
8
|
+
<span id="options[:Breadcrumbs]=-instance_method"></span>
|
9
|
+
<div class="method_details first">
|
10
|
+
<h3 class="signature first" id="options[:Breadcrumbs]=-instance_method">
|
11
|
+
|
12
|
+
- (<tt>String</tt>) <strong>options[:Breadcrumbs]=</strong>(value)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
</h3><div class="docstring">
|
19
|
+
<div class="discussion">
|
20
|
+
<p>Indicates the name of the breadcrumbs helper to use for breadcrumbs.
|
21
|
+
Built-in breadcrumbs are “nav_breadcrumbs” and “nav_breadcrumbs_alt”.
|
22
|
+
Change to <code>nil</code> to disable breadcrumbs completely. Breadcrumbs helpers are
|
23
|
+
part of the <code>middleman-pagegroups</code> extension (which is a component of this
|
24
|
+
extension).</p>
|
25
|
+
|
26
|
+
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
<div class="tags">
|
30
|
+
<p class="tag_title">Parameters:</p>
|
31
|
+
<ul class="param">
|
32
|
+
|
33
|
+
<li>
|
34
|
+
|
35
|
+
<span class='name'>value</span>
|
36
|
+
|
37
|
+
|
38
|
+
<span class='type'>(<tt>String</tt>)</span>
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
—
|
43
|
+
<div class='inline'><p>The name of the breadcrumbs helper to use.</p>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
</li>
|
47
|
+
|
48
|
+
</ul>
|
49
|
+
|
50
|
+
<p class="tag_title">Returns:</p>
|
51
|
+
<ul class="return">
|
52
|
+
|
53
|
+
<li>
|
54
|
+
|
55
|
+
|
56
|
+
<span class='type'>(<tt>String</tt>)</span>
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
—
|
61
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
</li>
|
65
|
+
|
66
|
+
</ul>
|
67
|
+
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
|
72
|
+
<span id="options[:Help_Output_Location]=-instance_method"></span>
|
73
|
+
<div class="method_details ">
|
74
|
+
<h3 class="signature " id="options[:Help_Output_Location]=-instance_method">
|
75
|
+
|
76
|
+
- (<tt>String</tt>) <strong>options[:Help_Output_Location]=</strong>(value)
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
</h3><div class="docstring">
|
83
|
+
<div class="discussion">
|
84
|
+
<p>Specifies the directory where the finished <code>.help</code> bundle should go. It
|
85
|
+
must be relative to your <code>config.rb</code> file, or set it to <code>nil</code> to leave the
|
86
|
+
output in the default location (in the help project directory). The <em>actual</em>
|
87
|
+
output directory will be an Apple Help bundle at this location named in the
|
88
|
+
form <code>#{CFBundleName} (target).help</code>. By targeting the <code>Resources</code> directory
|
89
|
+
of your XCode project with this option, it’s possible to ensure that an
|
90
|
+
Xcode project is automatically up to date every time a help project is
|
91
|
+
built.</p>
|
92
|
+
|
93
|
+
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
<div class="tags">
|
97
|
+
<p class="tag_title">Parameters:</p>
|
98
|
+
<ul class="param">
|
99
|
+
|
100
|
+
<li>
|
101
|
+
|
102
|
+
<span class='name'>value</span>
|
103
|
+
|
104
|
+
|
105
|
+
<span class='type'>(<tt>String</tt>)</span>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
—
|
110
|
+
<div class='inline'><p>The directory where the final help bundle will be
|
111
|
+
built.</p>
|
112
|
+
</div>
|
113
|
+
|
114
|
+
</li>
|
115
|
+
|
116
|
+
</ul>
|
117
|
+
|
118
|
+
<p class="tag_title">Returns:</p>
|
119
|
+
<ul class="return">
|
120
|
+
|
121
|
+
<li>
|
122
|
+
|
123
|
+
|
124
|
+
<span class='type'>(<tt>String</tt>)</span>
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
—
|
129
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
</li>
|
133
|
+
|
134
|
+
</ul>
|
135
|
+
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
|
140
|
+
<span id="options[:partials_dir]=-instance_method"></span>
|
141
|
+
<div class="method_details ">
|
142
|
+
<h3 class="signature " id="options[:partials_dir]=-instance_method">
|
143
|
+
|
144
|
+
- (<tt>String</tt>) <strong>options[:partials_dir]=</strong>(value)
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
</h3><div class="docstring">
|
151
|
+
<div class="discussion">
|
152
|
+
<p>Specifies the default location for partials. Prior to <strong>Middleman</strong> 4.0,
|
153
|
+
all partials were kept in a common directory. <strong>Middlemac</strong> restores this
|
154
|
+
previous behavior by allowing all partials to be grouped in a common
|
155
|
+
directory. When using the <code>partial</code> helper, this directory will be checked
|
156
|
+
first for the existence of a partial; if not found then the default, built
|
157
|
+
in behavior will take over.</p>
|
158
|
+
|
159
|
+
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
<div class="tags">
|
163
|
+
<p class="tag_title">Parameters:</p>
|
164
|
+
<ul class="param">
|
165
|
+
|
166
|
+
<li>
|
167
|
+
|
168
|
+
<span class='name'>value</span>
|
169
|
+
|
170
|
+
|
171
|
+
<span class='type'>(<tt>String</tt>)</span>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
—
|
176
|
+
<div class='inline'><p>The directory to search for partials.</p>
|
177
|
+
</div>
|
178
|
+
|
179
|
+
</li>
|
180
|
+
|
181
|
+
</ul>
|
182
|
+
|
183
|
+
<p class="tag_title">Returns:</p>
|
184
|
+
<ul class="return">
|
185
|
+
|
186
|
+
<li>
|
187
|
+
|
188
|
+
|
189
|
+
<span class='type'>(<tt>String</tt>)</span>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
—
|
194
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
</li>
|
198
|
+
|
199
|
+
</ul>
|
200
|
+
|
201
|
+
</div>
|
202
|
+
</div>
|
203
|
+
|
204
|
+
</div>
|
205
|
+
|
206
|
+
|
207
|
+
|
data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_middlemac_helpers.erb
ADDED
@@ -0,0 +1,297 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
<div class="method_details_list">
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
<div class="method_details first">
|
11
|
+
<h3 class="signature first" id="breadcrumbs-instance_method">
|
12
|
+
|
13
|
+
- (<tt>String</tt>) <strong>breadcrumbs</strong>
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
</h3><div class="docstring">
|
20
|
+
<div class="discussion">
|
21
|
+
<p>This helper returns the name of the breadcrumbs
|
22
|
+
partial configured to be used in your project, i.e.,
|
23
|
+
the value of <code>options[:Breadcrumbs]</code>.</p>
|
24
|
+
|
25
|
+
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="tags">
|
29
|
+
|
30
|
+
<p class="tag_title">Returns:</p>
|
31
|
+
<ul class="return">
|
32
|
+
|
33
|
+
<li>
|
34
|
+
|
35
|
+
|
36
|
+
<span class='type'>(<tt>String</tt>)</span>
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
—
|
41
|
+
<div class='inline'><p>The name of the configured breadcrumbs
|
42
|
+
partial.</p>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
</li>
|
46
|
+
|
47
|
+
</ul>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
<div class="method_details ">
|
53
|
+
<h3 class="signature " id="cfBundleIdentifier-instance_method">
|
54
|
+
|
55
|
+
- (<tt>String</tt>) <strong>cfBundleIdentifier</strong>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
</h3><div class="docstring">
|
62
|
+
<div class="discussion">
|
63
|
+
<p>Returns the product <code>CFBundleIdentifier</code> for the
|
64
|
+
current target as configured in your <code>config.rb</code>.</p>
|
65
|
+
|
66
|
+
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
<div class="tags">
|
70
|
+
|
71
|
+
<p class="tag_title">Returns:</p>
|
72
|
+
<ul class="return">
|
73
|
+
|
74
|
+
<li>
|
75
|
+
|
76
|
+
|
77
|
+
<span class='type'>(<tt>String</tt>)</span>
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
—
|
82
|
+
<div class='inline'><p>The <code>cfBundleIdentifier</code>.</p>
|
83
|
+
</div>
|
84
|
+
|
85
|
+
</li>
|
86
|
+
|
87
|
+
</ul>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div class="method_details ">
|
93
|
+
<h3 class="signature " id="cfBundleName-instance_method">
|
94
|
+
|
95
|
+
- (<tt>String</tt>) <strong>cfBundleName</strong>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
</h3><div class="docstring">
|
102
|
+
<div class="discussion">
|
103
|
+
<p>Returns the product <code>CFBundleName</code> for the current
|
104
|
+
target as configured in your <code>config.rb</code>.</p>
|
105
|
+
|
106
|
+
|
107
|
+
</div>
|
108
|
+
</div>
|
109
|
+
<div class="tags">
|
110
|
+
|
111
|
+
<p class="tag_title">Returns:</p>
|
112
|
+
<ul class="return">
|
113
|
+
|
114
|
+
<li>
|
115
|
+
|
116
|
+
|
117
|
+
<span class='type'>(<tt>String</tt>)</span>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
—
|
122
|
+
<div class='inline'><p>The <code>CFBundleName</code>.</p>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
</li>
|
126
|
+
|
127
|
+
</ul>
|
128
|
+
|
129
|
+
</div>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
<div class="method_details ">
|
133
|
+
<h3 class="signature " id="partials_dir-instance_method">
|
134
|
+
|
135
|
+
- (<tt>String</tt>) <strong>partials_dir</strong>
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
</h3><div class="docstring">
|
142
|
+
<div class="discussion">
|
143
|
+
<p>Returns the name of the configured partials directory
|
144
|
+
to use by default with the <code>partials</code> helper, i.e., the
|
145
|
+
value of <code>options[:partials_dir]</code>.</p>
|
146
|
+
|
147
|
+
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
<div class="tags">
|
151
|
+
|
152
|
+
<p class="tag_title">Returns:</p>
|
153
|
+
<ul class="return">
|
154
|
+
|
155
|
+
<li>
|
156
|
+
|
157
|
+
|
158
|
+
<span class='type'>(<tt>String</tt>)</span>
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
—
|
163
|
+
<div class='inline'><p>The path of the configured default
|
164
|
+
partials directory.</p>
|
165
|
+
</div>
|
166
|
+
|
167
|
+
</li>
|
168
|
+
|
169
|
+
</ul>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
</div>
|
173
|
+
|
174
|
+
<div class="method_details ">
|
175
|
+
<h3 class="signature " id="product_name-instance_method">
|
176
|
+
|
177
|
+
- (<tt>String</tt>) <strong>product_name</strong>
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
</h3><div class="docstring">
|
184
|
+
<div class="discussion">
|
185
|
+
<p>Returns the <code>ProductName</code> for the current target
|
186
|
+
as configured in your <code>config.rb</code>.</p>
|
187
|
+
|
188
|
+
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
<div class="tags">
|
192
|
+
|
193
|
+
<p class="tag_title">Returns:</p>
|
194
|
+
<ul class="return">
|
195
|
+
|
196
|
+
<li>
|
197
|
+
|
198
|
+
|
199
|
+
<span class='type'>(<tt>String</tt>)</span>
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
—
|
204
|
+
<div class='inline'><p>The <code>ProductName</code>.</p>
|
205
|
+
</div>
|
206
|
+
|
207
|
+
</li>
|
208
|
+
|
209
|
+
</ul>
|
210
|
+
|
211
|
+
</div>
|
212
|
+
</div>
|
213
|
+
|
214
|
+
<div class="method_details ">
|
215
|
+
<h3 class="signature " id="product_uri-instance_method">
|
216
|
+
|
217
|
+
- (<tt>String</tt>) <strong>product_uri</strong>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
</h3><div class="docstring">
|
224
|
+
<div class="discussion">
|
225
|
+
<p>Returns the <code>ProductURI</code> for the current target
|
226
|
+
as configured in your <code>config.rb</code>.</p>
|
227
|
+
|
228
|
+
|
229
|
+
</div>
|
230
|
+
</div>
|
231
|
+
<div class="tags">
|
232
|
+
|
233
|
+
<p class="tag_title">Returns:</p>
|
234
|
+
<ul class="return">
|
235
|
+
|
236
|
+
<li>
|
237
|
+
|
238
|
+
|
239
|
+
<span class='type'>(<tt>String</tt>)</span>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
—
|
244
|
+
<div class='inline'><p>The <code>ProductURI</code>.</p>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
</li>
|
248
|
+
|
249
|
+
</ul>
|
250
|
+
|
251
|
+
</div>
|
252
|
+
</div>
|
253
|
+
|
254
|
+
<div class="method_details ">
|
255
|
+
<h3 class="signature " id="product_version-instance_method">
|
256
|
+
|
257
|
+
- (<tt>String</tt>) <strong>product_version</strong>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
</h3><div class="docstring">
|
264
|
+
<div class="discussion">
|
265
|
+
<p>Returns the <code>ProductVersion</code> for the current target
|
266
|
+
as configured in your <code>config.rb</code>.</p>
|
267
|
+
|
268
|
+
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
<div class="tags">
|
272
|
+
|
273
|
+
<p class="tag_title">Returns:</p>
|
274
|
+
<ul class="return">
|
275
|
+
|
276
|
+
<li>
|
277
|
+
|
278
|
+
|
279
|
+
<span class='type'>(<tt>String</tt>)</span>
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
—
|
284
|
+
<div class='inline'><p>The <code>ProductVersion</code>.</p>
|
285
|
+
</div>
|
286
|
+
|
287
|
+
</li>
|
288
|
+
|
289
|
+
</ul>
|
290
|
+
|
291
|
+
</div>
|
292
|
+
</div>
|
293
|
+
|
294
|
+
|
295
|
+
</div>
|
296
|
+
|
297
|
+
|