diff --git a/404.md b/404.md index 655e49f..0fb82f8 100644 --- a/404.md +++ b/404.md @@ -1,8 +1,6 @@ --- title: "Page Not Found" -description: "Page not found." search: exclude --- -Sorry, but the page you were trying to view does not exist. Perhaps you can try searching for it. - +Sorry, but the page you were trying to view does not exist — perhaps you can try searching for it. diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..053c27d --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'github-pages' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..5818905 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,132 @@ +GEM + remote: https://rubygems.org/ + specs: + RedCloth (4.2.9) + activesupport (4.2.5) + i18n (~> 0.7) + json (~> 1.7, >= 1.7.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + addressable (2.3.8) + blankslate (2.1.2.4) + classifier-reborn (2.0.4) + fast-stemmer (~> 1.0) + coffee-script (2.4.1) + coffee-script-source + execjs + coffee-script-source (1.10.0) + colorator (0.1) + ethon (0.8.0) + ffi (>= 1.3.0) + execjs (2.6.0) + fast-stemmer (1.0.2) + ffi (1.9.10) + gemoji (2.1.0) + github-pages (39) + RedCloth (= 4.2.9) + github-pages-health-check (~> 0.2) + jekyll (= 2.4.0) + jekyll-coffeescript (= 1.0.1) + jekyll-feed (= 0.3.1) + jekyll-mentions (= 0.2.1) + jekyll-redirect-from (= 0.8.0) + jekyll-sass-converter (= 1.3.0) + jekyll-sitemap (= 0.8.1) + jemoji (= 0.5.0) + kramdown (= 1.5.0) + liquid (= 2.6.2) + maruku (= 0.7.0) + mercenary (~> 0.3) + pygments.rb (= 0.6.3) + rdiscount (= 2.1.7) + redcarpet (= 3.3.2) + terminal-table (~> 1.4) + github-pages-health-check (0.5.3) + addressable (~> 2.3) + net-dns (~> 0.8) + public_suffix (~> 1.4) + typhoeus (~> 0.7) + html-pipeline (1.9.0) + activesupport (>= 2) + nokogiri (~> 1.4) + i18n (0.7.0) + jekyll (2.4.0) + classifier-reborn (~> 2.0) + colorator (~> 0.1) + jekyll-coffeescript (~> 1.0) + jekyll-gist (~> 1.0) + jekyll-paginate (~> 1.0) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 1.1) + kramdown (~> 1.3) + liquid (~> 2.6.1) + mercenary (~> 0.3.3) + pygments.rb (~> 0.6.0) + redcarpet (~> 3.1) + safe_yaml (~> 1.0) + toml (~> 0.1.0) + jekyll-coffeescript (1.0.1) + coffee-script (~> 2.2) + jekyll-feed (0.3.1) + jekyll-gist (1.3.5) + jekyll-mentions (0.2.1) + html-pipeline (~> 1.9.0) + jekyll (~> 2.0) + jekyll-paginate (1.1.0) + jekyll-redirect-from (0.8.0) + jekyll (>= 2.0) + jekyll-sass-converter (1.3.0) + sass (~> 3.2) + jekyll-sitemap (0.8.1) + jekyll-watch (1.3.0) + listen (~> 3.0) + jemoji (0.5.0) + gemoji (~> 2.0) + html-pipeline (~> 1.9) + jekyll (>= 2.0) + json (1.8.3) + kramdown (1.5.0) + liquid (2.6.2) + listen (3.0.5) + rb-fsevent (>= 0.9.3) + rb-inotify (>= 0.9) + maruku (0.7.0) + mercenary (0.3.5) + mini_portile2 (2.0.0) + minitest (5.8.3) + net-dns (0.8.0) + nokogiri (1.6.7) + mini_portile2 (~> 2.0.0.rc2) + parslet (1.5.0) + blankslate (~> 2.0) + posix-spawn (0.3.11) + public_suffix (1.5.2) + pygments.rb (0.6.3) + posix-spawn (~> 0.3.6) + yajl-ruby (~> 1.2.0) + rb-fsevent (0.9.6) + rb-inotify (0.9.5) + ffi (>= 0.5.0) + rdiscount (2.1.7) + redcarpet (3.3.2) + safe_yaml (1.0.4) + sass (3.4.19) + terminal-table (1.5.2) + thread_safe (0.3.5) + toml (0.1.2) + parslet (~> 1.5.0) + typhoeus (0.8.0) + ethon (>= 0.8.0) + tzinfo (1.2.2) + thread_safe (~> 0.1) + yajl-ruby (1.2.1) + +PLATFORMS + ruby + +DEPENDENCIES + github-pages + +BUNDLED WITH + 1.10.6 diff --git a/README.md b/README.md index 8c333ea..9ae90d3 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,3 @@ -# Documentation theme for Jekyll +## Jekyll Documentation theme -This is a Jekyll theme designed to be used for single-sourced documentation sites. Instructions for using the theme are in the site build. You can see the site build in the following two locations: - -* [http://idratherbetellingstories.com/documentation-theme-jekyll/doc_designers/](http://idratherbetellingstories.com/documentation-theme-jekyll/doc_designers/) -* [http://idratherbetellingstories.com/documentation-theme-jekyll/doc_writers/](http://idratherbetellingstories.com/documentation-theme-jekyll/doc_writers/) - -The two different builds demonstrate the single-source publishing capabilities of the theme. The designer version is comprehensive, whereas the writer version is a subset of the designer version. +This is the readme page of the Jekyll documentation theme. diff --git a/_config.yml b/_config.yml index cb44b45..c300651 100644 --- a/_config.yml +++ b/_config.yml @@ -1,30 +1,29 @@ -## This content is duplicated here from configs/config_designers.yml because I'm building this site through Github Pages, and Github Pages just looks for the _config.yml file in the root directory to create the build. # project definitions -project: doc_designers +project: mydoc_designers audience: designers -product: all +product: doc platform: all version: all -destination: ../doc_designers -topnav_title: Jekyll Documentation Theme -homepage_title: Jekyll Documentation Theme — Designers -site_title: Jekyll Documentation Theme — Designers -disqus_shortname: idrbwjekyll -google_analytics: UA-66296557-1 -github_editme_path: tomjohnson1492/documentation-theme-jekyll/blob/gh-pages -# don't use a slash before or after the above path. here's how this url gets written out in page.html: https://github.com/{{site.github_editme_path}}{{page.url | replace: '.html', '.md'}} +destination: ../doc_outputs/mydoc/designers +topnav_title: Doc theme — designers +homepage_title: Jekyll doc theme for designers +site_title: Jekyll theme for designers +project_folder: doc + # variables -sidebar_tagline: designers -sidebar_version: version 3.0 +sidebar_tagline: Designers +sidebar_version: Version 4.0 +theme_file: theme-blue.css +project_file_name: doc -port: 4001 +port: 4009 exclude: - - doc_writers* - - configs/ - _site - - doc_multi* + - _drafts + - configs/ + - doc/mydoc_writers* # same for all host: 127.0.0.1 @@ -32,14 +31,13 @@ feedback_email: tomjohnson1492@gmail.com sidebar_accordion: true markdown: redcarpet print: false -theme_file: theme-blue.css -# only use suffix if you need to force index.html to display -# suffix: index.html + +suffix: index.html redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "tables", "with_toc_data"] -highlighter: pygments +highlighter: rouge collections: tooltips: @@ -53,10 +51,15 @@ defaults: values: layout: "page" comments: true + search: true - scope: path: "" type: "posts" values: layout: "post" - comments: true \ No newline at end of file + comments: true + search: true + +sass: + sass_dir: _sass diff --git a/_data/definitions.yml b/_data/mydoc/mydoc_definitions.yml similarity index 88% rename from _data/definitions.yml rename to _data/mydoc/mydoc_definitions.yml index e47a0b7..0da85d3 100644 --- a/_data/definitions.yml +++ b/_data/mydoc/mydoc_definitions.yml @@ -1,11 +1,3 @@ -# Password screen - -changepassword_password: > -

This is a sample list of stuff:
- - more stuff
- - another line
-

- elephant: "This is a sample definition." baseball: "Baseball is considered America's pasttime sport, though that may be more of a historical term than a current one. There's a lot more excitement about football than baseball. A baseball game is somewhat of a snooze to watch, for the most part." diff --git a/_data/glossary.yml b/_data/mydoc/mydoc_glossary.yml similarity index 100% rename from _data/glossary.yml rename to _data/mydoc/mydoc_glossary.yml diff --git a/_data/mydoc/mydoc_sidebar.yml b/_data/mydoc/mydoc_sidebar.yml new file mode 100644 index 0000000..67c8265 --- /dev/null +++ b/_data/mydoc/mydoc_sidebar.yml @@ -0,0 +1,600 @@ +# This is your sidebar TOC. The sidebar code loops through sections here and provides the appropriate formatting. + +# Sidebar +entries: +- title: Sidebar + subcategories: + - title: + audience: writers, designers + platform: all + product: all + version: all + output: pdf + type: frontmatter + items: + - title: + url: /titlepage.html + audience: writers, designers + platform: all + product: all + version: all + output: pdf + type: frontmatter + - title: + url: /tocpage.html + audience: writers, designers + platform: all + product: all + version: all + output: pdf + type: frontmatter + + - title: Overview + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + - title: Introduction + url: /mydoc/home.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Supported features + url: /mydoc/mydoc_supported_features.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: About the theme author + url: /mydoc/mydoc_about.html + audience: writers, designers + platform: all + product: all + version: all + output: web + + - title: Support + url: /mydoc/mydoc_support.html + audience: writers, designers + platform: all + product: all + version: all + output: web + + - title: Get started + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + - title: 1. Build the default project + url: /mydoc/mydoc_getting_started.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 2. Add a new project + url: /mydoc/mydoc_adding_new_projects.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 3. Decide on your project's attributes + url: /mydoc/mydoc_decide_on_attributes.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 4. Set the configuration options + url: /mydoc/mydoc_configuration_settings.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 5. Customize the conditions file + url: /mydoc/mydoc_conditions_file_customization.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 6. Configure the sidebar + url: /mydoc/mydoc_configure_sidebar.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 7. Configure the top navigation + url: /mydoc/mydoc_top_navigation.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 8. Customize the URL generator + url: /mydoc/mydoc_url_generator_customization.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 9. Set up Prince XML + url: /mydoc/mydoc_princexml_setup.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: 10. Configure the build scripts + url: /mydoc/mydoc_build_scripts.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Authoring + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + - title: Pages + url: /mydoc/mydoc_pages.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: WebStorm Text Editor + url: /mydoc/mydoc_webstorm_text_editor.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Conditional logic + url: /mydoc/mydoc_conditional_logic.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Content reuse + url: /mydoc/mydoc_content_reuse.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Collections + url: /mydoc/mydoc_collections.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Navigation + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + - title: Sidebar navigation + url: /mydoc/mydoc_sidebar_navigation.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Tags + url: /mydoc/mydoc_tags.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Series + url: /mydoc/mydoc_series.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Formatting + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + - title: Tooltips + url: /mydoc/mydoc_adding_tooltips.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Alerts + url: /mydoc/mydoc_alerts.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Icons + url: /mydoc/mydoc_icons.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Images + url: /mydoc/mydoc_images.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Labels + url: /mydoc/mydoc_labels.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Links + url: /mydoc/mydoc_hyperlinks.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Navtabs + url: /mydoc/mydoc_navtabs.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Video embeds + url: /mydoc/mydoc_video_embeds.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Tables + url: /mydoc/mydoc_tables.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Syntax highlighting + url: /mydoc/mydoc_syntax_highlighting.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Handling reviews + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + - title: Commenting on files + url: /mydoc/mydoc_commenting_on_files.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Publishing + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + + - title: Build arguments + url: /mydoc/mydoc_build_arguments.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Themes + url: /mydoc/mydoc_themes.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Link validation + url: /mydoc/mydoc_link_validation.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Check page title consistency + url: /mydoc/mydoc_title_checker.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Generating PDFs + url: /mydoc/mydoc_generating_pdfs.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Excluding files + url: /mydoc/mydoc_excluding_files.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Help APIs and UI tooltips + url: /mydoc/mydoc_help_api.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Search configuration + url: /mydoc/mydoc_search_configuration.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: iTerm profiles + url: /mydoc/mydoc_iterm_profiles.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Pushing builds to server + url: /mydoc/mydoc_push_build_to_server.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Getting around the password prompts in SCP + url: /mydoc/mydoc_no_password_prompts_scp.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Special layouts + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + + - title: Knowledge-base layout + url: /mydoc/mydoc_kb_layout.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Scroll layout + url: /mydoc/mydoc_scroll.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Shuffle layout + url: /mydoc/mydoc_shuffle.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: FAQ layout + url: /mydoc/mydoc_faq.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Glossary layout + url: /mydoc/mydoc_glossary.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Collaborating with version control + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + + - title: Mercurial notes and tips + url: /mydoc/mydoc_mercurial_collaboration.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Git notes and tips + url: /mydoc/mydoc_git_collaboration.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Troubleshooting + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + items: + + - title: Troubleshooting + url: /mydoc/mydoc_troubleshooting.html + audience: writers, designers + platform: all + product: all + version: all + output: web, pdf + + - title: Tag archives + audience: writers, designers + platform: all + product: all + version: all + output: web + items: + + - title: Tag archives overview + url: /mydoc/mydoc_tag_archives_overview.html + audience: writers, designers + platform: all + product: all + version: all + output: web + + thirdlevel: + - title: Tag archive pages + audience: writers, designers + platform: all + version: all + product: all + output: web + thirdlevelitems: + - title: Getting started pages + url: /mydoc/tag_getting_started.html + audience: writers, designers + platform: all + version: all + product: all + output: web + + - title: Formatting pages + url: /mydoc/tag_formatting.html + audience: writers, designers + platform: all + version: all + product: all + output: web + + - title: Navigation pages + url: /mydoc/tag_navigation.html + audience: writers, designers + platform: all + version: all + product: all + output: web + + - title: Content types pages + url: /mydoc/tag_content_types.html + audience: writers, designers + platform: all + version: all + product: all + output: web + + - title: Publishing pages + url: /mydoc/tag_publishing.html + audience: writers, designers + platform: all + version: all + product: all + output: web + + - title: Special layout pages + url: /mydoc/tag_special_layouts.html + audience: writers, designers + platform: all + version: all + product: all + output: web + + - title: Collaboration pages + url: /mydoc/tag_collaboration.html + audience: writers, designers + platform: all + version: all + product: all + output: web \ No newline at end of file diff --git a/_data/mydoc/mydoc_tags.yml b/_data/mydoc/mydoc_tags.yml new file mode 100644 index 0000000..1af6e1f --- /dev/null +++ b/_data/mydoc/mydoc_tags.yml @@ -0,0 +1,9 @@ +allowed-tags: + - getting_started + - content_types + - navigation + - formatting + - publishing + - single_sourcing + - special_layouts + - collaboration \ No newline at end of file diff --git a/_data/topnav_doc.yml b/_data/mydoc/mydoc_topnav.yml similarity index 59% rename from _data/topnav_doc.yml rename to _data/mydoc/mydoc_topnav.yml index b987416..00165ff 100644 --- a/_data/topnav_doc.yml +++ b/_data/mydoc/mydoc_topnav.yml @@ -1,5 +1,5 @@ -# Topnav single links -# if you want to list an external url, use external_url instead of url. the theme will apply a different link base. +## Topnav single links +## if you want to list an external url, use external_url instead of url. the theme will apply a different link base. topnav: - title: Topnav subcategories: @@ -9,38 +9,47 @@ topnav: platform: all product: all version: all + output: web #Topnav dropdowns topnav_dropdowns: - title: Topnav dropdowns subcategories: - - title: Resources + - title: Jekyll Resources audience: writers, designers platform: all product: all version: all + output: web items: - - title: About this theme - url: /doc_about.html - audience: writers, designers - platform: all - product: all - version: all - - title: Support - url: /doc_support.html - audience: writers, designers - platform: all - product: all - version: all - - title: Troubleshooting - external_url: ../somedirectory/doc_troubleshooting.html - audience: writers, designers - platform: all - product: all - version: all - title: Jekyll Talk external_url: https://talk.jekyllrb.com audience: writers, designers platform: all product: all - version: all \ No newline at end of file + version: all + output: web + + - title: Jekyll documentation + external_url: http://jekyllrb.com/docs/home/ + audience: writers, designers + platform: all + product: all + version: all + output: web + + - title: Jekyll on Stack Overflow + external_url: http://stackoverflow.com/questions/tagged/jekyll + audience: writers, designers + platform: all + product: all + version: all + output: web + + - title: Jekyll on my blog + external_url: http://idratherbewriting.com/category-jekyll/ + audience: writers, designers + platform: all + product: all + version: all + output: web \ No newline at end of file diff --git a/_data/mydoc/mydoc_urls.yml b/_data/mydoc/mydoc_urls.yml new file mode 100644 index 0000000..fcd02cd --- /dev/null +++ b/_data/mydoc/mydoc_urls.yml @@ -0,0 +1,391 @@ + + + + + + + + + + + + + + + +home: + title: "Introduction" + url: "../mydoc/home.html" + link: "Introduction" + + + +mydoc_getting_started: + title: "Getting started with this theme" + url: "../mydoc/mydoc_getting_started.html" + link: "Getting started with this theme" + + + +mydoc_configuration_settings: + title: "Setting configuration options" + url: "../mydoc/mydoc_configuration_settings.html" + link: "Setting configuration options" + + + +mydoc_adding_new_projects: + title: "Adding new projects" + url: "../mydoc/mydoc_adding_new_projects.html" + link: "Adding new projects" + + + +mydoc_supported_features: + title: "Supported features" + url: "../mydoc/mydoc_supported_features.html" + link: "Supported features" + + + + + +mydoc_pages: + title: "Pages" + url: "../mydoc/mydoc_pages.html" + link: "Pages" + + + +mydoc_webstorm_text_editor: + title: "WebStorm Text Editor" + url: "../mydoc/mydoc_webstorm_text_editor.html" + link: "WebStorm Text Editor" + + + +mydoc_series: + title: "Series" + url: "../mydoc/mydoc_series.html" + link: "Series" + + + +mydoc_collections: + title: "Collections" + url: "../mydoc/mydoc_collections.html" + link: "Collections" + + + + + +mydoc_sidebar_navigation: + title: "Sidebar navigation" + url: "../mydoc/mydoc_sidebar_navigation.html" + link: "Sidebar navigation" + + + +mydoc_top_navigation: + title: "Top navigation" + url: "../mydoc/mydoc_top_navigation.html" + link: "Top navigation" + + + +mydoc_tags: + title: "Tags" + url: "../mydoc/mydoc_tags.html" + link: "Tags" + + + + + +mydoc_adding_tooltips: + title: "Tooltips" + url: "../mydoc/mydoc_adding_tooltips.html" + link: "Tooltips" + + + +mydoc_alerts: + title: "Alerts" + url: "../mydoc/mydoc_alerts.html" + link: "Alerts" + + + +mydoc_icons: + title: "Icons" + url: "../mydoc/mydoc_icons.html" + link: "Icons" + + + +mydoc_images: + title: "Images" + url: "../mydoc/mydoc_images.html" + link: "Images" + + + +mydoc_labels: + title: "Labels" + url: "../mydoc/mydoc_labels.html" + link: "Labels" + + + +mydoc_hyperlinks: + title: "Links" + url: "../mydoc/mydoc_hyperlinks.html" + link: "Links" + + + +mydoc_navtabs: + title: "Navtabs" + url: "../mydoc/mydoc_navtabs.html" + link: "Navtabs" + + + +mydoc_video_embeds: + title: "Video embeds" + url: "../mydoc/mydoc_video_embeds.html" + link: "Video embeds" + + + +mydoc_tables: + title: "Tables" + url: "../mydoc/mydoc_tables.html" + link: "Tables" + + + +mydoc_syntax_highlighting: + title: "Syntax highlighting" + url: "../mydoc/mydoc_syntax_highlighting.html" + link: "Syntax highlighting" + + + + + +mydoc_conditional_logic: + title: "Conditional logic" + url: "../mydoc/mydoc_conditional_logic.html" + link: "Conditional logic" + + + +mydoc_content_reuse: + title: "Content reuse" + url: "../mydoc/mydoc_content_reuse.html" + link: "Content reuse" + + + + + +mydoc_commenting_on_files: + title: "Commenting on files" + url: "../mydoc/mydoc_commenting_on_files.html" + link: "Commenting on files" + + + + + +mydoc_build_arguments: + title: "Build arguments" + url: "../mydoc/mydoc_build_arguments.html" + link: "Build arguments" + + + +mydoc_themes: + title: "Themes" + url: "../mydoc/mydoc_themes.html" + link: "Themes" + + + +mydoc_link_validation: + title: "Link validation" + url: "../mydoc/mydoc_link_validation.html" + link: "Link validation" + + + +mydoc_generating_pdfs: + title: "Generating PDFs" + url: "../mydoc/mydoc_generating_pdfs.html" + link: "Generating PDFs" + + + +mydoc_excluding_files: + title: "Excluding files" + url: "../mydoc/mydoc_excluding_files.html" + link: "Excluding files" + + + +mydoc_help_api: + title: "Help APIs and UI tooltips" + url: "../mydoc/mydoc_help_api.html" + link: "Help APIs and UI tooltips" + + + +mydoc_search_configuration: + title: "Search configuration" + url: "../mydoc/mydoc_search_configuration.html" + link: "Search configuration" + + + +mydoc_iterm_profiles: + title: "iTerm profiles" + url: "../mydoc/mydoc_iterm_profiles.html" + link: "iTerm profiles" + + + +mydoc_push_build_to_server: + title: "Pushing builds to server" + url: "../mydoc/mydoc_push_build_to_server.html" + link: "Pushing builds to server" + + + + + +mydoc_kb_layout: + title: "Knowledge-base layout" + url: "../mydoc/mydoc_kb_layout.html" + link: "Knowledge-base layout" + + + +mydoc_scroll: + title: "Scroll layout" + url: "../mydoc/mydoc_scroll.html" + link: "Scroll layout" + + + +mydoc_shuffle: + title: "Shuffle layout" + url: "../mydoc/mydoc_shuffle.html" + link: "Shuffle layout" + + + +mydoc_faq: + title: "FAQ layout" + url: "../mydoc/mydoc_faq.html" + link: "FAQ layout" + + + +mydoc_glossary: + title: "Glossary layout" + url: "../mydoc/mydoc_glossary.html" + link: "Glossary layout" + + + + + +mydoc_troubleshooting: + title: "Troubleshooting" + url: "../mydoc/mydoc_troubleshooting.html" + link: "Troubleshooting" + + + + + +mydoc_tag_archives_overview: + title: "Tag archives overview" + url: "../mydoc/mydoc_tag_archives_overview.html" + link: "Tag archives overview" + + + +tag_getting_started: + title: "Getting started pages" + url: "../mydoc/tag_getting_started.html" + link: "Getting started pages" + + +tag_formatting: + title: "Formatting pages" + url: "../mydoc/tag_formatting.html" + link: "Formatting pages" + + +tag_navigation: + title: "Navigation pages" + url: "../mydoc/tag_navigation.html" + link: "Navigation pages" + + +tag_content_types: + title: "Content types pages" + url: "../mydoc/tag_content_types.html" + link: "Content types pages" + + +tag_publishing: + title: "Publishing pages" + url: "../mydoc/tag_publishing.html" + link: "Publishing pages" + + +tag_special_layouts: + title: "Special layout pages" + url: "../mydoc/tag_special_layouts.html" + link: "Special layout pages" + + + + + + + + + + + + + + + + + +/mydoc_about: + title: "About this theme" + url: "../mydoc_about.html" + link: "About this theme" + + + +/mydoc_support: + title: "Support" + url: "../mydoc_support.html" + link: "Support" + + + + + + + + + diff --git a/_data/sidebar_doc.yml b/_data/sidebar_doc.yml deleted file mode 100644 index bd2c0af..0000000 --- a/_data/sidebar_doc.yml +++ /dev/null @@ -1,436 +0,0 @@ -# This is your sidebar TOC. The sidebar code loops through sections here and provides the appropriate formatting. - -# Sidebar -entries: -- title: Sidebar - subcategories: - - title: Frontmatter # leave this frontmatter section here for PDF outputs - audience: writers, designers - platform: all - product: all - version: all - web: false - items: - - title: Title Page - url: /titlepage.html - audience: writers, designers - platform: all - product: all - version: all - web: false - frontmatter: true - - - title: Table of Contents - url: /tocpage.html - audience: writers, designers - platform: all - product: all - version: all - web: false - frontmatter: true - - - title: Getting started - audience: writers, designers - platform: all - product: all - version: all - print: true - - items: - - - title: Introduction - url: /index.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Getting started with this theme - url: /doc_getting_started.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Setting configuration options - url: /doc_configuration_settings.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Customizing the theme - url: /doc_customizing_the_theme.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Supported features - url: /doc_supported_features.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Authoring - audience: writers, designers - platform: all - product: all - version: all - print: true - items: - - title: Pages - url: /doc_pages.html - audience: writers, designers - platform: all - product: all - version: all - - - title: WebStorm Text Editor - url: /doc_webstorm_text_editor.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Series - url: /doc_series.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Collections - url: /doc_collections.html - audience: writers, designers - platform: all - product: all - version: all - - - - title: Navigation - audience: writers, designers - platform: all - product: all - version: all - print: true - items: - - title: Sidebar navigation - url: /doc_sidebar_navigation.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Top navigation - url: /doc_top_navigation.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Tags - url: /doc_tags.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Formatting - audience: writers, designers - platform: all - product: all - version: all - print: true - items: - - title: Tooltips - url: /doc_adding_tooltips.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Alerts - url: /doc_alerts.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Icons - url: /doc_icons.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Images - url: /doc_images.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Labels - url: /doc_labels.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Links - url: /doc_hyperlinks.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Navtabs - url: /doc_navtabs.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Video embeds - url: /doc_video_embeds.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Tables - url: /doc_tables.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Syntax highlighting - url: /doc_syntax_highlighting.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Single-sourcing - audience: writers, designers - platform: all - product: all - version: all - print: true - items: - - - title: Conditional logic - url: /doc_conditional_logic.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Content reuse - url: /doc_content_reuse.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Handling reviews - audience: writers, designers - platform: all - product: all - version: all - print: true - items: - - title: Commenting on files - url: /doc_commenting_on_files.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Publishing - audience: writers, designers - platform: all - product: all - version: all - print: true - items: - - - title: Build arguments - url: /doc_build_arguments.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Themes - url: /doc_themes.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Link validation - url: /doc_link_validation.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Generating PDFs - url: /doc_generating_pdfs.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Excluding files - url: /doc_excluding_files.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Help APIs and UI tooltips - url: /doc_help_api.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Search configuration - url: /doc_search_configuration.html - audience: writers, designers - platform: all - product: all - version: all - - - title: iTerm profiles - url: /doc_iterm_profiles.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Pushing builds to server - url: /doc_push_build_to_server.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Special layouts - audience: writers, designers - platform: all - product: all - version: all - print: true - items: - - - title: Knowledge-base layout - url: /doc_kb_layout.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Scroll layout - url: /doc_scroll.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Shuffle layout - url: /doc_shuffle.html - audience: writers, designers - platform: all - product: all - version: all - - - title: FAQ layout - url: /doc_faq.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Glossary layout - url: /doc_glossary.html - audience: writers, designers - platform: all - product: all - version: all - - - title: Tag archives - audience: writers, designers - platform: all - product: all - version: all - print: true - items: - - - title: Tag archives overview - url: /tag_archives_overview.html - audience: writers, designers - platform: all - product: all - version: all - - thirdlevel: - - title: Tag archive pages - audience: writers, designers - platform: all - version: all - product: all - print: false - thirdlevelitems: - - title: Getting started pages - url: /tag-getting-started.html - audience: writers, designers - platform: all - version: all - product: all - print: false - - - title: Formatting pages - url: /tag-formatting.html - audience: writers, designers - platform: all - version: all - product: all - print: false - - - title: Navigation pages - url: /tag-navigation.html - audience: writers, designers - platform: all - version: all - product: all - print: false - - - title: Content types pages - url: /tag-content-types.html - audience: writers, designers - platform: all - version: all - product: all - print: false - - - title: Publishing pages - url: /tag-publishing.html - audience: writers, designers - platform: all - version: all - product: all - print: false - - - title: Special layout pages - url: /tag-special-layouts.html - audience: writers, designers - platform: all - version: all - product: all - print: false diff --git a/_data/strings.yml b/_data/strings.yml index df0ee61..d7c1392 100644 --- a/_data/strings.yml +++ b/_data/strings.yml @@ -3,4 +3,3 @@ # placed here for translation purposes search_placeholder_text: search... search_no_results_text: No results found. -copyright_line: "©2015 Company Name. All rights reserved." diff --git a/_data/tags_doc.yml b/_data/tags_doc.yml deleted file mode 100644 index b7bee2b..0000000 --- a/_data/tags_doc.yml +++ /dev/null @@ -1,9 +0,0 @@ -allowed-tags: - - getting-started - - content-types - - navigation - - formatting - - publishing - - single-sourcing - - special-layouts - diff --git a/_data/terms.yml b/_data/terms.yml new file mode 100644 index 0000000..1e91448 --- /dev/null +++ b/_data/terms.yml @@ -0,0 +1 @@ +apple: "apple - the fruit of a disiduous tree." \ No newline at end of file diff --git a/_data/urls.yml b/_data/urls.yml deleted file mode 100644 index 2b3c815..0000000 --- a/_data/urls.yml +++ /dev/null @@ -1,293 +0,0 @@ -end: '' - - -titlepage: - title: "Title Page" - url: "titlepage.html" - link: "Title Page" - - -tocpage: - title: "Table of Contents" - url: "tocpage.html" - link: "Table of Contents" - - - - -index: - title: "Introduction" - url: "index.html" - link: "Introduction" - - -doc_getting_started: - title: "Getting started with this theme" - url: "doc_getting_started.html" - link: "Getting started with this theme" - - -doc_configuration_settings: - title: "Setting configuration options" - url: "doc_configuration_settings.html" - link: "Setting configuration options" - - -doc_customizing_the_theme: - title: "Customizing the theme" - url: "doc_customizing_the_theme.html" - link: "Customizing the theme" - - -doc_supported_features: - title: "Supported features" - url: "doc_supported_features.html" - link: "Supported features" - - - - -doc_pages: - title: "Pages" - url: "doc_pages.html" - link: "Pages" - - -doc_webstorm_text_editor: - title: "WebStorm Text Editor" - url: "doc_webstorm_text_editor.html" - link: "WebStorm Text Editor" - - -doc_series: - title: "Series" - url: "doc_series.html" - link: "Series" - - -doc_collections: - title: "Collections" - url: "doc_collections.html" - link: "Collections" - - - - -doc_sidebar_navigation: - title: "Sidebar navigation" - url: "doc_sidebar_navigation.html" - link: "Sidebar navigation" - - -doc_top_navigation: - title: "Top navigation" - url: "doc_top_navigation.html" - link: "Top navigation" - - -doc_tags: - title: "Tags" - url: "doc_tags.html" - link: "Tags" - - - - -doc_adding_tooltips: - title: "Tooltips" - url: "doc_adding_tooltips.html" - link: "Tooltips" - - -doc_alerts: - title: "Alerts" - url: "doc_alerts.html" - link: "Alerts" - - -doc_icons: - title: "Icons" - url: "doc_icons.html" - link: "Icons" - - -doc_images: - title: "Images" - url: "doc_images.html" - link: "Images" - - -doc_labels: - title: "Labels" - url: "doc_labels.html" - link: "Labels" - - -doc_hyperlinks: - title: "Links" - url: "doc_hyperlinks.html" - link: "Links" - - -doc_navtabs: - title: "Navtabs" - url: "doc_navtabs.html" - link: "Navtabs" - - -doc_video_embeds: - title: "Video embeds" - url: "doc_video_embeds.html" - link: "Video embeds" - - -doc_tables: - title: "Tables" - url: "doc_tables.html" - link: "Tables" - - -doc_syntax_highlighting: - title: "Syntax highlighting" - url: "doc_syntax_highlighting.html" - link: "Syntax highlighting" - - - - -doc_conditional_logic: - title: "Conditional logic" - url: "doc_conditional_logic.html" - link: "Conditional logic" - - -doc_content_reuse: - title: "Content reuse" - url: "doc_content_reuse.html" - link: "Content reuse" - - - - -doc_build_arguments: - title: "Build arguments" - url: "doc_build_arguments.html" - link: "Build arguments" - - -doc_themes: - title: "Themes" - url: "doc_themes.html" - link: "Themes" - - -doc_generating_pdfs: - title: "Generating PDFs" - url: "doc_generating_pdfs.html" - link: "Generating PDFs" - - -doc_excluding_files: - title: "Exclude files" - url: "doc_excluding_files.html" - link: "Exclude files" - - -doc_help_api: - title: "Help API and UI tooltips" - url: "doc_help_api.html" - link: "Help API and UI tooltips" - - -doc_search_configuration: - title: "Search configuration" - url: "doc_search_configuration.html" - link: "Search configuration" - - -doc_iterm_profiles: - title: "iTerm profiles" - url: "doc_iterm_profiles.html" - link: "iTerm profiles" - - -doc_push_build_to_server: - title: "Pushing builds to server" - url: "doc_push_build_to_server.html" - link: "Pushing builds to server" - - - - -doc_kb_layout: - title: "Knowledge-base layout" - url: "doc_kb_layout.html" - link: "Knowledge-base layout" - - -doc_scroll: - title: "Scroll layout" - url: "doc_scroll.html" - link: "Scroll layout" - - -doc_shuffle: - title: "Shuffle layout" - url: "doc_shuffle.html" - link: "Shuffle layout" - - -doc_faq: - title: "FAQ layout" - url: "doc_faq.html" - link: "FAQ layout" - - -doc_glossary: - title: "Glossary layout" - url: "doc_glossary.html" - link: "Glossary layout" - - - - -doc_tag_archives_overview: - title: "Tag archives overview" - url: "doc_tag_archives_overview.html" - link: "Tag archives overview" - - -doc_tag-getting-started: - title: "Getting started pages" - url: "doc_tag-getting-started.html" - link: "Getting started pages" - -doc_tag-formatting: - title: "Formatting pages" - url: "doc_tag-formatting.html" - link: "Formatting pages" - -doc_tag-navigation: - title: "Navigation pages" - url: "tag-navigation.html" - link: "Navigation pages" - -doc_tag-content-types: - title: "Content types pages" - url: "tag-content-types.html" - link: "Content types pages" - -doc_tag-publishing: - title: "Publishing pages" - url: "tag-publishing.html" - link: "Publishing pages" - -doc_tag-special-layouts: - title: "Special layout pages" - url: "doc_tag-special-layouts.html" - link: "Special layout pages" - - - - - diff --git a/_drafts/_plugins/jekyll_lunr_js_search.rb b/_drafts/_plugins/jekyll_lunr_js_search.rb deleted file mode 100644 index b93f81a..0000000 --- a/_drafts/_plugins/jekyll_lunr_js_search.rb +++ /dev/null @@ -1,248 +0,0 @@ -require 'fileutils' -require 'net/http' -require 'json' -require 'uri' -require 'v8' - -module Jekyll - module LunrJsSearch - class Indexer < Jekyll::Generator - def initialize(config = {}) - super(config) - - lunr_config = { - 'excludes' => [], - 'strip_index_html' => false, - 'min_length' => 3, - 'stopwords' => 'stopwords.txt', - 'fields' => { - 'title' => 10, - 'tags' => 20, - 'body' => 1 - }, - 'js_dir' => 'js' - }.merge!(config['lunr_search'] || {}) - - @js_dir = lunr_config['js_dir'] - gem_lunr = File.join(File.dirname(__FILE__), "../../build/lunr.min.js") - @lunr_path = File.exist?(gem_lunr) ? gem_lunr : File.join(@js_dir, File.basename(gem_lunr)) - raise "Could not find #{@lunr_path}" if !File.exist?(@lunr_path) - - ctx = V8::Context.new - ctx.load(@lunr_path) - ctx['indexer'] = proc do |this| - this.ref('id') - lunr_config['fields'].each_pair do |name, boost| - this.field(name, { 'boost' => boost }) - end - end - @index = ctx.eval('lunr(indexer)') - @lunr_version = ctx.eval('lunr.version') - @docs = {} - @excludes = lunr_config['excludes'] - - # if web host supports index.html as default doc, then optionally exclude it from the url - @strip_index_html = lunr_config['strip_index_html'] - - # stop word exclusion configuration - @min_length = lunr_config['min_length'] - @stopwords_file = lunr_config['stopwords'] - end - - # Index all pages except pages matching any value in config['lunr_excludes'] or with date['exclude_from_search'] - # The main content from each page is extracted and saved to disk as json - def generate(site) - Jekyll.logger.info "Lunr:", 'Creating search index...' - - @site = site - # gather pages and posts - items = pages_to_index(site) - content_renderer = PageRenderer.new(site) - index = [] - - items.each_with_index do |item, i| - entry = SearchEntry.create(item, content_renderer) - - entry.strip_index_suffix_from_url! if @strip_index_html - entry.strip_stopwords!(stopwords, @min_length) if File.exists?(@stopwords_file) - - doc = { - "id" => i, - "title" => entry.title, - "url" => entry.url, - "date" => entry.date, - "categories" => entry.categories, - "body" => entry.body - } - @index.add(doc) - doc.delete("body") - @docs[i] = doc - - Jekyll.logger.debug "Lunr:", (entry.title ? "#{entry.title} (#{entry.url})" : entry.url) - end - - FileUtils.mkdir_p(File.join(site.dest, @js_dir)) - filename = File.join(@js_dir, 'index.json') - - total = { - "docs" => @docs, - "index" => @index.to_hash - } - - filepath = File.join(site.dest, filename) - File.open(filepath, "w") { |f| f.write(total.to_json(:max_nesting => 150)) } - Jekyll.logger.info "Lunr:", "Index ready (lunr.js v#{@lunr_version})" - added_files = [filename] - - site_js = File.join(site.dest, @js_dir) - # If we're using the gem, add the lunr and search JS files to the _site - if File.expand_path(site_js) != File.dirname(@lunr_path) - extras = Dir.glob(File.join(File.dirname(@lunr_path), "*.min.js")) - FileUtils.cp(extras, site_js) - extras.map! { |min| File.join(@js_dir, File.basename(min)) } - Jekyll.logger.debug "Lunr:", "Added JavaScript to #{@js_dir}" - added_files.push(*extras) - end - - # Keep the written files from being cleaned by Jekyll - added_files.each do |filename| - site.static_files << SearchIndexFile.new(site, site.dest, "/", filename) - end - end - - private - - # load the stopwords file - def stopwords - @stopwords ||= IO.readlines(@stopwords_file).map { |l| l.strip } - end - - def output_ext(doc) - if doc.is_a?(Jekyll::Document) - Jekyll::Renderer.new(@site, doc).output_ext - else - doc.output_ext - end - end - - def pages_to_index(site) - items = [] - - # deep copy pages - site.pages.each {|page| items << page.dup } - site.posts.each {|post| items << post.dup } - site.documents.each {|document| items << document.dup } - - # only process files that will be converted to .html and only non excluded files - items.select! {|i| output_ext(i) == '.html' && ! @excludes.any? {|s| (i.url =~ Regexp.new(s)) != nil } } - items.reject! {|i| i.data['exclude_from_search'] } - - items - end - end - end -end -require "v8" -require "json" - -class V8::Object - def to_json - @context['JSON']['stringify'].call(self) - end - - def to_hash - JSON.parse(to_json, :max_nesting => 150) - end -end -require 'nokogiri' - -module Jekyll - module LunrJsSearch - class PageRenderer - def initialize(site) - @site = site - end - - def prepare(item) - if item.is_a?(Jekyll::Document) - Jekyll::Renderer.new(@site, item).run - else - item.data = item.data.dup - item.data.delete("layout") - item.render({}, @site.site_payload) - item.output - end - end - - # render the item, parse the output and get all text inside

