From 9d01fc04bd3842248fb3339be377c3678a351e86 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Tue, 31 Jul 2018 11:10:15 -0700 Subject: [PATCH] Add default value for TravisCI org/com config --- _site/content/posts/modules/travisci.md | 2 +- docs/index.xml | 2 +- docs/posts/index.xml | 2 +- docs/posts/modules/travisci/index.html | 5 +++++ travisci/client.go | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/_site/content/posts/modules/travisci.md b/_site/content/posts/modules/travisci.md index f0a267a8..dcb5eebf 100644 --- a/_site/content/posts/modules/travisci.md +++ b/_site/content/posts/modules/travisci.md @@ -35,8 +35,8 @@ travisci: left: 1 height: 1 width: 2 - refreshInterval: 900 pro: false + refreshInterval: 900 ``` ### Attributes diff --git a/docs/index.xml b/docs/index.xml index 5c524cdc..5a8d124a 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -37,7 +37,7 @@ Key: ↓ Action: Scroll down the list. Displays build information for your Travis CI account. Source Code wtf/travisci/ Required ENV Variables Key: WTF_TRAVIS_API_TOKEN Value: Your Travis CI API access token. Keyboard Commands None. -Configuration travisci:enabled:trueposition:top:4left:1height:1width:2refreshInterval:900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. +Configuration travisci:enabled:trueposition:top:4left:1height:1width:2pro:falserefreshInterval:900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. position Defines where in the grid this module’s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 7600a594..1f86265b 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -37,7 +37,7 @@ Key: ↓ Action: Scroll down the list. Displays build information for your Travis CI account. Source Code wtf/travisci/ Required ENV Variables Key: WTF_TRAVIS_API_TOKEN Value: Your Travis CI API access token. Keyboard Commands None. -Configuration travisci:enabled:trueposition:top:4left:1height:1width:2refreshInterval:900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. +Configuration travisci:enabled:trueposition:top:4left:1height:1width:2pro:falserefreshInterval:900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. position Defines where in the grid this module’s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. diff --git a/docs/posts/modules/travisci/index.html b/docs/posts/modules/travisci/index.html index 9aa45fe2..cf28640f 100644 --- a/docs/posts/modules/travisci/index.html +++ b/docs/posts/modules/travisci/index.html @@ -162,6 +162,7 @@ height="0" width="0" style="display:none;visibility:hidden"> left: 1 height: 1 width: 2 + pro: false refreshInterval: 900

Attributes

@@ -176,6 +177,10 @@ Defines where in the grid this module’s widget will be displayed.
Values: A positive integer, 0..n.

+

pro
+Determines whether or not this module will use the Pro version of Travis CI.
+Values: true, false.

+