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/bugify.html | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 _includes/bugify.html (limited to '_includes/bugify.html') diff --git a/_includes/bugify.html b/_includes/bugify.html deleted file mode 100644 index 6a02bd23e..000000000 --- a/_includes/bugify.html +++ /dev/null @@ -1,42 +0,0 @@ -{%- comment -%} -Usage: {% include bugify.html content=text %}, -where content is a string that contains a bug reference name and id. -e.g. Bootstrap#19984 -{%- endcomment -%} - -{%- assign words = include.content | split: " " -%} - -{%- for word in words -%} - {% if word contains "#" %} - {% if word contains "," %}{% assign separator = true %}{% else %}{% assign separator = false %}{% endif %} - {%- assign data = word | split: "#" -%} - {%- assign bug_cat = data[0] | strip_newlines -%} - {%- assign bug_id = data[1] | strip_newlines | remove: "," -%} - - {%- case bug_cat -%} - {%- when "Bootstrap" -%} - #{{ bug_id }} - {%- when "Edge" -%} - Edge issue #{{ bug_id }} - {%- when "A11yUserVoice" -%} - Microsoft A11y UserVoice idea #{{ bug_id }} - {%- when "UserVoice" -%} - Edge UserVoice idea #{{ bug_id }} - {%- when "Mozilla" -%} - Mozilla bug #{{ bug_id }} - {%- when "Chromium" -%} - Chromium issue #{{ bug_id }} - {%- when "WebKit" -%} - WebKit bug #{{ bug_id }} - {%- when "Safari" -%} - Apple Safari Radar #{{ bug_id }} - {%- when "Normalize" -%} - Normalize #{{ bug_id }} - {%- else -%} - parse error - {%- endcase -%}{% if separator %}, {% endif %} - - {% else %} - {{ word }} - {%- endif -%} -{%- endfor -%} -- cgit v1.2.3