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
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/free-middlemac-logo-small.png
ADDED
Binary file
|
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/free-middlemac-logo.png
ADDED
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/free-middlemac-logo@2x.png
ADDED
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/middlemac-logo-small.png
ADDED
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/middlemac-logo-small@2x.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/free-logo.png
ADDED
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/free-logo@2x.png
ADDED
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/pro-logo-small.png
ADDED
Binary file
|
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/pro-logo.png
ADDED
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/mm-targets/pro-logo@2x.png
ADDED
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/pro-middlemac-logo-small.png
ADDED
Binary file
|
Binary file
|
Binary file
|
data/documentation_project/Contents/Resources/Base.lproj/assets/images/pro-middlemac-logo@2x.png
ADDED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require_tree .
|
data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs.haml
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
- pages = current_page.breadcrumbs
|
2
|
+
- unless pages.to_a.empty?
|
3
|
+
%div{:class => (defined?(klass) && klass) || nav_breadcrumbs_class}
|
4
|
+
%ul
|
5
|
+
- pages.each do |p|
|
6
|
+
%li= link_to p.data.title, p
|
7
|
+
|
8
|
+
-#
|
9
|
+
- This partial renders links into an <ul>.
|
10
|
+
- You probably need a class in order to render this properly.
|
11
|
+
- :klass - pass in this local to specify a class for the containing div.
|
data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs_alt.haml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
- pages = current_page.breadcrumbs
|
2
|
+
- unless pages.to_a.empty?
|
3
|
+
%div{:class => (defined?(klass) && klass) || nav_breadcrumbs_alt_class}
|
4
|
+
%ul
|
5
|
+
- pages[0...pages.count-1].each do |p|
|
6
|
+
%li= link_to p.data.title, p
|
7
|
+
%li= (defined?(label) && label) || nav_breadcrumbs_alt_label
|
8
|
+
|
9
|
+
-#
|
10
|
+
- This partial renders links into an <ul>.
|
11
|
+
- You probably need a class in order to render this properly.
|
12
|
+
- This alternate version replaces the last link with the extension's
|
13
|
+
`nav_breadcrumbs_alt_label` value.
|
14
|
+
- :label - pass in this local instead of using the default.
|
15
|
+
- :klass - pass in this local to specify a class for the containing div.
|
@@ -0,0 +1,18 @@
|
|
1
|
+
- commence = (defined?(start) && start) || current_page
|
2
|
+
- pages = commence.brethren
|
3
|
+
- unless pages.to_a.empty?
|
4
|
+
%div{:class => (defined?(klass) && klass) || nav_brethren_class}
|
5
|
+
%dl
|
6
|
+
- pages.each do |p|
|
7
|
+
%dt<
|
8
|
+
= link_to p.data.title, p
|
9
|
+
- if p.data.blurb
|
10
|
+
%dd= p.data.blurb
|
11
|
+
|
12
|
+
-#
|
13
|
+
- This partial renders links with blurbs into a <dl> to serve as
|
14
|
+
a related links table of contents.
|
15
|
+
- You probably need a class in order to render this properly.
|
16
|
+
- For a compact form without blurbs, see also `_nav_brethren_index.haml.
|
17
|
+
- :klass - pass in this local to specify a class for the containing div.
|
18
|
+
- :start - pass in this local to specify a different starting point.
|
data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_brethren_index.haml
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
- commence = (defined?(start) && start) || current_page
|
2
|
+
- pages = commence.brethren
|
3
|
+
- unless pages.to_a.empty?
|
4
|
+
%div{:class => (defined?(klass) && klass) || nav_brethren_index_class}
|
5
|
+
%ul
|
6
|
+
- pages.each do |p|
|
7
|
+
%li= link_to p.data.title, p
|
8
|
+
|
9
|
+
-#
|
10
|
+
This partial renders brethren into an <ul> to serve as a related-pages type
|
11
|
+
of table of contents.
|
12
|
+
- You probably need a class in order to render this properly.
|
13
|
+
- :klass - pass in this local to specify a class for the containing div.
|
14
|
+
- :start - pass in this local to specify a different starting point.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
- commence = (defined?(start) && start) || current_page
|
2
|
+
- pages = commence.legitimate_children
|
3
|
+
- unless pages.to_a.empty?
|
4
|
+
%div{:class => (defined?(klass) && klass) || nav_legitimate_children_class}
|
5
|
+
%dl
|
6
|
+
- pages.each do |p|
|
7
|
+
%dt= link_to p.data.title, p
|
8
|
+
- if p.data.blurb
|
9
|
+
%dd= p.data.blurb
|
10
|
+
|
11
|
+
-#
|
12
|
+
This partial renders links with blurbs into a <dl> to serve as a high-level
|
13
|
+
table of contents.
|
14
|
+
- You probably need a class in order to render this properly.
|
15
|
+
- :klass - pass in this local to specify a class for the containing div.
|
16
|
+
- :start - pass in this local to specify a different starting point.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
- p_prev = current_page.brethren_previous
|
2
|
+
- p_next = current_page.brethren_next
|
3
|
+
- b_prev = (defined?(label_previous) && label_previous) || nav_prev_next_label_prev
|
4
|
+
- b_next = (defined?(label_next) && label_next) || nav_prev_next_label_next
|
5
|
+
%div{:class => (defined?(klass) && klass) || nav_prev_next_class}
|
6
|
+
- if p_prev.nil?
|
7
|
+
%span= b_prev
|
8
|
+
- else
|
9
|
+
= link_to b_prev, p_prev
|
10
|
+
- if p_next.nil?
|
11
|
+
%span= b_next
|
12
|
+
- else
|
13
|
+
= link_to b_next, p_next
|
14
|
+
|
15
|
+
-#
|
16
|
+
This partial renders a div with two spans that are suitable for use as
|
17
|
+
previous and next buttons when properly styled.
|
18
|
+
- You probably need a class in order to render this properly.
|
19
|
+
- :klass - pass in this local to specify a class for the containing div.
|
20
|
+
- :label_previous - the label for the Previous button. Default is "Previous".
|
21
|
+
- :label_next - the label for the Next button. Default is "Next".
|
@@ -0,0 +1,21 @@
|
|
1
|
+
- commence = (defined?(start) && start) || current_page
|
2
|
+
- pages = commence.legitimate_children
|
3
|
+
- if defined?(recurse) && recurse
|
4
|
+
- unless pages.to_a.empty?
|
5
|
+
%ul
|
6
|
+
- pages.each do |p|
|
7
|
+
%li<
|
8
|
+
= link_to p.data.title, p
|
9
|
+
= partial 'partials/toc_index', :locals => { :start => p, :recurse => true }
|
10
|
+
- else
|
11
|
+
%ul{:class => (defined?(klass) && klass) || nav_toc_index_class}
|
12
|
+
%li<
|
13
|
+
= link_to commence.data.title, commence
|
14
|
+
= partial 'partials/toc_index', :locals => { :start => commence, :recurse => true }
|
15
|
+
|
16
|
+
-#
|
17
|
+
- This partial renders nested links into an <ul>. The top level item is the
|
18
|
+
start page followed by the entire directory structure below it.
|
19
|
+
- You probably need a class in order to render this properly.
|
20
|
+
- :start - pass in this local to specify the starting page.
|
21
|
+
- :klass - pass in this local to specify a class for the containing div.
|
data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_extras_config.erb
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
<div id="instance_attr_details" class="attr_details">
|
6
|
+
|
7
|
+
|
8
|
+
<span id="options[:img_auto_extensions]=-instance_method"></span>
|
9
|
+
<div class="method_details first">
|
10
|
+
<h3 class="signature first" id="options[:img_auto_extensions]=-instance_method">
|
11
|
+
|
12
|
+
- (<tt>Boolean</tt>) <strong>options[:img_auto_extensions]=</strong>(value)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
</h3><div class="docstring">
|
19
|
+
<div class="discussion">
|
20
|
+
<p>This option determines whether or not to support specifying images without
|
21
|
+
using a file name extension. If set to <code>true</code> then the <code>image_tag</code> helper
|
22
|
+
will work for images even if you don’t specify an extension, but only if a
|
23
|
+
file exists on disk that has one of the extensions in
|
24
|
+
<code>:img_auto_extensions_order</code>.</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>Boolean</tt>)</span>
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
—
|
43
|
+
<div class='inline'><p><code>true</code> or <code>false</code> to enable or disable this feature.</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>Boolean</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[:img_auto_extensions_order]=-instance_method"></span>
|
73
|
+
<div class="method_details ">
|
74
|
+
<h3 class="signature " id="options[:img_auto_extensions_order]=-instance_method">
|
75
|
+
|
76
|
+
- (<tt>Array<String></tt>) <strong>options[:img_auto_extensions_order]=</strong>(value)
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
</h3><div class="docstring">
|
83
|
+
<div class="discussion">
|
84
|
+
<p>This option defines the eligible file name extensions and their precedence
|
85
|
+
when you specify an image without an extension using the <code>image_tag</code> helper.
|
86
|
+
Set this to an array of image file extensions in your desired order of
|
87
|
+
of precedence.</p>
|
88
|
+
|
89
|
+
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
<div class="tags">
|
93
|
+
<p class="tag_title">Parameters:</p>
|
94
|
+
<ul class="param">
|
95
|
+
|
96
|
+
<li>
|
97
|
+
|
98
|
+
<span class='name'>value</span>
|
99
|
+
|
100
|
+
|
101
|
+
<span class='type'>(<tt>Array<String></tt>)</span>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
—
|
106
|
+
<div class='inline'><p>Set to an array of image extensions.</p>
|
107
|
+
</div>
|
108
|
+
|
109
|
+
</li>
|
110
|
+
|
111
|
+
</ul>
|
112
|
+
|
113
|
+
<p class="tag_title">Returns:</p>
|
114
|
+
<ul class="return">
|
115
|
+
|
116
|
+
<li>
|
117
|
+
|
118
|
+
|
119
|
+
<span class='type'>(<tt>Array<String></tt>)</span>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
—
|
124
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
</li>
|
128
|
+
|
129
|
+
</ul>
|
130
|
+
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
|
135
|
+
<span id="options[:retina_srcset]=-instance_method"></span>
|
136
|
+
<div class="method_details ">
|
137
|
+
<h3 class="signature " id="options[:retina_srcset]=-instance_method">
|
138
|
+
|
139
|
+
- (<tt>Boolean</tt>) <strong>options[:retina_srcset]=</strong>(value)
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
</h3><div class="docstring">
|
146
|
+
<div class="discussion">
|
147
|
+
<p>This option determines whether or not the enhanced <code>image_tag</code> helper will
|
148
|
+
be used to include an @2x <code>srcset</code> attribute automatically. This automatic
|
149
|
+
behavior will only be applied if the image asset exists on disk and this
|
150
|
+
option is set to <code>true</code>.</p>
|
151
|
+
|
152
|
+
|
153
|
+
</div>
|
154
|
+
</div>
|
155
|
+
<div class="tags">
|
156
|
+
<p class="tag_title">Parameters:</p>
|
157
|
+
<ul class="param">
|
158
|
+
|
159
|
+
<li>
|
160
|
+
|
161
|
+
<span class='name'>value</span>
|
162
|
+
|
163
|
+
|
164
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
—
|
169
|
+
<div class='inline'><p><code>true</code> or <code>false</code> to enable or disable this feature.</p>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
</li>
|
173
|
+
|
174
|
+
</ul>
|
175
|
+
|
176
|
+
<p class="tag_title">Returns:</p>
|
177
|
+
<ul class="return">
|
178
|
+
|
179
|
+
<li>
|
180
|
+
|
181
|
+
|
182
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
—
|
187
|
+
<div class='inline'><p>Returns the current value of this option.</p>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
</li>
|
191
|
+
|
192
|
+
</ul>
|
193
|
+
|
194
|
+
</div>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
</div>
|
198
|
+
|
199
|
+
|
200
|
+
|
data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_extras_helpers.erb
ADDED
@@ -0,0 +1,146 @@
|
|
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="css_image_sizes-instance_method">
|
12
|
+
|
13
|
+
- (<tt>String</tt>) <strong>css_image_sizes</strong>
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
</h3><div class="docstring">
|
20
|
+
<div class="discussion">
|
21
|
+
<p>This helper provides CSS for every image in your
|
22
|
+
project. Each image will have a declaration that sets
|
23
|
+
<code>max-width</code> and <code>max-height</code> to the actual size of the
|
24
|
+
image. Proper @2x image support is included. It’s most
|
25
|
+
useful to use this helper in a <code>some_file.css.erb</code>
|
26
|
+
file.</p>
|
27
|
+
|
28
|
+
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
<div class="tags">
|
32
|
+
|
33
|
+
<p class="tag_title">Returns:</p>
|
34
|
+
<ul class="return">
|
35
|
+
|
36
|
+
<li>
|
37
|
+
|
38
|
+
|
39
|
+
<span class='type'>(<tt>String</tt>)</span>
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
—
|
44
|
+
<div class='inline'><p>Returns a string with the CSS markup
|
45
|
+
for every image found in your project.</p>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
</li>
|
49
|
+
|
50
|
+
</ul>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<div class="method_details ">
|
56
|
+
<h3 class="signature " id="md_images-instance_method">
|
57
|
+
|
58
|
+
- (<tt>String</tt>) <strong>md_images</strong>
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
</h3><div class="docstring">
|
65
|
+
<div class="discussion">
|
66
|
+
<p>This helper provides access to <code>middlemac-extras</code>’
|
67
|
+
index of images in Markdown reference format, enabling
|
68
|
+
you to use reference-style images in documents. Because
|
69
|
+
this helper includes literal Markdown, it’s only useful
|
70
|
+
in Markdown documents.</p>
|
71
|
+
|
72
|
+
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
<div class="tags">
|
76
|
+
|
77
|
+
<p class="tag_title">Returns:</p>
|
78
|
+
<ul class="return">
|
79
|
+
|
80
|
+
<li>
|
81
|
+
|
82
|
+
|
83
|
+
<span class='type'>(<tt>String</tt>)</span>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
—
|
88
|
+
<div class='inline'><p>Returns a string with the Markdown
|
89
|
+
index of every image in your project.</p>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
</li>
|
93
|
+
|
94
|
+
</ul>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
|
99
|
+
<div class="method_details ">
|
100
|
+
<h3 class="signature " id="md_links-instance_method">
|
101
|
+
|
102
|
+
- (<tt>String</tt>) <strong>md_links</strong>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
</h3><div class="docstring">
|
109
|
+
<div class="discussion">
|
110
|
+
<p>This helper provides access to <code>middlemac-extras</code>’
|
111
|
+
index of links in Markdown reference format, enabling
|
112
|
+
you to use reference-style links in documents. Because
|
113
|
+
this helper includes literal Markdown, it’s only useful
|
114
|
+
in Markdown documents.</p>
|
115
|
+
|
116
|
+
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
<div class="tags">
|
120
|
+
|
121
|
+
<p class="tag_title">Returns:</p>
|
122
|
+
<ul class="return">
|
123
|
+
|
124
|
+
<li>
|
125
|
+
|
126
|
+
|
127
|
+
<span class='type'>(<tt>String</tt>)</span>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
—
|
132
|
+
<div class='inline'><p>Returns a string with the Markdown
|
133
|
+
index of every page in your project.</p>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
</li>
|
137
|
+
|
138
|
+
</ul>
|
139
|
+
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
|
144
|
+
</div>
|
145
|
+
|
146
|
+
|