elements - def render(item) - item.render(@site.layouts, @site.site_payload) - doc = Nokogiri::HTML(item.output) - article = doc.search('article').map {|t| t.content } - article.join(" ").gsub("\r", " ").gsub("\n", " ").gsub("\t", " ").gsub(/\s+/, " ").split.join(" ") - end - end - end -end -require 'nokogiri' - -module Jekyll - module LunrJsSearch - class SearchEntry - def self.create(page_or_post, renderer) - case page_or_post - when Jekyll::Post - date = page_or_post.date - categories = page_or_post.categories - when Jekyll::Page, Jekyll::Document - date = nil - categories = [] - else - raise 'Not supported' - end - title, url = extract_title_and_url(page_or_post) - body = renderer.render(page_or_post) - - SearchEntry.new(title, url, date, categories, body, renderer) - end - - def self.extract_title_and_url(item) - data = item.to_liquid - [ data['title'], data['url'] ] - end - - attr_reader :title, :url, :date, :categories, :body, :collection - - def initialize(title, url, date, categories, body, collection) - @title, @url, @date, @categories, @body, @collection = title, url, date, categories, body, collection - end - - def strip_index_suffix_from_url! - @url.gsub!(/index\.html$/, '') - end - - # remove anything that is in the stop words list from the text to be indexed - def strip_stopwords!(stopwords, min_length) - @body = @body.split.delete_if() do |x| - t = x.downcase.gsub(/[^a-z]/, '') - t.length < min_length || stopwords.include?(t) - end.join(' ') - end - end - end -end -module Jekyll - module LunrJsSearch - class SearchIndexFile < Jekyll::StaticFile - # Override write as the index.json index file has already been created - def write(dest) - true - end - end - end -end -module Jekyll - module LunrJsSearch - VERSION = "0.3.0" - end -end diff --git a/_drafts/doc_gitcommands.md b/_drafts/doc_gitcommands.md deleted file mode 100644 index baa44d0..0000000 --- a/_drafts/doc_gitcommands.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Common Git Commands -tags: [publishing] -keywords: git, revision control, github, version control -audience: writers, designers -last_updated: May 13, 2015 -summary: "These are some sample Git commands." ---- - -When you're interacting with Github, it's helpful to know a few basic Git commands... \ No newline at end of file diff --git a/_drafts/search.html b/_drafts/search.html deleted file mode 100644 index bb44166..0000000 --- a/_drafts/search.html +++ /dev/null @@ -1,55 +0,0 @@ ---- ---- - - - -

-
-

Search

-
- -
- - - - - {% raw %} - - {% endraw %} - - - - - -
-
\ No newline at end of file diff --git a/_includes/custom/conditions.html b/_includes/custom/conditions.html index 5e19abb..b7add78 100644 --- a/_includes/custom/conditions.html +++ b/_includes/custom/conditions.html @@ -1,23 +1,42 @@ -{% if site.project == "doc_writers" %} + +{% comment %} +__ __ _ _ +\ \ / / __(_) |_ ___ _ __ ___ + \ \ /\ / / '__| | __/ _ \ '__/ __| + \ V V /| | | | || __/ | \__ \ + \_/\_/ |_| |_|\__\___|_| |___/ +{% endcomment %} + +{% if site.project == "mydoc_writers" %} {% assign audience = "writers" %} -{% assign sidebar = site.data.sidebar_doc.entries %} -{% assign topnav = site.data.topnav_doc.topnav %} -{% assign topnav_dropdowns = site.data.topnav_doc.topnav_dropdowns %} +{% assign sidebar = site.data.mydoc.mydoc_sidebar.entries %} +{% assign topnav = site.data.mydoc.mydoc_topnav.topnav %} +{% assign topnav_dropdowns = site.data.mydoc.mydoc_topnav.topnav_dropdowns %} {% assign version = "all" %} {% assign product = "all" %} {% assign platform = "all" %} -{% assign link = "custom/doc/links_doc.html" %} -{% assign projectTags = site.data.tags_doc.allowed-tags %} +{% assign projectTags = site.data.mydoc.mydoc_tags.allowed-tags %} +{% assign projectFolder = "mydoc" %} {% endif %} -{% if site.project == "doc_designers" %} + +{% comment %} +____ _ +| _ \ ___ ___(_) __ _ _ __ ___ _ __ ___ +| | | |/ _ \/ __| |/ _` | '_ \ / _ \ '__/ __| +| |_| | __/\__ \ | (_| | | | | __/ | \__ \ +|____/ \___||___/_|\__, |_| |_|\___|_| |___/ + |___/ +{% endcomment %} + +{% if site.project == "mydoc_designers" %} {% assign audience = "designers" %} -{% assign sidebar = site.data.sidebar_doc.entries %} -{% assign topnav = site.data.topnav_doc.topnav %} -{% assign topnav_dropdowns = site.data.topnav_doc.topnav_dropdowns %} +{% assign sidebar = site.data.mydoc.mydoc_sidebar.entries %} +{% assign topnav = site.data.mydoc.mydoc_topnav.topnav %} +{% assign topnav_dropdowns = site.data.mydoc.mydoc_topnav.topnav_dropdowns %} {% assign version = "all" %} {% assign product = "all" %} {% assign platform = "all" %} -{% assign link = "custom/doc/links_doc.html" %} -{% assign projectTags = site.data.tags_doc.allowed-tags %} -{% endif %} +{% assign projectTags = site.data.mydoc.mydoc_tags.allowed-tags %} +{% assign projectFolder = "mydoc" %} +{% endif %} \ No newline at end of file diff --git a/_includes/custom/doc/customMenu.html b/_includes/custom/mydoc/custom_menu.html similarity index 72% rename from _includes/custom/doc/customMenu.html rename to _includes/custom/mydoc/custom_menu.html index 19921bb..bbef27a 100644 --- a/_includes/custom/doc/customMenu.html +++ b/_includes/custom/mydoc/custom_menu.html @@ -3,9 +3,9 @@ diff --git a/_includes/custom/mydoc/getting_started_series.html b/_includes/custom/mydoc/getting_started_series.html new file mode 100644 index 0000000..464479f --- /dev/null +++ b/_includes/custom/mydoc/getting_started_series.html @@ -0,0 +1,19 @@ +
+
+ + +
+
\ No newline at end of file diff --git a/_includes/custom/mydoc/getting_started_series_next.html b/_includes/custom/mydoc/getting_started_series_next.html new file mode 100644 index 0000000..0a7bbd9 --- /dev/null +++ b/_includes/custom/mydoc/getting_started_series_next.html @@ -0,0 +1,11 @@ + +

{% assign series_pages = site.tags.series_acme %} + {% for p in pages %} + {% if p.series == "Getting Started" %} + {% assign nextTopic = page.weight | plus: "1" %} + {% if p.weight == nextTopic %} + + {% endif %} + {% endif %} + {% endfor %} +

\ No newline at end of file diff --git a/_includes/custom/doc/series_acme.html b/_includes/custom/mydoc/series_acme.html similarity index 88% rename from _includes/custom/doc/series_acme.html rename to _includes/custom/mydoc/series_acme.html index 089fc8d..6b51f6f 100644 --- a/_includes/custom/doc/series_acme.html +++ b/_includes/custom/mydoc/series_acme.html @@ -9,7 +9,7 @@
  • → {{p.weight}}. {{p.title}}
  • {% else %}
  • - {{p.weight}}. {{p.title}} + {{p.weight}}. {{p.title}}
  • {% endif %} {% endif %} diff --git a/_includes/custom/doc/series_acme_next.html b/_includes/custom/mydoc/series_acme_next.html similarity index 66% rename from _includes/custom/doc/series_acme_next.html rename to _includes/custom/mydoc/series_acme_next.html index 5cc60f7..a51e50f 100644 --- a/_includes/custom/doc/series_acme_next.html +++ b/_includes/custom/mydoc/series_acme_next.html @@ -3,7 +3,7 @@ {% if p.series == "ACME series" %} {% assign nextTopic = page.weight | plus: "0.1" %} {% if p.weight == nextTopic %} - + {% endif %} {% endif %} {% endfor %} diff --git a/_includes/footer.html b/_includes/footer.html index cce844e..fdc2659 100755 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,9 +1,9 @@