From 6b77aee21418a1c70a2307996e5cdf9fe88e3efd Mon Sep 17 00:00:00 2001 From: Brian Macdonald Date: Tue, 10 Apr 2018 16:48:04 -0400 Subject: [PATCH] Allow setting config URL with (#1146) * fix: allows for valid config types expansion * feat: config url can now come through link tag * fix: lints added coded * fix: slims down code per review * fix: expands query to find supported type * fix: removes typo in test copy * fix: changes validTypes to object * fix: groups config functions into one getConfig func * adds console message for config url * adds to docs * update docs * fix test * fix merge conflicts contributor addition moved to #1241 * avoids empty path with link without href. changes link console message * removes additional console * fixes link path in console * fix: remove superfluous .allcontributorsrc change --- example/index.html | 9 +++++++++ src/actions/config.js | 18 ++++++++++++++++-- .../site/content/docs/configuration-options.md | 8 ++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/example/index.html b/example/index.html index 1be36224..ce8f6c4c 100644 --- a/example/index.html +++ b/example/index.html @@ -7,6 +7,15 @@ + + +