diff --git a/docs/configuration/Common.mdx b/docs/configuration/Common.mdx index 11e47f58cf5..09775164238 100644 --- a/docs/configuration/Common.mdx +++ b/docs/configuration/Common.mdx @@ -36,34 +36,35 @@ The Scenario Type is a convenient umbrella term that groups all these things. Di Let's see how those concepts look in fragment of the configuration file:
-{/* Somehow, everything which is in the "pre" block is treated as jsx by Docusaurus*/} -{/* so, we need to escape "{" */} +{/* Somehow, everything which is in the "pre" block is treated as jsx by Docusaurus */} +{/* so, we need to add opening curly bracket as comment */} {/* and add leading spaces in a special way. If not jsx parser will remove them */} {/* Finally, do not worry - this is a valid jsx comment - you will not see it on Nu page*/} -# Designer configurationIt is worth noting that one Nussknacker Designer may be used to work with multiple Scenario Types and allow user:
-environment: "local"
-...
-
-# Each scenario type is configured here
-scenarioTypes {"{"}
-{" "} "scenario-type-1": {"{"}
-{" "} # Configuration of scenario deployment (Flink used as example here)
-{" "} deploymentConfig: {"{"}
-{" "} type: "flinkStreaming"
-{" "} restUrl: "http://localhost:8081"
-{" "} }
-{" "} # Configuration of model
-{" "} modelConfig: {"{"}
-{" "} classPath: ["model/defaultModel.jar", "model/flinkExecutor.jar", "components/flink"]
-{" "} restartStrategy.default.strategy: disable
-{" "} components {"{"}
-{" "} ...
-{" "} }
-{" "} }
-{" "} category: "Default"
-{" "} }
-}
+# Designer configuration +environment: "local" + +{" "}# Each scenario type is configured here +{" "}scenarioTypes: {"{"} +{" "} "scenario-type-1": {"{"} + +{" "} # Configuration of scenario deployment (Flink used as example here) +{" "} deploymentConfig: {"{"} +{" "} type: "flinkStreaming" +{" "} restUrl: "http://localhost:8081" +{" "} } + +{" "} # Configuration of the model +{" "} modelConfig: {"{"} +{" "} classPath: ["model/defaultModel.jar", "model/flinkExecutor.jar", "components/flink"] +{" "} restartStrategy.default.strategy: disable +{" "} components: {"{"} +{" "} } +{" "} } + +{" "} category: "Default" +{" "} } +{" "}}