I changed the way I create links to use references to a data YML file instead of relying on the capture tag and including reference to the file with the captions. Using the capture tag was highly susceptible to broken links and way too manual. See the Links topic for more detail about the new method.

This commit is contained in:
Tom Johnson
2015-09-13 16:33:16 -07:00
parent a24859dc66
commit 445b1d1f44
59 changed files with 14296 additions and 14054 deletions

15
_data/alerts.yml Normal file
View File

@ -0,0 +1,15 @@
tip: '<div class="alert alert-success" role="alert"><i class="fa fa-check-square-o"></i> <b>Tip: </b>'
note: '<div class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note: </b>'
important: '<div class="alert alert-warning" role="alert"><i class="fa fa-warning"></i> <b>Important: </b>'
warning: '<div class="alert alert-danger" role="alert"><i class="fa fa-exclamation-circle"></i> <b>Warning: </b>'
end: '</div>'
callout_danger: '<div class="bs-callout bs-callout-danger">'
callout_default: '<div class="bs-callout bs-callout-default">'
callout_primary: '<div class="bs-callout bs-callout-primary">'
callout_success: '<div class="bs-callout bs-callout-success">'
callout_info: '<div class="bs-callout bs-callout-info">'
callout_warning: '<div class="bs-callout bs-callout-warning">'
hr_faded: '<hr class="faded"/>'
hr_shaded: '<hr class="shaded"/>'

View File

@ -35,6 +35,7 @@ entries:
print: true
items:
- title: Introduction
url: /index.html
audience: writers, designers
@ -70,7 +71,6 @@ entries:
product: all
version: all
- title: Authoring
audience: writers, designers
platform: all

308
_data/urls.yml Normal file
View File

