summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-17 21:36:28 +0000
committerGerrit Code Review <review@openstack.org>2017-07-17 21:36:28 +0000
commitfd2a777b03f2ef6dd3753e9f7619adc7f90e4f4e (patch)
treedf6406eb56f396e2805641885a4232fd704ae41b
parent67e00591100317c003222d480880545043e08712 (diff)
parent9fc60292c0f1e89d9da9a2d9ec0fb38a8472066a (diff)
downloadpycadf-fd2a777b03f2ef6dd3753e9f7619adc7f90e4f4e.tar.gz
Merge "Turn on warning-is-error for sphinx build"
-rw-r--r--doc/source/event_concept.rst16
-rw-r--r--setup.cfg1
2 files changed, 9 insertions, 8 deletions
diff --git a/doc/source/event_concept.rst b/doc/source/event_concept.rst
index 3e77ce5..df07eef 100644
--- a/doc/source/event_concept.rst
+++ b/doc/source/event_concept.rst
@@ -89,7 +89,7 @@ details):
"eventTime": "2014-02-27T19:29:30.855665+0000",
"target": {
"typeURI": "service/compute/node",
- # optional Endpoints to describe compute node,
+ // optional Endpoints to describe compute node,
"addresses": [
{
"url": "http://9.26.26.250:8774/v2/e7e2bcc9c0df4f3eabcd412ae62503f6",
@@ -108,9 +108,9 @@ details):
"name": "nova"
},
"observer": {
- "id": "target" # shortform to show Observer Resource is the same as Target,
+ "id": "target" // shortform to show Observer Resource is the same as Target,
},
- # tags use to query events on,
+ // tags use to query events on,
"tags": [
"correlation_id?value=56cdde6f-6b4e-48a4-94e6-defb40522fb2"
],
@@ -118,12 +118,12 @@ details):
"initiator": {
"typeURI": "data/security/account/user",
"name": "admin",
- # optional Credential to describe resource,
+ // optional Credential to describe resource,
"credential": {
"token": "MIIQzgYJKoZIhvcNAQcCoIIQvzCCELsC xxxxxxxx zqvD9OPWZm7VQpYNK2EvrZi-mTvb5A==",
"identity_status": "Confirmed"
},
- # optional Host to describe resource,
+ // optional Host to describe resource,
"host": {
"agent": "python-novaclient",
"address": "9.26.26.250"
@@ -131,12 +131,12 @@ details):
"project_id": "e7e2bcc9c0df4f3eabcd412ae62503f6",
"id": "68a3f50705a54f799ce94380fc02ed8a"
},
- # optional Reason for activity event,
+ // optional Reason for activity event,
"reason": {
"reasonCode": "200",
"reasonType": "HTTP"
},
- # list of Resources which edited event,
+ // list of Resources which edited event,
"reporterchain": [
{
"reporterTime": "2014-02-27T19:29:31.043902+0000",
@@ -149,7 +149,7 @@ details):
"action": "authenticate/logon",
"outcome": "success",
"id": "0a196053-95de-48f8-9890-4527b25b5007",
- # Event model is extensible so additional attributes may be added to describe model,
+ // Event model is extensible so additional attributes may be added to describe model,
"requestPath": "/v2/e7e2bcc9c0df4f3eabcd412ae62503f6/os-certificates"
}
diff --git a/setup.cfg b/setup.cfg
index 245989d..d6ca742 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -39,6 +39,7 @@ setup-hooks =
source-dir = doc/source
build-dir = doc/build
all_files = 1
+warning-is-error = 1
[upload_sphinx]
upload-dir = doc/build/html