From 0e920ce3f481a23c00c22c10565463ce58c0aac2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 21 Jun 2018 07:31:38 +0300 Subject: Reorganize docs for easier deploys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager. --- _includes/example.html | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 _includes/example.html (limited to '_includes/example.html') diff --git a/_includes/example.html b/_includes/example.html deleted file mode 100644 index 24d12626b..000000000 --- a/_includes/example.html +++ /dev/null @@ -1,23 +0,0 @@ -{%- comment -%} -Usage: {% include example.html content=markup %}, -where content is a capture with the HTML content -id - null (default) -class - "bd-example" (default) -optional: hide_preview - disabled (default) -optional: hide_markup - disabled (default) -{%- endcomment -%} - -{%- assign preview_id = include.id -%} -{%- assign preview_class = include.class -%} - -{%- if include.hide_preview == null -%} - - {{- include.content -}} - -{%- endif -%} - -{%- if include.hide_markup == null -%} - {%- highlight html -%} - {{- include.content | replace: 'data-src="holder.js', 'src="...' -}} - {%- endhighlight -%} -{%- endif -%} -- cgit v1.2.3