@ -0,0 +1,308 @@
titlepage:
title: "Title Page"
url: "titlepage.html"
link: "<a href='titlepage.html'>Title Page</a>"
tocpage:
title: "Table of Contents"
url: "tocpage.html"
link: "<a href='tocpage.html'>Table of Contents</a>"
index:
title: "Introduction"
url: "index.html"
link: "<a href='index.html'>Introduction</a>"
doc_getting_started:
title: "Getting started with this theme"
url: "doc_getting_started.html"
link: "<a href='doc_getting_started.html'>Getting started with this theme</a>"
doc_configuration_settings:
title: "Setting configuration options"
url: "doc_configuration_settings.html"
link: "<a href='doc_configuration_settings.html'>Setting configuration options</a>"
doc_customizing_the_theme:
title: "Customizing the theme"
url: "doc_customizing_the_theme.html"
link: "<a href='doc_customizing_the_theme.html'>Customizing the theme</a>"
doc_supported_features:
title: "Supported features"
url: "doc_supported_features.html"
link: "<a href='doc_supported_features.html'>Supported features</a>"
doc_pages:
title: "Pages"
url: "doc_pages.html"
link: "<a href='doc_pages.html'>Pages</a>"
doc_webstorm_text_editor:
title: "WebStorm Text Editor"
url: "doc_webstorm_text_editor.html"
link: "<a href='doc_webstorm_text_editor.html'>WebStorm Text Editor</a>"
doc_series:
title: "Series"
url: "doc_series.html"
link: "<a href='doc_series.html'>Series</a>"
doc_collections:
title: "Collections"
url: "doc_collections.html"
link: "<a href='doc_collections.html'>Collections</a>"
doc_sidebar_navigation:
title: "Sidebar navigation"
url: "doc_sidebar_navigation.html"
link: "<a href='doc_sidebar_navigation.html'>Sidebar navigation</a>"
doc_top_navigation:
title: "Top navigation"
url: "doc_top_navigation.html"
link: "<a href='doc_top_navigation.html'>Top navigation</a>"
doc_tags:
title: "Tags"
url: "doc_tags.html"
link: "<a href='doc_tags.html'>Tags</a>"
doc_adding_tooltips:
title: "Tooltips"
url: "doc_adding_tooltips.html"
link: "<a href='doc_adding_tooltips.html'>Tooltips</a>"
doc_alerts:
title: "Alerts"
url: "doc_alerts.html"
link: "<a href='doc_alerts.html'>Alerts</a>"
doc_icons:
title: "Icons"
url: "doc_icons.html"
link: "<a href='doc_icons.html'>Icons</a>"
doc_images:
title: "Images"
url: "doc_images.html"
link: "<a href='doc_images.html'>Images</a>"
doc_labels:
title: "Labels"
url: "doc_labels.html"
link: "<a href='doc_labels.html'>Labels</a>"
doc_hyperlinks:
title: "Links"
url: "doc_hyperlinks.html"
link: "<a href='doc_hyperlinks.html'>Links</a>"
doc_navtabs:
title: "Navtabs"
url: "doc_navtabs.html"
link: "<a href='doc_navtabs.html'>Navtabs</a>"
doc_video_embeds:
title: "Video embeds"
url: "doc_video_embeds.html"
link: "<a href='doc_video_embeds.html'>Video embeds</a>"
doc_tables:
title: "Tables"
url: "doc_tables.html"
link: "<a href='doc_tables.html'>Tables</a>"
doc_syntax_highlighting:
title: "Syntax highlighting"
url: "doc_syntax_highlighting.html"
link: "<a href='doc_syntax_highlighting.html'>Syntax highlighting</a>"
doc_conditional_logic:
title: "Conditional logic"
url: "doc_conditional_logic.html"
link: "<a href='doc_conditional_logic.html'>Conditional logic</a>"
doc_content_reuse:
title: "Content reuse"
url: "doc_content_reuse.html"
link: "<a href='doc_content_reuse.html'>Content reuse</a>"
doc_build_arguments:
title: "Build arguments"
url: "doc_build_arguments.html"
link: "<a href='doc_build_arguments.html'>Build arguments</a>"
doc_themes:
title: "Themes"
url: "doc_themes.html"
link: "<a href='doc_themes.html'>Themes</a>"
doc_generating_pdfs:
title: "Generating PDFs"
url: "doc_generating_pdfs.html"
link: "<a href='doc_generating_pdfs.html'>Generating PDFs</a>"
doc_excluding_files:
title: "Exclude files"
url: "doc_excluding_files.html"
link: "<a href='doc_excluding_files.html'>Exclude files</a>"
doc_help_api:
title: "Help API and UI tooltips"
url: "doc_help_api.html"
link: "<a href='doc_help_api.html'>Help API and UI tooltips</a>"
doc_search_configuration:
title: "Search configuration"
url: "doc_search_configuration.html"
link: "<a href='doc_search_configuration.html'>Search configuration</a>"
doc_iterm_profiles:
title: "iTerm profiles"
url: "doc_iterm_profiles.html"
link: "<a href='doc_iterm_profiles.html'>iTerm profiles</a>"
doc_push_build_to_server:
title: "Pushing builds to server"
url: "doc_push_build_to_server.html"
link: "<a href='doc_push_build_to_server.html'>Pushing builds to server</a>"
doc_kb_layout:
title: "Knowledge-base layout"
url: "doc_kb_layout.html"
link: "<a href='doc_kb_layout.html'>Knowledge-base layout</a>"
doc_scroll:
title: "Scroll layout"
url: "doc_scroll.html"
link: "<a href='doc_scroll.html'>Scroll layout</a>"
doc_shuffle:
title: "Shuffle layout"
url: "doc_shuffle.html"
link: "<a href='doc_shuffle.html'>Shuffle layout</a>"
doc_faq:
title: "FAQ layout"
url: "doc_faq.html"
link: "<a href='doc_faq.html'>FAQ layout</a>"
doc_glossary:
title: "Glossary layout"
url: "doc_glossary.html"
link: "<a href='doc_glossary.html'>Glossary layout</a>"
doc_tag_archives_overview:
title: "Tag archives overview"
url: "doc_tag_archives_overview.html"
link: "<a href='doc_tag_archives_overview.html'>Tag archives overview</a>"
doc_tag-getting-started:
title: "Getting started pages"
url: "doc_tag-getting-started.html"
link: "<a href='doc_tag-getting-started.html'>Getting started pages</a>"
doc_tag-formatting:
title: "Formatting pages"
url: "doc_tag-formatting.html"
link: "<a href='doc_tag-formatting.html'>Formatting pages</a>"
doc_tag-navigation:
title: "Navigation pages"
url: "doc_tag-navigation.html"
link: "<a href='doc_tag-navigation.html'>Navigation pages</a>"
doc_tag-content-types:
title: "Content types pages"
url: "doc_tag-content-types.html"
link: "<a href='doc_tag-content-types.html'>Content types pages</a>"
doc_tag-publishing:
title: "Publishing pages"
url: "doc_tag-publishing.html"
link: "<a href='doc_tag-publishing.html'>Publishing pages</a>"
doc_tag-special-layouts:
title: "Special layout pages"
url: "doc_tag-special-layouts.html"
link: "<a href='doc_tag-special-layouts.html'>Special layout pages</a>"