Skip to content

Commit 08c4f1a

Browse files
nimmajKatelyn Baker
authored andcommitted
CORDA-2781 - Replace manual versions with substitutions (#4927)
* been through the docs manually and picked out substitutions * hopefully addressing the url inconsistencies
1 parent 1128156 commit 08c4f1a

File tree

3 files changed

+12
-22
lines changed

3 files changed

+12
-22
lines changed

docs/source/generating-a-node.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A node can be created manually by creating a folder that contains the following
1717

1818
* **Optional:** A webserver JAR entitled ``corda-webserver.jar`` that will connect to the node via RPC
1919

20-
* The (deprecated) default webserver can be downloaded from http://r3.bintray.com/corda/net/corda/corda-webserver/ (under /|corda_version|/corda-webserver-|corda_version|.jar)
20+
* The (deprecated) default webserver can be downloaded from http://r3.bintray.com/corda/net/corda/corda-webserver/ (under /|corda_version|/corda-|corda_version|.jar)
2121
* A Spring Boot alternative can be found here: https://github.com/corda/spring-webserver
2222

2323
The remaining files and folders described in :doc:`node-structure` will be generated at runtime.

docs/source/network-bootstrapper.rst

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ The Corda Network Bootstrapper can be downloaded from `here <https://www.corda.n
2929
Create a directory containing a node config file, ending in "_node.conf", for each node you want to create. "devMode" must be set to true. Then run the
3030
following command:
3131

32-
.. sourcecode:: bash
33-
34-
java -jar corda-tools-network-bootstrapper-|corda_version|.jar --dir <nodes-root-dir>
32+
``java -jar network-bootstrapper-|corda_version|.jar --dir <nodes-root-dir>``
3533

3634
For example running the command on a directory containing these files:
3735

@@ -155,9 +153,7 @@ can use the Network Bootstrapper on the following network structure:
155153

156154
Then run the Network Bootstrapper again from the root dir:
157155

158-
.. sourcecode:: bash
159-
160-
java -jar corda-tools-network-bootstrapper-|corda_version|.jar --dir <nodes-root-dir>
156+
``java -jar network-bootstrapper-|corda_version|.jar --dir <nodes-root-dir>``
161157

162158
Which will give the following:
163159

@@ -228,9 +224,7 @@ For example, with the following pre-generated network:
228224

229225
Then run the Network Bootstrapper again from the root dir:
230226

231-
.. sourcecode:: bash
232-
233-
java -jar corda-tools-network-bootstrapper-|corda_version|.jar --dir <nodes-root-dir>
227+
``java -jar network-bootstrapper-|corda_version|.jar --dir <nodes-root-dir>``
234228

235229
To give the following:
236230

@@ -277,15 +271,11 @@ Overriding network parameters via a file
277271

278272
You can provide a network parameters overrides file using the following syntax:
279273

280-
.. sourcecode:: bash
281-
282-
java -jar corda-tools-network-bootstrapper-|corda_version|.jar --network-parameter-overrides=<path_to_file>
274+
``java -jar network-bootstrapper-|corda_version|.jar --network-parameter-overrides=<path_to_file>``
283275

284276
Or alternatively, by using the short form version:
285277

286-
.. sourcecode:: bash
287-
288-
java -jar corda-tools-network-bootstrapper-|corda_version|.jar -n=<path_to_file>
278+
``java -jar network-bootstrapper-|corda_version|.jar -n=<path_to_file>``
289279

290280
The network parameter overrides file is a HOCON file with the following fields, all of which are optional. Any field that is not provided will be
291281
ignored. If a field is not provided and you are bootstrapping a new network, a sensible default value will be used. If a field is not provided and you

docs/source/testnet-explorer-corda.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@ couple of resources.
3434

3535
.. code:: bash
3636
37-
wget https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/corda-finance-contracts/|corda_version|/corda-finance-contracts-|corda_version|.jar
38-
wget https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/corda-finance-workflows/|corda_version|/corda-finance-workflows-|corda_version|.jar
37+
wget https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/corda-finance-contracts-|corda_version|-corda/corda-finance-contracts-|corda_version|-corda.jar
38+
wget https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/corda-finance-workflows-|corda_version|-corda/corda-finance-workflows-|corda_version|-corda.jar
3939
4040
This is required to run some flows to check your connections, and to issue/transfer cash to counterparties. Copy it to
4141
the Corda installation location:
4242

4343
.. code:: bash
4444
45-
sudo cp /home/<USER>/corda-finance-*-|corda_version|.jar /opt/corda/cordapps/
45+
sudo cp /home/<USER>/corda-finance-|corda_version|-corda.jar /opt/corda/cordapps/
4646
4747
#. Run the following to create a config file for the finance CorDapp:
4848

4949
.. code:: bash
5050
51-
echo "issuableCurrencies = [ USD ]" > /opt/corda/cordapps/config/corda-finance-|corda_version|.conf
51+
echo "issuableCurrencies = [ USD ]" > /opt/corda/cordapps/config/corda-finance-|corda_version|-corda.conf
5252
5353
#. Restart the Corda node:
5454

@@ -70,7 +70,7 @@ couple of resources.
7070

7171
.. code:: bash
7272
73-
http://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/corda-tools-explorer/|corda_version|/corda-tools-explorer-|corda_version|.jar
73+
http://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/corda-tools-explorer/|corda_version|-corda/corda-tools-explorer-|corda_version|-corda.jar
7474
7575
.. warning:: This Node Explorer is incompatible with the Corda Enterprise distribution and vice versa as they currently
7676
use different serialisation schemes (Kryo vs AMQP).
@@ -79,7 +79,7 @@ couple of resources.
7979

8080
.. code:: bash
8181
82-
java -jar corda-tools-explorer-|corda_version|.jar
82+
java -jar corda-tools-explorer-|corda_version|-corda.jar
8383
8484
.. image:: resources/explorer-login.png
8585

0 commit comments

Comments
 (0)