From a53eb1adf81baf673c97a806578dd85f3a8f47c5 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sun, 5 Aug 2018 07:01:49 +0200
Subject: [PATCH] refactor: expose endpoints configuration object

---
 lib/config/definitions.js                 | 7 +++++++
 website/docs/self-hosted-configuration.md | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index ee25fbd8b8..940fe03d1f 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -1134,6 +1134,13 @@ const options = [
     type: 'boolean',
     default: true,
   },
+  {
+    name: 'endpoints',
+    description: 'Endpoint configuration for credentials',
+    type: 'list',
+    stage: 'global',
+    mergeable: true,
+  },
 ];
 
 function getOptions() {
diff --git a/website/docs/self-hosted-configuration.md b/website/docs/self-hosted-configuration.md
index 263bb33251..3bff65826f 100644
--- a/website/docs/self-hosted-configuration.md
+++ b/website/docs/self-hosted-configuration.md
@@ -13,6 +13,8 @@ Be cautious when using this option - it will run Renovate over _every_ repositor
 
 ## endpoint
 
+## endpoints
+
 ## exposeEnv
 
 ## force
-- 
GitLab