From cab6f7d16ca64dfcb0de002940d085c8cfe8b304 Mon Sep 17 00:00:00 2001 From: Bardi Harborow Date: Tue, 21 Mar 2017 18:18:11 +1100 Subject: More config tweaks. --- docs/.htmllintrc | 2 +- docs/_includes/footer.html | 7 ++++--- docs/_plugins/bridge.rb | 10 ---------- 3 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 docs/_plugins/bridge.rb (limited to 'docs') diff --git a/docs/.htmllintrc b/docs/.htmllintrc index 2a6bb58d6..e15284536 100644 --- a/docs/.htmllintrc +++ b/docs/.htmllintrc @@ -5,7 +5,7 @@ "class-style": "dash", "doctype-first": true, "doctype-html5": true, - "fig-req-figcaption": true, + "fig-req-figcaption": false, "html-valid-content-model": false, "id-class-ignore-regex": "(onclick|content|[a-z]+([A-Z][a-z])+)", "id-class-style": "dash", diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 68626962f..b8603f0d7 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -25,9 +25,10 @@ {% if site.github %} {% else %} - {% for file in site.data.configBridge.paths.docsJs %} - - {% endfor %} + + + + {% endif %} diff --git a/docs/_plugins/bridge.rb b/docs/_plugins/bridge.rb deleted file mode 100644 index 69a13fbbb..000000000 --- a/docs/_plugins/bridge.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'yaml' - -module Bridge - class Generator < Jekyll::Generator - def generate(site) - path = File.join(site.source, "../grunt/configBridge.json") - site.data["configBridge"] = YAML.load_file(path) - end - end -end -- cgit v1.2.3