diff --git a/algolia_search.json b/algolia_search.json new file mode 100644 index 0000000..d5249a2 --- /dev/null +++ b/algolia_search.json @@ -0,0 +1,20 @@ +--- +title: search +layout: none +search: exclude +--- + +{ +{% for post in site.pages %} +{% unless page.search == "exclude" %} +"{{ post.url | slugify }}": { +"title": "{{ post.title | xml_escape }}", +"url": " {{ post.url | xml_escape | prepend: '..'}}", +"summary": {{post.summary}}, +"body": {{post.content}}, +"tags": "{{ post.tags | xml_escape }}" +} +{% endunless %} +{% unless forloop.last %},{% endunless %} +{% endfor %} +} \ No newline at end of file diff --git a/configs/mydoc/config_designers.yml b/configs/mydoc/config_designers.yml index c240ab9..52f562d 100644 --- a/configs/mydoc/config_designers.yml +++ b/configs/mydoc/config_designers.yml @@ -16,10 +16,6 @@ github_editme_path: tomjohnson1492/documentation-theme-jekyll/edit/reviews disqus_shortname: idrbwjekyll # variables -markdown: kramdown -kramdown: - auto_ids: true - sidebar_tagline: Designers sidebar_version: Version 4.0 @@ -46,6 +42,9 @@ host: 127.0.0.1 feedback_email: tomjohnson1492@gmail.com highlighter: rouge +markdown: kramdown +kramdown: + auto_ids: true collections: tooltips: diff --git a/configs/mydoc/config_writers.yml b/configs/mydoc/config_writers.yml index adb7bdf..c371ea5 100644 --- a/configs/mydoc/config_writers.yml +++ b/configs/mydoc/config_writers.yml @@ -16,23 +16,6 @@ github_editme_path: tomjohnson1492/documentation-theme-jekyll/edit/reviews disqus_shortname: idrbwjekyll # variables -markdown: kramdown -kramdown: - auto_ids: true - footnote_nr: 1 - entity_output: as_char - toc_levels: 1..6 - smart_quotes: lsquo,rsquo,ldquo,rdquo - enable_coderay: false - - coderay: - coderay_wrap: div - coderay_line_numbers: inline - coderay_line_number_start: 1 - coderay_tab_width: 4 - coderay_bold_every: 10 - coderay_css: style - sidebar_tagline: Designers sidebar_version: Version 4.0 theme_file: theme-blue.css @@ -58,6 +41,9 @@ host: 127.0.0.1 feedback_email: tomjohnson1492@gmail.com highlighter: rouge +markdown: kramdown +kramdown: + auto_ids: true collections: tooltips: