Skip to content

Commit

Permalink
Drop logLevel from documented configuration options
Browse files Browse the repository at this point in the history
  • Loading branch information
datakurre committed Oct 21, 2019
1 parent f9d78b5 commit f05c778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demo/fixture/reference/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"table_of_contents": null,
"text": {
"content-type": "text/html",
"data": "<p>This Plugin provide some options so that you can add more feature to your website.</p>\n<h1 id=\"plugin-options\">Plugin options</h1>\n<table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>baseURl</td>\n<td>Points to your Plone CMS Url.</td>\n</tr>\n<tr>\n<td>token</td>\n<td>Your Plone CMS authentication token. Helps you to get private scope data.</td>\n</tr>\n<tr>\n<td>logLevel</td>\n<td>It will provide you additional logging from the plugin. which helps you in debugging your source code.</td>\n</tr>\n<tr>\n<td>websocketUpdates</td>\n<td>You can set websocketUpdates as true and false. If you pass true then it will provide you instant updates to your website when you make any change in data set on Plone CMS.</td>\n</tr>\n</tbody></table>\n<h1 id=\"how-to-use\">How to use</h1>\n<pre><code class=\"language-Javascript\"> plugins: [\n {\n resolve: 'gatsby-source-plone',\n options: {\n baseUrl: 'http://localhost:8080/Plone/',\n token: process.env.TOKEN,\n logLevel: 'DEBUG',\n websocketUpdates: true || false,\n },\n },\n ]</code></pre>",
"data": "<p>This Plugin provide some options so that you can add more feature to your website.</p>\n<h1 id=\"plugin-options\">Plugin options</h1>\n<table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>baseURl</td>\n<td>Points to your Plone CMS Url.</td>\n</tr>\n<tr>\n<td>token</td>\n<td>Your Plone CMS authentication token. Helps you to get private scope data.</td>\n</tr>\n<tr>\n<td>websocketUpdates</td>\n<td>You can set websocketUpdates as true and false. If you pass true then it will provide you instant updates to your website when you make any change in data set on Plone CMS.</td>\n</tr>\n</tbody></table>\n<h1 id=\"how-to-use\">How to use</h1>\n<pre><code class=\"language-Javascript\"> plugins: [\n {\n resolve: 'gatsby-source-plone',\n options: {\n baseUrl: 'http://localhost:8080/Plone/',\n token: process.env.TOKEN,\n websocketUpdates: true || false,\n },\n },\n ]</code></pre>",
"encoding": "utf-8"
},
"title": "Configuration of gatsby-source-plone",
Expand Down
4 changes: 1 addition & 3 deletions docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This Plugin provide some options so that you can add more feature to your websit
|---| --- |
| baseURl | Points to your Plone CMS Url. |
| token | Your Plone CMS authentication token. Helps you to get private scope data. |
| logLevel| It will provide you additional logging from the plugin. which helps you in debugging your source code. |
| websocketUpdates | You can set websocketUpdates as true and false. If you pass true then it will provide you instant updates to your website when you make any change in data set on Plone CMS.

# How to use
Expand All @@ -18,9 +17,8 @@ This Plugin provide some options so that you can add more feature to your websit
options: {
baseUrl: 'http://localhost:8080/Plone/',
token: process.env.TOKEN,
logLevel: 'DEBUG',
websocketUpdates: true || false,
},
},
]
```
```

0 comments on commit f05c778

Please sign in to comment.