summaryrefslogtreecommitdiffstats
path: root/docs/datadictionary/resourcesource.rst
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-07-30 19:01:51 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-07-30 19:02:01 +0530
commiteac7ca44c9005e43308580cb936640f48dfe59ab (patch)
treea519d5607eb7a2df99e6a598054dd69fed542135 /docs/datadictionary/resourcesource.rst
parent7ba485b7e3a7c6f3b5603c4bebed50111f503c66 (diff)
Formatted text in index and Resource source
Change-Id: I340dac3a25aaefee52121557903687f20e254628 Issue-ID: CCSDK-1453 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'docs/datadictionary/resourcesource.rst')
-rw-r--r--docs/datadictionary/resourcesource.rst34
1 files changed, 20 insertions, 14 deletions
diff --git a/docs/datadictionary/resourcesource.rst b/docs/datadictionary/resourcesource.rst
index 852a34f07..49ef6a1a3 100644
--- a/docs/datadictionary/resourcesource.rst
+++ b/docs/datadictionary/resourcesource.rst
@@ -9,28 +9,34 @@ Input:
======
Expects the value to be provided as input to the request.
-source-input:
-.. code: json
-print("
- "description": "This is Input Resource Source Node Type",
- "version": "1.0.0",
- "properties": {},
- "derived_from": "tosca.nodes.ResourceSource"
-")
+
+.. code-block:: json
+ :linenos:
+
+ source-input
+ {
+ "description": "This is Input Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {},
+ "derived_from": "tosca.nodes.ResourceSource"
+ }
Default:
========
Expects the value to be defaulted in the model itself.
-source-default:
-
- "description": "This is Default Resource Source Node Type",
- "version": "1.0.0",
- "properties": {},
- "derived_from": "tosca.nodes.ResourceSource"
+.. code-block:: json
+ :linenos:
+ source-default
+ {
+ "description": "This is Default Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {},
+ "derived_from": "tosca.nodes.ResourceSource"
+ }
sql: