Fix documentation for nodejs builder

Now there is a broken link to example of usage
This patch includes following fixes and improvements
* delete broken link
* add link to full example
* add link to minimal example

Change-Id: Iec289751a6037ecf4535edb6ccdf57ea101f5f31
This commit is contained in:
vgorin 2017-11-08 13:20:05 +03:00 committed by Thanh Ha
parent 0b51780d2c
commit a56e9903a0
No known key found for this signature in database
GPG Key ID: B0CB27E00DA095AA
1 changed files with 8 additions and 2 deletions

View File

@ -4103,11 +4103,17 @@ def nodejs(parser, xml_parent, data):
last field (a 32-digit hexadecimal code) of the path of URL visible
after you clicked the file under Jenkins Managed Files.
Example:
Minimal Example:
.. literalinclude::
/../../tests/builders/fixtures/nodejs-executor001.yaml
../../tests/builders/fixtures/nodejs-minimal.yaml
:language: yaml
Full Example:
.. literalinclude::
../../tests/builders/fixtures/nodejs-full.yaml
:language: yaml
"""
nodejs = XML.SubElement(xml_parent,
'jenkins.plugins.nodejs.NodeJSCommandInterpreter')