From 5ed3e329e4e04e909a8ceae1a9273550d1c33f2b Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 9 Mar 2020 12:31:42 -0400 Subject: [PATCH] Remove deprecated Staticman v1 config Close #2386 --- _config.yml | 20 +++----------------- docs/_config.yml | 17 ----------------- test/_config.yml | 20 +++----------------- 3 files changed, 6 insertions(+), 51 deletions(-) diff --git a/_config.yml b/_config.yml index 6aa9d9cccd6f..db2458e235f7 100644 --- a/_config.yml +++ b/_config.yml @@ -43,23 +43,9 @@ comments: utterances: theme : # "github-light" (default), "github-dark" issue_term : # "pathname" (default) -staticman: - allowedFields : # ['name', 'email', 'url', 'message'] - branch : # "master" - commitMessage : # "New comment by {fields.name}" - filename : # comment-{@timestamp} - format : # "yml" - moderation : # true - path : # "/_data/comments/{options.slug}" (default) - requiredFields : # ['name', 'email', 'message'] - transforms: - email : # "md5" - generatedFields: - date: - type : # "date" - options: - format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds" - endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance + staticman: + branch : # "master" + endpoint : # "https://{your Staticman v3 API}/v3/entry/github/" reCaptcha: siteKey : secret : diff --git a/docs/_config.yml b/docs/_config.yml index e9b03683b7e6..1ba5b7995989 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -38,23 +38,6 @@ comments: utterances: theme : # "github-light" (default), "github-dark" issue_term : # "pathname" (default) -staticman: - allowedFields : # ['name', 'email', 'url', 'message'] - branch : # "master" - commitMessage : # "New comment by {fields.name}" - filename : # comment-{@timestamp} - format : # "yml" - moderation : # true - path : # "_data/comments/{options.slug}" - requiredFields : # ['name', 'email', 'message'] - transforms: - email : # "md5" - generatedFields: - date: - type : # "date" - options: - format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds" - endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance reCaptcha: siteKey : # "6LdRBykTAAAAAFB46MnIu6ixuxwu9W1ihFF8G60Q" secret : # "PznnZGu3P6eTHRPLORniSq+J61YEf+A9zmColXDM5icqF49gbunH51B8+h+i2IvewpuxtA9TFoK68TuhUp/X3YKmmqhXasegHYabY50fqF9nJh9npWNhvITdkQHeaOqnFXUIwxfiEeUt49Yoa2waRR7a5LdRAP3SVM8hz0KIBT4=" diff --git a/test/_config.yml b/test/_config.yml index 956a6ce9b4cf..44515b53992c 100644 --- a/test/_config.yml +++ b/test/_config.yml @@ -37,23 +37,9 @@ comments: utterances: theme : # "github-light" (default), "github-dark" issue_term : # "pathname" (default) -staticman: - allowedFields : ['name', 'email', 'url', 'message'] - branch : # "master", "gh-pages" - commitMessage : "New comment by {fields.name}" - filename : comment-{@timestamp} - format : "yml" - moderation : true - path : "_data/comments/{options.slug}" - requiredFields : ['name', 'email', 'message'] - transforms: - email : "md5" - generatedFields: - date: - type : "date" - options: - format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds" - endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance + staticman: + branch : # "master" + endpoint : # "https://{your Staticman v3 API}/v3/entry/github/" atom_feed: path : # blank (default) uses feed.xml search : true # true, false (default)