middlemac 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile +11 -1
- data/README.md +38 -6
- data/Rakefile +7 -2
- data/documentation_project/.gitignore +1 -1
- data/documentation_project/Contents/Info.plist.erb +1 -1
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/_data/globals.yml +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/_data/locale-list.json +318 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/_layouts/layout-apple-modern-aside.haml +19 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/_layouts/layout-apple-modern.haml +61 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/_layouts/layout-blank.haml +11 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/_partials/_yard_middlemac_config.erb +276 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/_partials/_yard_middlemac_helpers.erb +897 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/_partials/_yard_middlemac_helpers_extended.erb +369 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets/partials/_yard_pagegroups_resources.erb → SharedGlobalAssets/_partials/_yard_middlemac_resources.erb} +342 -37
- data/documentation_project/Contents/Resources/{Base.lproj/assets/partials/_yard_targets_config.erb → SharedGlobalAssets/_partials/_yard_mmtargets_config.erb} +15 -110
- data/documentation_project/Contents/Resources/{Base.lproj/assets/partials/_yard_targets_helpers.erb → SharedGlobalAssets/_partials/_yard_mmtargets_helpers.erb} +4 -4
- data/documentation_project/Contents/Resources/{Base.lproj/assets/partials/_yard_targets_helpers_extended.erb → SharedGlobalAssets/_partials/_yard_mmtargets_helpers_extended.erb} +6 -2
- data/documentation_project/Contents/Resources/{Base.lproj/assets/partials/_yard_targets_instance.erb → SharedGlobalAssets/_partials/_yard_mmtargets_instance.erb} +1 -1
- data/documentation_project/Contents/Resources/{Base.lproj/assets/partials/_yard_targets_resources.erb → SharedGlobalAssets/_partials/_yard_mmtargets_resources.erb} +2 -2
- data/documentation_project/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-120x120.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-152x152.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-57x57.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-76x76.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-ipad.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-ipad_2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-iphone.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-iphone_2x.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/convention}/icon_256x256.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/convention}/icon_256x256@2x.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/convention}/icon_32x32.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/convention}/icon_32x32@2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/apple.css +3831 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/L0200_LeftArrow_2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/L0201_RightArrow_2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/arrow-blue.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/arrow.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/ask-siri.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-clear-search.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-close-2.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-close-learnmore.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-close.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-search-small.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-search.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-rtl.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-small-rtl.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-small.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-toggle-rtl.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-toggle.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/changelanguage_icon2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/force-click.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-arrow-2.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-arrow.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-close.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-external-link-lg.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-external-link.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-pause.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-play.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-replay.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-warning-black.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-warning-eu.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-warning.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-120x120.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-152x152.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-57x57.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-76x76.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-ipad.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-ipad_2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-iphone.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-iphone_2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/movie-play_2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/nav-left.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/nav-paddle-left.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/nav-paddle-right.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/nav-right.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/search_image_large.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/tip.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/toc_blue_large.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/apple/css/img/toc_large.svg +1 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets/stylesheets/_github.scss → SharedGlobalAssets/css/middlemac/github.css.scss} +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/middlemac/middlemac.css.scss +129 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/middlemac/note.svg +19 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/middlemac/tip.svg +1 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/css/middlemac/warning.svg +19 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/fonts/_dummy.txt +1 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/all-sample.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/all-sample@2x.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/images}/free-icon_256x256.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/images}/free-icon_256x256@2x.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/images}/free-icon_32x32.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/images}/free-icon_32x32@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/free-middlemac-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/free-middlemac-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/free-middlemac-logo.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/free-middlemac-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/middlemac-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/middlemac-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/middlemac-logo.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/middlemac-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/mm-targets/free-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/mm-targets/free-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/mm-targets/free-logo.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/mm-targets/free-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/mm-targets/pro-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/mm-targets/pro-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/mm-targets/pro-logo.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/mm-targets/pro-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/images}/pro-icon_256x256.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/images}/pro-icon_256x256@2x.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/images}/pro-icon_32x32.png +0 -0
- data/documentation_project/Contents/Resources/{shared → SharedGlobalAssets/images}/pro-icon_32x32@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/pro-middlemac-logo-small.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/pro-middlemac-logo-small@2x.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/pro-middlemac-logo.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/images/pro-middlemac-logo@2x.png +0 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/js/app.5.1.27.js +6295 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/js/middlemac-debug.js +20 -0
- data/documentation_project/Contents/Resources/SharedGlobalAssets/js/vendor.js +226 -0
- data/documentation_project/Contents/Resources/en.lproj/010_what_is_middlemac/index.html.md.erb +114 -0
- data/documentation_project/Contents/Resources/en.lproj/020_apple_help_features/index.html.md.erb +241 -0
- data/documentation_project/Contents/Resources/{Base.lproj/020_setup_tutorial/index.html.md.erb → en.lproj/030_get_started/010_set_up_middlemac.html.md.erb} +33 -37
- data/documentation_project/Contents/Resources/en.lproj/030_get_started/020_your_first_help_book.html.md.erb +374 -0
- data/documentation_project/Contents/Resources/en.lproj/030_get_started/030_serve_your_help_book.html.md.erb +97 -0
- data/documentation_project/Contents/Resources/en.lproj/030_get_started/040_build_your_help_book.html.md.erb +56 -0
- data/documentation_project/Contents/Resources/{Base.lproj/030_skills_refresher/10_markdown_skill.html.md.erb → en.lproj/030_get_started/050_about_markdown.html.md.erb} +12 -14
- data/documentation_project/Contents/Resources/{Base.lproj/030_skills_refresher/30_middleman_skill.html.md.erb → en.lproj/030_get_started/060_about_middleman.html.md.erb} +10 -14
- data/documentation_project/Contents/Resources/en.lproj/030_get_started/070_about_ruby.html.md.erb +194 -0
- data/documentation_project/Contents/Resources/en.lproj/030_get_started/aside_frontmatter.html.md.erb +64 -0
- data/documentation_project/Contents/Resources/en.lproj/030_get_started/index.html.md.erb +4 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/010_setup.html.md.erb +204 -0
- data/documentation_project/Contents/Resources/{Base.lproj/030_skills_refresher/60_filetypes_skill.html.md.erb → en.lproj/040_compose_project/020_filetypes.html.md.erb} +7 -11
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/030_directory_conventions.html.md.erb +206 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/040_groups.html.md.erb +96 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/050_targets_and_features.html.md.erb +220 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/060_frontmatter.html.md.erb +98 -0
- data/documentation_project/Contents/Resources/{Base.lproj/060_content/100_using_local_data.html.md.erb → en.lproj/040_compose_project/070_local_data.html.md.erb} +22 -9
- data/documentation_project/Contents/Resources/{Base.lproj/060_content/030_helpers.html.md.erb → en.lproj/040_compose_project/080_helpers/010_helpers.html.md.erb} +35 -69
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/080_helpers/020_markdown_links.html.md.erb +51 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/080_helpers/030_markdown_images.html.md.erb +52 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/080_helpers/index.html.md.erb +4 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/090_partials.html.md.erb +64 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/100_resources.html.md.erb +36 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/110_implement_features.html.md.erb +197 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/120_preview_build.html.md.erb +85 -0
- data/documentation_project/Contents/Resources/en.lproj/040_compose_project/index.html.md.erb +4 -0
- data/documentation_project/Contents/Resources/{Base.lproj/050_structure → en.lproj/040_compose_project}/not_free.html.md.erb +4 -11
- data/documentation_project/Contents/Resources/{Base.lproj/050_structure → en.lproj/040_compose_project}/not_pro.html.md.erb +4 -11
- data/documentation_project/Contents/Resources/en.lproj/100_reference/010_apple_help_books/010_dissect_help_book.html.md.erb +295 -0
- data/documentation_project/Contents/Resources/en.lproj/100_reference/010_apple_help_books/020_dissect_modern_help.html.md.erb +246 -0
- data/documentation_project/Contents/Resources/en.lproj/100_reference/010_apple_help_books/index.html.md.erb +4 -0
- data/documentation_project/Contents/Resources/en.lproj/100_reference/030_backwards_compatibility.html.md.erb +82 -0
- data/documentation_project/Contents/Resources/en.lproj/100_reference/040_directory_reference.html.md.erb +260 -0
- data/documentation_project/Contents/Resources/en.lproj/100_reference/050_xcode_integration.html.md.erb +165 -0
- data/documentation_project/Contents/Resources/{Base.lproj/100_reference/10_cli_ref.html.md.erb → en.lproj/100_reference/060_cli_ref.html.md.erb} +3 -29
- data/documentation_project/Contents/Resources/en.lproj/100_reference/080_frontmatter_reference.html.md.erb +111 -0
- data/documentation_project/Contents/Resources/en.lproj/100_reference/120_api_reference/070_config_ref.html.md.erb +31 -0
- data/documentation_project/Contents/Resources/en.lproj/100_reference/120_api_reference/090_helpers_ref.html.md.erb +20 -0
- data/documentation_project/Contents/Resources/{Base.lproj/100_reference/30_helpers_ext_ref.html.md.erb → en.lproj/100_reference/120_api_reference/091_helpers_ext_ref.html.md.erb} +3 -21
- data/documentation_project/Contents/Resources/{Base.lproj/100_reference/50_resource_ext_ref.html.md.erb → en.lproj/100_reference/120_api_reference/100_resource_ext_ref.html.md.erb} +3 -8
- data/documentation_project/Contents/Resources/en.lproj/100_reference/120_api_reference/index.html.md.erb +4 -0
- data/documentation_project/Contents/Resources/en.lproj/100_reference/index.html.md.erb +4 -0
- data/documentation_project/Contents/Resources/{Base.lproj → en.lproj}/110_acknowledgements/index.html.md.erb +5 -7
- data/documentation_project/Contents/Resources/en.lproj/ExactMatch.plist.erb +15 -0
- data/documentation_project/Contents/Resources/{Base.lproj → en.lproj}/InfoPlist.strings.erb +0 -0
- data/documentation_project/Contents/Resources/en.lproj/asides/aside_description.html.md.erb +21 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_books_folder_reference.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_books_project_membership.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_aside_example.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_chapter_heading.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_copyright_footer.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_landing_links.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_language_chooser.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_navigator.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_see_also.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_title_icons.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/apple_help_features_universal.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/get_started_init_contents.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/get_started_init_english.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/xcode_integration_config_sets.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/xcode_integration_plist_definitions.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/xcode_integration_target_dependencies.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/xcode_integration_target_template.png +0 -0
- data/documentation_project/Contents/Resources/en.lproj/assets/images/xcode_integration_tool_configuration.png +0 -0
- data/documentation_project/Contents/Resources/{Base.lproj → en.lproj}/index.html.md.erb +3 -13
- data/documentation_project/Contents/Resources/en.lproj/locale-info.json.erb +16 -0
- data/documentation_project/Contents/Resources/en.lproj/navigation.json.erb +57 -0
- data/documentation_project/Contents/Resources/en.lproj/searchTree.json.erb +1 -0
- data/documentation_project/Contents/Resources/es.lproj/ExactMatch.plist.erb +15 -0
- data/{fixtures/middlemac_app/Contents/Resources/Base.lproj → documentation_project/Contents/Resources/es.lproj}/InfoPlist.strings.erb +0 -0
- data/documentation_project/Contents/Resources/es.lproj/index.html.md.erb +27 -0
- data/documentation_project/Contents/Resources/es.lproj/locale-info.json.erb +16 -0
- data/documentation_project/Contents/Resources/es.lproj/navigation.json.erb +57 -0
- data/documentation_project/Contents/Resources/es.lproj/searchTree.json.erb +1 -0
- data/documentation_project/Contents/Resources/index.html.erb +118 -0
- data/documentation_project/Contents/Resources/locale-list.json.erb +14 -0
- data/documentation_project/Gemfile +4 -17
- data/documentation_project/HelpViewerApp/HelpViewerApp/AppDelegate.h +1 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/AppDelegate.m +6 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp/Base.lproj/MainMenu.xib +39 -10
- data/documentation_project/HelpViewerApp/HelpViewerApp/Info-free.plist +4 -4
- data/documentation_project/HelpViewerApp/HelpViewerApp/Info-pro.plist +4 -4
- data/documentation_project/HelpViewerApp/HelpViewerApp/versions.xcconfig +8 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/project.pbxproj +79 -101
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/xcshareddata/xcschemes/Help (free).xcscheme +11 -6
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/xcshareddata/xcschemes/Help (pro).xcscheme +80 -0
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/xcshareddata/xcschemes/HelpViewerApp (free).xcscheme +1 -1
- data/documentation_project/HelpViewerApp/HelpViewerApp.xcodeproj/xcshareddata/xcschemes/HelpViewerApp (pro).xcscheme +1 -1
- data/documentation_project/HelpViewerApp/README.md +6 -26
- data/documentation_project/{Middlemac (free).help → Middlemac_(free).help}/.gitignore +0 -0
- data/documentation_project/{Middlemac (pro).help → Middlemac_(pro).help}/.gitignore +0 -0
- data/documentation_project/config.rb +68 -100
- data/documentation_project/makefile +93 -0
- data/documentation_project/middlemac.webloc +0 -0
- data/features/helpers_features.feature +59 -0
- data/features/main_features.feature +21 -17
- data/features/support/env.rb +0 -14
- data/fixtures/middlemac_app/.gitignore +0 -1
- data/fixtures/middlemac_app/Contents/Info.plist.erb +1 -1
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj/assets → SharedGlobalAssets}/_data/globals.yml +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/_data/locale-list.json +318 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/_layouts/layout-apple-modern-aside.haml +19 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/_layouts/layout-apple-modern.haml +61 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/_layouts/layout-blank.haml +11 -0
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj/assets/partials → SharedGlobalAssets/_partials}/_partials_dir_partial.erb +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-120x120.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-152x152.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-57x57.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-76x76.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-ipad.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-ipad_2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-iphone.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/convention/icon-webclip-iphone_2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/{shared → SharedGlobalAssets/convention}/icon_256x256.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/{shared → SharedGlobalAssets/convention}/icon_256x256@2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/{shared → SharedGlobalAssets/convention}/icon_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/{shared → SharedGlobalAssets/convention}/icon_32x32@2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/apple.css +3831 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/L0200_LeftArrow_2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/L0201_RightArrow_2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/arrow-blue.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/arrow.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/ask-siri.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-clear-search.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-close-2.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-close-learnmore.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-close.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-search-small.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-search.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-rtl.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-small-rtl.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-small.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-toggle-rtl.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc-toggle.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/button-toc.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/changelanguage_icon2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/force-click.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-arrow-2.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-arrow.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-close.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-external-link-lg.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-external-link.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-pause.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-play.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-replay.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-warning-black.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-warning-eu.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-warning.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-120x120.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-152x152.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-57x57.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-76x76.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-ipad.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-ipad_2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-iphone.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/icon-webclip-iphone_2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/movie-play_2x.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/nav-left.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/nav-paddle-left.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/nav-paddle-right.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/nav-right.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/search_image_large.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/tip.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/toc_blue_large.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/apple/css/img/toc_large.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj/assets/stylesheets/_github.scss → SharedGlobalAssets/css/middlemac/github.css.scss} +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/middlemac/middlemac.css.scss +129 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/middlemac/note.svg +19 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/middlemac/tip.svg +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/css/middlemac/warning.svg +19 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/fonts/_dummy.txt +1 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/images/global_thing_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/js/app.5.1.27.js +6295 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/js/middlemac-debug.js +20 -0
- data/fixtures/middlemac_app/Contents/Resources/SharedGlobalAssets/js/vendor.js +226 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/10_hello_world_file.html.md.erb +17 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/30_sample_group_number_one/index.html.md.erb +8 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/30_sample_group_number_one/page_one.html.md.erb +108 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/30_sample_group_number_one/page_two.html.md.erb +36 -0
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj → en.lproj}/40_sample_group_number_two/01_nested_group_example/01_page_one.html.md.erb +0 -5
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj → en.lproj}/40_sample_group_number_two/01_nested_group_example/02_pagina_dos.html.md.erb +0 -5
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj → en.lproj}/40_sample_group_number_two/01_nested_group_example/03_page_san.html.md.erb +0 -5
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/40_sample_group_number_two/01_nested_group_example/index.html.md.erb +4 -0
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj → en.lproj}/40_sample_group_number_two/02_page_two.html.md.erb +0 -5
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj → en.lproj}/40_sample_group_number_two/03_page_three.html.md.erb +0 -5
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/40_sample_group_number_two/index.html.md.erb +4 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/50_testing_world_file.html.md.erb +58 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/60_goodbye_world_file.html.md.erb +203 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/ExactMatch.plist.erb +15 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/InfoPlist.strings.erb +10 -0
- data/fixtures/middlemac_app/Contents/Resources/{Base.lproj → en.lproj}/_new_style_partial.erb +0 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/asides/aside_description.html.md.erb +20 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/assets/_partials/_localized_partials_dir_partial.erb +1 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/assets/images/all-graphic_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/assets/images/neat_thing_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/assets/images/subdirectory/logo_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/assets/images/subdirectory/pro-image_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/copyright.html.md.erb +19 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/index.html.md.erb +20 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/locale-info.json.erb +16 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/navigation.json.erb +57 -0
- data/fixtures/middlemac_app/Contents/Resources/en.lproj/searchTree.json.erb +1 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/10_hola_mundo_file.html.md.erb +15 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/60_goodbye_world_file.html.md.erb +193 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/ExactMatch.plist.erb +15 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/InfoPlist.strings.erb +10 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/assets/images/all-graphic_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/assets/images/neat_thing_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/assets/images/subdirectory/logo_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/assets/images/subdirectory/pro-image_32x32.png +0 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/copyright.html.md.erb +19 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/index.html.md.erb +21 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/locale-info.json.erb +16 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/navigation.json.erb +57 -0
- data/fixtures/middlemac_app/Contents/Resources/es.lproj/searchTree.json.erb +1 -0
- data/fixtures/middlemac_app/Contents/Resources/index.html.erb +118 -0
- data/fixtures/middlemac_app/Contents/Resources/locale-list.json.erb +14 -0
- data/fixtures/middlemac_app/Gemfile +4 -17
- data/fixtures/middlemac_app/config.rb +71 -100
- data/fixtures/middlemac_app/makefile +93 -0
- data/fixtures/middlemac_app/middlemac.webloc +0 -0
- data/lib/middlemac/extension.rb +123 -211
- data/lib/middlemac/helpers.rb +470 -0
- data/lib/middlemac/private.rb +494 -0
- data/lib/middlemac/sitemap.rb +516 -0
- data/lib/middlemac/trie.rb +37 -0
- data/lib/middlemac/version.rb +1 -1
- data/lib/middlemac.rb +4 -0
- data/middlemac.gemspec +7 -6
- data/resources/stopwords/ar.plist +206 -0
- data/resources/stopwords/ca.plist +0 -0
- data/resources/stopwords/cs.plist +30 -0
- data/resources/stopwords/da.plist +6 -0
- data/resources/stopwords/de.plist +119 -0
- data/resources/stopwords/el.plist +0 -0
- data/resources/stopwords/en.plist +0 -0
- data/resources/stopwords/es.plist +282 -0
- data/resources/stopwords/es_419.plist +282 -0
- data/resources/stopwords/fi.plist +206 -0
- data/resources/stopwords/fr.plist +132 -0
- data/resources/stopwords/he.plist +0 -0
- data/resources/stopwords/hr.plist +0 -0
- data/resources/stopwords/hu.plist +44 -0
- data/resources/stopwords/id.plist +6 -0
- data/resources/stopwords/it.plist +153 -0
- data/resources/stopwords/ja.plist +6 -0
- data/resources/stopwords/ko.plist +106 -0
- data/resources/stopwords/ms.plist +6 -0
- data/resources/stopwords/nl.plist +198 -0
- data/resources/stopwords/no.plist +207 -0
- data/resources/stopwords/pl.plist +207 -0
- data/resources/stopwords/pt.plist +207 -0
- data/resources/stopwords/pt_PT.plist +207 -0
- data/resources/stopwords/ro.plist +0 -0
- data/resources/stopwords/ru.plist +207 -0
- data/resources/stopwords/sk.plist +0 -0
- data/resources/stopwords/sv.plist +280 -0
- data/resources/stopwords/th.plist +56 -0
- data/resources/stopwords/tr.plist +200 -0
- data/resources/stopwords/uk.plist +764 -0
- data/resources/stopwords/vi.plist +6 -0
- data/resources/stopwords/zh_CN.plist +207 -0
- data/resources/stopwords/zh_TW.plist +207 -0
- data/yard/readme.md +4 -4
- metadata +394 -219
- data/documentation_project/Contents/Resources/Base.lproj/010_what_is_middlemac/index.html.md.erb +0 -126
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/20_frontmatter_skill.html.md.erb +0 -54
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/40_ruby_skill.html.md.erb +0 -67
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/50_ruby_ecosystem.html.md.erb +0 -136
- data/documentation_project/Contents/Resources/Base.lproj/030_skills_refresher/index.html.md.erb +0 -35
- data/documentation_project/Contents/Resources/Base.lproj/040_setup/index.html.md.erb +0 -88
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/010_directories_and_images.html.md.erb +0 -176
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/020_layouts_and_templates.html.md.erb +0 -71
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/025_css.html.md.erb +0 -71
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/030_groups.html.md.erb +0 -83
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/040_breadcrumbs.html.md.erb +0 -43
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/050_navigator.html.md.erb +0 -26
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/060_targets.html.md.erb +0 -63
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/070_features.html.md.erb +0 -122
- data/documentation_project/Contents/Resources/Base.lproj/050_structure/index.html.md.erb +0 -21
- data/documentation_project/Contents/Resources/Base.lproj/060_content/010_frontmatter.html.md.erb +0 -88
- data/documentation_project/Contents/Resources/Base.lproj/060_content/040_partials.html.md.erb +0 -121
- data/documentation_project/Contents/Resources/Base.lproj/060_content/050_resources.html.md.erb +0 -60
- data/documentation_project/Contents/Resources/Base.lproj/060_content/070_including_excluding.html.md.erb +0 -68
- data/documentation_project/Contents/Resources/Base.lproj/060_content/080_markdown_links_images.html.md.erb +0 -93
- data/documentation_project/Contents/Resources/Base.lproj/060_content/090_css_image_sizes.html.md.erb +0 -90
- data/documentation_project/Contents/Resources/Base.lproj/060_content/index.html.md.erb +0 -21
- data/documentation_project/Contents/Resources/Base.lproj/070_preview_build/index.html.md.erb +0 -78
- data/documentation_project/Contents/Resources/Base.lproj/090_build_application/10_apple_help_setup.html.md.erb +0 -110
- data/documentation_project/Contents/Resources/Base.lproj/090_build_application/20_xcode_integration.html.md.erb +0 -64
- data/documentation_project/Contents/Resources/Base.lproj/090_build_application/index.html.md.erb +0 -25
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/20_config_ref.html.md.erb +0 -56
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/40_helpers_ref.html.md.erb +0 -45
- data/documentation_project/Contents/Resources/Base.lproj/100_reference/index.html.md.erb +0 -26
- data/documentation_project/Contents/Resources/Base.lproj/120_backwards_compatibility/index.html.md.erb +0 -88
- data/documentation_project/Contents/Resources/Base.lproj/130_all_help_content/index.html.md.erb +0 -15
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/layout-html4.haml +0 -22
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/layout-xhtml.haml +0 -28
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/template-logo-large.haml +0 -30
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/template-logo-medium.haml +0 -30
- data/documentation_project/Contents/Resources/Base.lproj/assets/_layouts/template-logo-small.haml +0 -30
- 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 +0 -655
- 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/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/javascripts/all.js +0 -1
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs.haml +0 -11
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs_alt.haml +0 -15
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_brethren.haml +0 -18
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_brethren_index.haml +0 -14
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_legitimate_children.haml +0 -16
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_prev_next.haml +0 -21
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_toc_index.haml +0 -21
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_extras_config.erb +0 -200
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_extras_helpers.erb +0 -146
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_extras_helpers_extended.erb +0 -135
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_middlemac_config.erb +0 -207
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_middlemac_helpers.erb +0 -297
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_middlemac_helpers_extended.erb +0 -96
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_config.erb +0 -744
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_helpers.erb +0 -710
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_helpers_css.erb +0 -523
- data/documentation_project/Contents/Resources/Base.lproj/assets/partials/_yard_pagegroups_helpers_extended.erb +0 -56
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/_apple_helpbook.scss +0 -946
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/_normalize.scss +0 -374
- 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 +0 -8
- data/documentation_project/Contents/Resources/Base.lproj/assets/stylesheets/style.css.scss +0 -4
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/10_hello_world_file.html.md.erb +0 -22
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/20_goodbye_world_file.html.md.erb +0 -22
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/30_sample_group_number_one/index.html.md.erb +0 -24
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/30_sample_group_number_one/page_one.html.md.erb +0 -20
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/30_sample_group_number_one/page_two.html.md.erb +0 -19
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/01_nested_group_example/index.html.md.erb +0 -18
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/40_sample_group_number_two/index.html.md.erb +0 -24
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/45_testing_world_file.html.md.erb +0 -55
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/50_entire_world_file.html.md.erb +0 -15
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/layout-html4.haml +0 -22
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/layout-xhtml.haml +0 -28
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/template-logo-large.haml +0 -30
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/template-logo-medium.haml +0 -30
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/_layouts/template-logo-small.haml +0 -30
- 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 +0 -655
- 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 +0 -1
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/javascripts/all.js +0 -1
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs.haml +0 -11
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_breadcrumbs_alt.haml +0 -15
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_brethren.haml +0 -18
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_brethren_index.haml +0 -14
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_legitimate_children.haml +0 -16
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_prev_next.haml +0 -21
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_toc_index.haml +0 -21
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/_apple_helpbook.scss +0 -946
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/_normalize.scss +0 -374
- 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 +0 -8
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/stylesheets/style.css.scss +0 -4
- data/fixtures/middlemac_app/Contents/Resources/Base.lproj/index.html.md.erb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31fee728bef8cc15a8f5fccde7b2fbefc66d918d
|
4
|
+
data.tar.gz: fffd42f0b926640d7863283438f4f31d53ce212d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68f9a4dc8fbf2d3c00c4066c2d22c5dba2b06c6fbe2b853b8d060af9ad02ec7f038aaa7674beb2008466f5a8cc81ff5f7961db391f0ce1b7bcc77b475d01af7a
|
7
|
+
data.tar.gz: 895b99f44d41673ccab7bf4de1b23fb5a6b6d1c80cd67c9bbee8b93e1607f43acd9dc447f0eed1f843b61d34eba7b59068ff1e4e4024e52f8ff97a0e2c2b8d04
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
middlemac change log
|
2
2
|
====================
|
3
3
|
|
4
|
+
- Version 3.0.0 / 2018-June-18
|
5
|
+
|
6
|
+
- Major update to Middlemac to support modern macOS Help Books. Middlemac
|
7
|
+
now builds Help Books that take advantage of Apple’s “Eagle” framework for
|
8
|
+
providing a consistent look and feel across Help Books, and provides neat
|
9
|
+
browser-based features such as search and language switching.
|
10
|
+
|
4
11
|
- Version 2.0.0 / 2016-May-15
|
5
12
|
|
6
13
|
- All new Middlemac version 2.0.0!
|
data/Gemfile
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# the following line to use "http://" instead
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
# Specify your gem's dependencies in
|
5
|
+
# Specify your gem's dependencies in middlemac.gemspec
|
6
6
|
gemspec
|
7
7
|
|
8
8
|
group :development do
|
@@ -16,3 +16,13 @@ group :test do
|
|
16
16
|
gem 'aruba'
|
17
17
|
gem 'rspec'
|
18
18
|
end
|
19
|
+
|
20
|
+
|
21
|
+
# These are needed so that Cucumber will work with our fixture. As this
|
22
|
+
# is not part of the gem, it's probably okay, but seems rather stupid.
|
23
|
+
# It used to work without this, and Middleman would load its *own* gemfile
|
24
|
+
# from the fixture. Not sure why that's not happening.
|
25
|
+
gem 'middleman-targets'
|
26
|
+
gem 'middleman-syntax'
|
27
|
+
gem 'middleman-compass'
|
28
|
+
|
data/README.md
CHANGED
@@ -1,23 +1,55 @@
|
|
1
|
-
Middlemac, the Middleman Build System for
|
2
|
-
|
1
|
+
Middlemac, the Middleman Build System for macOS Help Projects
|
2
|
+
=============================================================
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/middlemac.svg)](https://badge.fury.io/rb/middlemac)
|
4
4
|
|
5
5
|
|
6
6
|
_Middlemac_
|
7
7
|
|
8
8
|
This gem provides a complete solution to generating help documentation for
|
9
|
-
|
9
|
+
macOS applications in the form of modern Help Books, using Middleman and a
|
10
10
|
selection of custom extensions to provide everything a developer needs.
|
11
11
|
|
12
|
+
The Help Books you make will be modern Apple Help Books, complete with Apple’s
|
13
|
+
native look and feel, and having the same features as Apple’s own Help Books.
|
14
|
+
These features aren’t a simulation by _Middlemac_, but are truly Apple native
|
15
|
+
Help Book features.
|
16
|
+
|
12
17
|
Using this Apple Help Book building system leverages the tools of _Middleman_ to
|
13
|
-
make building end-user documentation for your
|
18
|
+
make building end-user documentation for your macOS applications a snap.
|
14
19
|
Whether you are targeting multiple versions of your application or a single
|
15
20
|
version, once properly configured, _Middlemac_ will take all of the pain out of
|
16
21
|
building help files.
|
17
22
|
|
23
|
+
_Middlemac_ isn’t merely a text-to-HTML tool. It manages multiple languages,
|
24
|
+
provides helpers to assist with asset management, supports multiple versions of
|
25
|
+
your help (for multiple versions of your application), and more.
|
26
|
+
|
27
|
+
|
28
|
+
Alternatives to _Middlemac_
|
29
|
+
---------------------------
|
30
|
+
|
31
|
+
If your needs are very little and you simply want something that resembles
|
32
|
+
Apple’s Help Books without all of the extra features, then you cannot go wrong
|
33
|
+
with [jekyll-apple-help](https://github.com/chuckhoupt/jekyll-apple-help).
|
34
|
+
|
35
|
+
|
36
|
+
Middlemac’s Manual
|
37
|
+
------------------
|
38
|
+
|
39
|
+
The steps below lead you through installing _Middlemac_ and building its manual
|
40
|
+
using _Middlemac_. That’s asking an awful lot if you just want to take a look at
|
41
|
+
what it does, so feel free to visit the manual on its website:
|
42
|
+
|
43
|
+
- The manual built using the “free” target is [right here][1].
|
44
|
+
- The manual built using the “pro” target can be looked at [here][2].
|
45
|
+
|
46
|
+
[1]: https://www.balthisar.com/manuals/Middlemac3_(free)/Contents/Resources/index.html
|
47
|
+
[2]: https://www.balthisar.com/manuals/Middlemac3_(pro)/Contents/Resources/index.html
|
48
|
+
|
18
49
|
|
19
50
|
Simple README
|
20
51
|
-------------
|
52
|
+
|
21
53
|
Jump to the [verbose README](#verbose-readme) and instructions below, otherwise…
|
22
54
|
|
23
55
|
|
@@ -112,7 +144,7 @@ There are multiple ways you could be reading this content now, but for now we
|
|
112
144
|
will assume that you have not yet installed _Middlemac_ and its dependencies.
|
113
145
|
|
114
146
|
To get started and read the full documentation, make sure that your system has
|
115
|
-
[Ruby](https://www.ruby-lang.org/) installed (it comes pre-installed on
|
147
|
+
[Ruby](https://www.ruby-lang.org/) installed (it comes pre-installed on macOS
|
116
148
|
and some Linuxes), and follow these steps below.
|
117
149
|
|
118
150
|
We now recommend the use of the Ruby Version Manager [(RVM)](https://rvm.io/).
|
@@ -143,7 +175,7 @@ xcode-select --install
|
|
143
175
|
|
144
176
|
If that fails or the rest of the installation fails, then install all of XCode.
|
145
177
|
It’s available in the App Store. It’s free of charge. And you’re using this
|
146
|
-
project to develop help for
|
178
|
+
project to develop help for macOS applications that you’re developing using
|
147
179
|
XCode anyway. Install it, already!
|
148
180
|
|
149
181
|
Dependencies on Linux are left up to you. Most modern Linuxes will prompt you to
|
data/Rakefile
CHANGED
@@ -17,7 +17,11 @@ task :default => :test
|
|
17
17
|
# Perform Cucumber testing.
|
18
18
|
###############################################################################
|
19
19
|
Cucumber::Rake::Task.new(:test, 'Features that must pass') do |task|
|
20
|
-
task.cucumber_opts = '--require features --color --tags
|
20
|
+
task.cucumber_opts = '--require features --color --tags "not @wip" --strict --format pretty'
|
21
|
+
end
|
22
|
+
|
23
|
+
Cucumber::Rake::Task.new(:testq, 'Features that must pass') do |task|
|
24
|
+
task.cucumber_opts = '--require features --color --tags "not @wip" --strict --format pretty 2>/dev/null'
|
21
25
|
end
|
22
26
|
|
23
27
|
|
@@ -46,10 +50,11 @@ task :partials do
|
|
46
50
|
{ :file => '_yard_middlemac_helpers.erb', :group => 'Helpers', },
|
47
51
|
{ :file => '_yard_middlemac_helpers_extended.erb', :group => 'Extended Helpers' },
|
48
52
|
{ :file => '_yard_middlemac_config.erb', :group => 'Extension Configuration' },
|
53
|
+
{ :file => '_yard_middlemac_resources.erb', :group => 'Resource Extensions', },
|
49
54
|
]
|
50
55
|
|
51
56
|
# Define the output directory.
|
52
|
-
dest = File.join('documentation_project', 'Contents', 'Resources', '
|
57
|
+
dest = File.join('documentation_project', 'Contents', 'Resources', 'SharedGlobalAssets', '_partials')
|
53
58
|
|
54
59
|
# Run YARD multiple times, filtering the group that interests us.
|
55
60
|
sections.each do |s|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
<key>CFBundleVersion</key>
|
20
20
|
<string><%= config[:targets][config[:target]][:CFBundleVersion] || product_version %></string>
|
21
21
|
<key>HPDBookIconPath</key>
|
22
|
-
<string><%= config[:targets][config[:target]][:HPDBookIconPath] || '
|
22
|
+
<string><%= config[:targets][config[:target]][:HPDBookIconPath] || 'SharedGlobalAssets/convention/icon_32x32@2x.png' %></string>
|
23
23
|
<key>HPDBookKBProduct</key>
|
24
24
|
<string><%= config[:targets][config[:target]][:HPDBookKBProduct] %></string>
|
25
25
|
<key>HPDBookKBURL</key>
|
File without changes
|
@@ -0,0 +1,318 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"text-direction": "ltr",
|
4
|
+
"name": "English (U.S.)\u200e",
|
5
|
+
"isoName": "English (U.S.)\u200e",
|
6
|
+
"isoCodes": [
|
7
|
+
"en",
|
8
|
+
"en-us"
|
9
|
+
],
|
10
|
+
"folder": "en.lproj"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"text-direction": "rtl",
|
14
|
+
"name": "\u0627\u0644\u0639\u0631\u0628\u064a\u0629",
|
15
|
+
"isoName": "Arabic",
|
16
|
+
"isoCodes": [
|
17
|
+
"ar"
|
18
|
+
],
|
19
|
+
"folder": "ar.lproj"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"text-direction": "ltr",
|
23
|
+
"name": "Catal\u00e0",
|
24
|
+
"isoName": "Catalan",
|
25
|
+
"isoCodes": [
|
26
|
+
"ca"
|
27
|
+
],
|
28
|
+
"folder": "ca.lproj"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"text-direction": "ltr",
|
32
|
+
"name": "\u010ce\u0161tina",
|
33
|
+
"isoName": "Czech",
|
34
|
+
"isoCodes": [
|
35
|
+
"cs"
|
36
|
+
],
|
37
|
+
"folder": "cs.lproj"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"text-direction": "ltr",
|
41
|
+
"name": "Dansk",
|
42
|
+
"isoName": "Danish",
|
43
|
+
"isoCodes": [
|
44
|
+
"da"
|
45
|
+
],
|
46
|
+
"folder": "da.lproj"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"text-direction": "ltr",
|
50
|
+
"name": "Deutsch",
|
51
|
+
"isoName": "German",
|
52
|
+
"isoCodes": [
|
53
|
+
"de"
|
54
|
+
],
|
55
|
+
"folder": "de.lproj"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"text-direction": "ltr",
|
59
|
+
"name": "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",
|
60
|
+
"isoName": "Greek",
|
61
|
+
"isoCodes": [
|
62
|
+
"el"
|
63
|
+
],
|
64
|
+
"folder": "el.lproj"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"text-direction": "ltr",
|
68
|
+
"name": "Espa\u00f1ol",
|
69
|
+
"isoName": "Spanish",
|
70
|
+
"isoCodes": [
|
71
|
+
"es"
|
72
|
+
],
|
73
|
+
"folder": "es.lproj"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"text-direction": "ltr",
|
77
|
+
"name": "Espa\u00f1ol (Latinoam\u00e9rica)\u200e",
|
78
|
+
"isoName": "Latin American Spanish",
|
79
|
+
"isoCodes": [
|
80
|
+
"es-419",
|
81
|
+
"es-xl"
|
82
|
+
],
|
83
|
+
"folder": "es_419.lproj"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"text-direction": "ltr",
|
87
|
+
"name": "Suomi",
|
88
|
+
"isoName": "Finnish",
|
89
|
+
"isoCodes": [
|
90
|
+
"fi"
|
91
|
+
],
|
92
|
+
"folder": "fi.lproj"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"text-direction": "ltr",
|
96
|
+
"name": "Fran\u00e7ais",
|
97
|
+
"isoName": "French",
|
98
|
+
"isoCodes": [
|
99
|
+
"fr"
|
100
|
+
],
|
101
|
+
"folder": "fr.lproj"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"text-direction": "rtl",
|
105
|
+
"name": "\u05e2\u05d1\u05e8\u05d9\u05ea",
|
106
|
+
"isoName": "Hebrew",
|
107
|
+
"isoCodes": [
|
108
|
+
"he"
|
109
|
+
],
|
110
|
+
"folder": "he.lproj"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"text-direction": "ltr",
|
114
|
+
"name": "Hrvatski",
|
115
|
+
"isoName": "Croatian",
|
116
|
+
"isoCodes": [
|
117
|
+
"hr"
|
118
|
+
],
|
119
|
+
"folder": "hr.lproj"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"text-direction": "ltr",
|
123
|
+
"name": "Magyar",
|
124
|
+
"isoName": "Hungarian",
|
125
|
+
"isoCodes": [
|
126
|
+
"hu"
|
127
|
+
],
|
128
|
+
"folder": "hu.lproj"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"text-direction": "ltr",
|
132
|
+
"name": "Bahasa Indonesia",
|
133
|
+
"isoName": "Indonesian",
|
134
|
+
"isoCodes": [
|
135
|
+
"id"
|
136
|
+
],
|
137
|
+
"folder": "id.lproj"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"text-direction": "ltr",
|
141
|
+
"name": "Italiano",
|
142
|
+
"isoName": "Italian",
|
143
|
+
"isoCodes": [
|
144
|
+
"it"
|
145
|
+
],
|
146
|
+
"folder": "it.lproj"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"text-direction": "ltr",
|
150
|
+
"name": "\u65e5\u672c\u8a9e",
|
151
|
+
"isoName": "Japanese",
|
152
|
+
"isoCodes": [
|
153
|
+
"ja"
|
154
|
+
],
|
155
|
+
"folder": "ja.lproj"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"text-direction": "ltr",
|
159
|
+
"name": "\ud55c\uad6d\uc5b4",
|
160
|
+
"isoName": "Korean",
|
161
|
+
"isoCodes": [
|
162
|
+
"ko"
|
163
|
+
],
|
164
|
+
"folder": "ko.lproj"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"text-direction": "ltr",
|
168
|
+
"name": "Bahasa Melayu",
|
169
|
+
"isoName": "Malaysian",
|
170
|
+
"isoCodes": [
|
171
|
+
"ms"
|
172
|
+
],
|
173
|
+
"folder": "ms.lproj"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"text-direction": "ltr",
|
177
|
+
"name": "Nederlands",
|
178
|
+
"isoName": "Dutch",
|
179
|
+
"isoCodes": [
|
180
|
+
"nl"
|
181
|
+
],
|
182
|
+
"folder": "nl.lproj"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"text-direction": "ltr",
|
186
|
+
"name": "Norsk (bokm\u00e5l)\u200e",
|
187
|
+
"isoName": "Norwegian",
|
188
|
+
"isoCodes": [
|
189
|
+
"nb",
|
190
|
+
"nn",
|
191
|
+
"no"
|
192
|
+
],
|
193
|
+
"folder": "no.lproj"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"text-direction": "ltr",
|
197
|
+
"name": "Polski",
|
198
|
+
"isoName": "Polish",
|
199
|
+
"isoCodes": [
|
200
|
+
"pl"
|
201
|
+
],
|
202
|
+
"folder": "pl.lproj"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"text-direction": "ltr",
|
206
|
+
"name": "Portugu\u00eas (Brasil)\u200e",
|
207
|
+
"isoName": "Brazilian Portuguese",
|
208
|
+
"isoCodes": [
|
209
|
+
"pt-br",
|
210
|
+
"pt"
|
211
|
+
],
|
212
|
+
"folder": "pt.lproj"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"text-direction": "ltr",
|
216
|
+
"name": "Portugu\u00eas (Portugal)\u200e",
|
217
|
+
"isoName": "Portuguese",
|
218
|
+
"isoCodes": [
|
219
|
+
"pt-pt"
|
220
|
+
],
|
221
|
+
"folder": "pt_PT.lproj"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"text-direction": "ltr",
|
225
|
+
"name": "Rom\u00e2n\u0103",
|
226
|
+
"isoName": "Romanian",
|
227
|
+
"isoCodes": [
|
228
|
+
"ro"
|
229
|
+
],
|
230
|
+
"folder": "ro.lproj"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"text-direction": "ltr",
|
234
|
+
"name": "\u0420\u0443\u0441\u0441\u043a\u0438\u0439",
|
235
|
+
"isoName": "Russian",
|
236
|
+
"isoCodes": [
|
237
|
+
"ru"
|
238
|
+
],
|
239
|
+
"folder": "ru.lproj"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"text-direction": "ltr",
|
243
|
+
"name": "Sloven\u010dina",
|
244
|
+
"isoName": "Slovak",
|
245
|
+
"isoCodes": [
|
246
|
+
"sk"
|
247
|
+
],
|
248
|
+
"folder": "sk.lproj"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"text-direction": "ltr",
|
252
|
+
"name": "Svenska",
|
253
|
+
"isoName": "Swedish",
|
254
|
+
"isoCodes": [
|
255
|
+
"sv"
|
256
|
+
],
|
257
|
+
"folder": "sv.lproj"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"text-direction": "ltr",
|
261
|
+
"name": "\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22",
|
262
|
+
"isoName": "Thai",
|
263
|
+
"isoCodes": [
|
264
|
+
"th"
|
265
|
+
],
|
266
|
+
"folder": "th.lproj"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"text-direction": "ltr",
|
270
|
+
"name": "T\u00fcrk\u00e7e",
|
271
|
+
"isoName": "Turkish",
|
272
|
+
"isoCodes": [
|
273
|
+
"tr"
|
274
|
+
],
|
275
|
+
"folder": "tr.lproj"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"text-direction": "ltr",
|
279
|
+
"name": "\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",
|
280
|
+
"isoName": "Ukrainian",
|
281
|
+
"isoCodes": [
|
282
|
+
"uk"
|
283
|
+
],
|
284
|
+
"folder": "uk.lproj"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"text-direction": "ltr",
|
288
|
+
"name": "Ti\u1ebfng Vi\u1ec7t",
|
289
|
+
"isoName": "Vietnamese",
|
290
|
+
"isoCodes": [
|
291
|
+
"vi"
|
292
|
+
],
|
293
|
+
"folder": "vi.lproj"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"text-direction": "ltr",
|
297
|
+
"name": "\u7b80\u4f53\u4e2d\u6587",
|
298
|
+
"isoName": "Simplified Chinese",
|
299
|
+
"isoCodes": [
|
300
|
+
"zh-cn",
|
301
|
+
"zh-hans",
|
302
|
+
"zh"
|
303
|
+
],
|
304
|
+
"folder": "zh_CN.lproj"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"text-direction": "ltr",
|
308
|
+
"name": "\u7e41\u9ad4\u4e2d\u6587",
|
309
|
+
"isoName": "Traditional Chinese",
|
310
|
+
"isoCodes": [
|
311
|
+
"zh-tw",
|
312
|
+
"zh-hk",
|
313
|
+
"zh-mo",
|
314
|
+
"zh-hant"
|
315
|
+
],
|
316
|
+
"folder": "zh_TW.lproj"
|
317
|
+
}
|
318
|
+
]
|
@@ -0,0 +1,19 @@
|
|
1
|
+
!!!
|
2
|
+
%html{:lang => "#{current_page.hb_locale}"}
|
3
|
+
%head
|
4
|
+
%meta{:charset => 'UTF-8'}
|
5
|
+
%meta{:name => 'robots', :content => 'noindex'}
|
6
|
+
%title= current_page.data.title || "#{product_name} Help"
|
7
|
+
- classes = ["apd-topic", "Aside"]
|
8
|
+
- id = current_page.hb_NavId
|
9
|
+
%body{:dir => "ltr", :class => classes, :id => id}
|
10
|
+
%a{:name => id}
|
11
|
+
|
12
|
+
= yield
|
13
|
+
|
14
|
+
-#
|
15
|
+
This layout will be used for every aside portion of your help book. The key
|
16
|
+
difference is that the meta robots prevents this page from being indexed,
|
17
|
+
because it's not a free-standing page. Additionally, it's a good idea to
|
18
|
+
assign your group-definition index files to this layout, as well, since
|
19
|
+
they have no content and we don’t want them indexed.
|
data/documentation_project/Contents/Resources/SharedGlobalAssets/_layouts/layout-apple-modern.haml
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
- landing = current_page.data.categories && current_page.data.categories.include?('landing')
|
2
|
+
- debug = extensions[:Middlemac].options[:show_debug]
|
3
|
+
!!!
|
4
|
+
%html{:lang => "#{current_page.hb_locale}"}
|
5
|
+
%head
|
6
|
+
- if !debug
|
7
|
+
:JavaScript
|
8
|
+
window.location.href = "#{current_page.hb_redirect_path}";
|
9
|
+
%meta{:charset => 'UTF-8'}
|
10
|
+
%meta{:'http-equiv' => 'refresh', :content => "#{debug ? 100 : 0}; url=#{current_page.hb_redirect_path}" }
|
11
|
+
- if current_page.data.blurb
|
12
|
+
%meta{:name => 'description', :content => strip_tags(current_page.data.blurb)}
|
13
|
+
- if current_page.data.keywords
|
14
|
+
%meta{:name => 'keywords', :content => current_page.data.keywords.join(', ')}
|
15
|
+
%title= current_page.data.title || "#{product_name} Help"
|
16
|
+
- classes = ["AppleTopic"]
|
17
|
+
- id = current_page.hb_NavId
|
18
|
+
- current_page.data.categories.each { |c| classes << c unless classes.include?(c) } if current_page.data.categories
|
19
|
+
%body{:dir => "ltr", :class => classes, :id => id}
|
20
|
+
%a{:name => current_page.data.anchor || current_page.page_name}
|
21
|
+
|
22
|
+
- if landing
|
23
|
+
= image_tag "icon_256x256"
|
24
|
+
%h1 #{product_name} #{product_version}
|
25
|
+
%h2
|
26
|
+
%a{:href => "#{product_uri}" } #{product_uri}
|
27
|
+
- else
|
28
|
+
= image_tag current_page.data.topicIcon || "icon_256x256", :figure_class => 'topicIcon'
|
29
|
+
%h1 #{current_page.data.title}
|
30
|
+
|
31
|
+
= yield
|
32
|
+
|
33
|
+
-# Need an empty <ul> for the show/hide topics to show up.
|
34
|
+
- if landing
|
35
|
+
%ul
|
36
|
+
|
37
|
+
- if content_for?(:seeAlso)
|
38
|
+
.LinkUniversal
|
39
|
+
%strong
|
40
|
+
See Also
|
41
|
+
= yield_content :seeAlso
|
42
|
+
|
43
|
+
- if debug
|
44
|
+
.middlemac-debug
|
45
|
+
%hr
|
46
|
+
%p
|
47
|
+
These following appear here because `config.rb` has `options.show_debug = true`.
|
48
|
+
%h2 Images Available with md_images
|
49
|
+
= md_images
|
50
|
+
%h2 Links Available with md_links
|
51
|
+
= md_links
|
52
|
+
|
53
|
+
-#
|
54
|
+
This layout will be used for nearly every page of your help book. Apple’s
|
55
|
+
scripts will strip out everything from the head, and so everything set here
|
56
|
+
is really only useful for indexers and for Apple’s JavaScript to use; they
|
57
|
+
won’t appear in the finished document. Note, too, that when a client attempts
|
58
|
+
to load this page directly, the browser will be directed to the index page
|
59
|
+
instead, which loads this content via AJAX. This is important because the
|
60
|
+
Help Indexer will index the page, and the Help Viewer will attempt to load
|
61
|
+
the page, and it would be ugly and unstyled if that happened.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
!!!
|
2
|
+
%html{:lang => "#{current_page.hb_locale}"}
|
3
|
+
%head
|
4
|
+
%meta{:charset => 'UTF-8'}
|
5
|
+
%meta{:name => 'robots', :content => 'noindex'}
|
6
|
+
%title= current_page.data.title || "#{product_name} Help"
|
7
|
+
%body
|
8
|
+
|
9
|
+
-#
|
10
|
+
This layout should be used for pages with no content, such as the index.html
|
11
|
+
pages used as group metadata containers.
|