Skip to content

Commit 347899e

Browse files
committed
[FAB-3201] Fix many of the broken links in the doc
This change fixes most broken links. Commit #1 and #2 Fixes several broken links. Commit #3 Remove note linking to document that no longer exists in reponse to Tracy's comment. Commit #4 Do the above for good. Commit #5 and #6 Fixes many of the remaining broken links, based on the w3c and xenu link checkers. Before this change, with Xenu we have: 25 broken link(s) reported 3 bad local link(s) reported After this change, we have: 4 broken link(s) reported 0 bad local link(s) reported Commit #7 Fixes Tracy's comments on latest commit. [ci-skip] Change-Id: I57d942c19f0904548fc6298408c459940c5d33a8 Signed-off-by: Arnaud J Le Hors <[email protected]>
1 parent 5c353eb commit 347899e

14 files changed

+60
-67
lines changed

docs/source/CONTRIBUTING.rst

+16-16
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Getting a Linux Foundation account
1212
----------------------------------
1313

1414
In order to participate in the development of the Hyperledger Fabric
15-
project, you will need a `Linux Foundation
16-
account <Gerrit/lf-account.rst>`__. You will need to use your LF ID to
15+
project, you will need a :doc:`Linux Foundation
16+
account <Gerrit/lf-account>`. You will need to use your LF ID to
1717
access to all the Hyperledger community development tools, including
1818
`Gerrit <https://gerrit.hyperledger.org>`__,
1919
`Jira <https://jira.hyperledger.org>`__ and the
@@ -25,7 +25,7 @@ Setting up your SSH key
2525
For Gerrit, before you can submit any change set for review, you will
2626
need to register your public SSH key. Login to
2727
`Gerrit <https://gerrit.hyperledger.org>`__ with your
28-
`LFID <Gerrit/lf-account.rst>`__, and click on your name in the upper
28+
:doc:`LFID <Gerrit/lf-account>`, and click on your name in the upper
2929
right-hand corner of your browser window and then click 'Settings'. In
3030
the left-hand margin, you should see a link for 'SSH Public Keys'.
3131
Copy-n-paste your `public SSH
@@ -87,21 +87,21 @@ Working with a local clone and Gerrit
8787
We are using
8888
`Gerrit <https://gerrit.hyperledger.org/r/#/admin/projects/fabric>`__ to
8989
manage code contributions. If you are unfamiliar, please review this
90-
`document <Gerrit/gerrit.rst>`__ before proceeding.
90+
:doc:`document <Gerrit/gerrit>` before proceeding.
9191

9292
After you have familiarized yourself with ``Gerrit``, and maybe played
9393
around with the ``lf-sandbox``
9494
`project <https://gerrit.hyperledger.org/r/#/admin/projects/lf-sandbox,branches>`__,
9595
you should be ready to set up your local development
96-
`environment <dev-setup/devenv.rst>`__.
96+
:doc:`environment <dev-setup/devenv>`.
9797

98-
Next, try `building the project <dev-setup/build.rst>`__ in your local
98+
Next, try :doc:`building the project <dev-setup/build>` in your local
9999
development environment to ensure that everything is set up correctly.
100100

101-
`Logging control <Setup/logging-control.rst>`__ describes how to tweak
101+
:doc:`Logging control <Setup/logging-control>` describes how to tweak
102102
the logging levels of various components within the Fabric. Finally,
103-
every source file needs to include a `license
104-
header <dev-setup/headers.txt>`__: modified to include a copyright
103+
every source file needs to include a `license header
104+
<https://github.com/hyperledger/fabric/blob/master/docs/source/dev-setup/headers.txt>`__: modified to include a copyright
105105
statement for the principle author(s).
106106

107107
What makes a good change request?
@@ -185,8 +185,8 @@ remediate the merge conflicts.
185185
Coding guidelines
186186
-----------------
187187

188-
Be sure to check out the language-specific `style
189-
guides <Style-guides/go-style.rst>`__ before making any changes. This
188+
Be sure to check out the language-specific :doc:`style
189+
guides <Style-guides/go-style>` before making any changes. This
190190
will ensure a smoother review.
191191

192192
Communication
@@ -202,7 +202,7 @@ list <http://lists.hyperledger.org/mailman/listinfo/hyperledger-fabric>`__.
202202
Maintainers
203203
-----------
204204

205-
The project's `maintainers <MAINTAINERS.rst>`__ are responsible for
205+
The project's :doc:`maintainers <MAINTAINERS>` are responsible for
206206
reviewing and merging all patches submitted for review and they guide
207207
the over-all technical direction of the project within the guidelines
208208
established by the Hyperledger Project's Technical Steering Committee
@@ -218,7 +218,7 @@ designate an initial set of maintainers that will be approved by the
218218
top-level project's existing maintainers when the project is first
219219
approved. The project's maintainers will, from time-to-time, consider
220220
adding or removing a maintainer. An existing maintainer can submit a
221-
change set to the `MAINTAINERS.rst <MAINTAINERS.rst>`__ file. If there are
221+
change set to the :doc:`MAINTAINERS.rst <MAINTAINERS>` file. If there are
222222
less than eight maintainers, a majority of the existing maintainers on
223223
that project are required to merge the change set. If there are more
224224
than eight existing maintainers, then if five or more of the maintainers
@@ -232,13 +232,13 @@ Legal stuff
232232
-----------
233233

234234
**Note:** Each source file must include a license header for the Apache
235-
Software License 2.0. A template of that header can be found
236-
`here <https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/headers.txt>`__.
235+
Software License 2.0. See the template of the `license header
236+
<https://github.com/hyperledger/fabric/blob/master/docs/source/dev-setup/headers.txt>`__.
237237

238238
We have tried to make it as easy as possible to make contributions. This
239239
applies to how we handle the legal aspects of contribution. We use the
240240
same approach—the `Developer's Certificate of Origin 1.1
241-
(DCO) <docs/biz/DCO1.1.txt>`__—that the Linux® Kernel
241+
(DCO) <https://github.com/hyperledger/fabric/blob/master/docs/source/biz/DCO1.1.txt>`__—that the Linux® Kernel
242242
`community <http://elinux.org/Developer_Certificate_Of_Origin>`__ uses
243243
to manage code contributions.
244244

docs/source/Gerrit/best-practices.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ text at 72 chars/line.
4141

4242
| Jira: FAB-100
4343
| Change-Id: LONGHEXHASH
44-
| Signed-off-by: Your Name [email protected]
44+
| Signed-off-by: Your Name your.email\@example.org
4545
| AnotherExampleHeader: An Example of another Value
4646
4747
The Gerrit server provides a precommit hook to autogenerate the
@@ -148,7 +148,7 @@ Finding Available Topics
148148
$ ssh -p 29418 gerrit.hyperledger.org gerrit query \ status:open project:fabric branch:master \
149149
| grep topic: | sort -u
150150

151-
- `gerrit.hyperledger.org <>`__ Is the current URL where the project is
151+
- `gerrit.hyperledger.org <https://gerrit.hyperledger.org>`__ Is the current URL where the project is
152152
hosted.
153153
- *status* Indicates the topic's current status: open , merged,
154154
abandoned, draft, merge conflict.

docs/source/Gerrit/changes.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Change Requirements
1010

1111
This section contains guidelines for submitting code changes for review.
1212
For more information on how to submit a change using Gerrit, please see
13-
`Gerrit <gerrit.md>`__.
13+
:doc:`Gerrit <gerrit>`.
1414

1515
Changes are submitted as Git commits. Each commit must contain:
1616

@@ -31,7 +31,7 @@ Informationally, ``commit messages`` must include:
3131
- **why** you chose that approach, and
3232
- **how** you know it works -- for example, which tests you ran.
3333

34-
Commits must `build cleanly <../dev-setup/build.md>`__ when applied in
34+
Commits must :doc:`build cleanly <../dev-setup/build>` when applied in
3535
top of each other, thus avoiding breaking bisectability. Each commit
3636
must address a single identifiable issue and must be logically
3737
self-contained.

docs/source/Gerrit/gerrit.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Gerrit assigns the following roles to users:
1919
- **Builders**: (e.g. Jenkins) May use the build automation
2020
infrastructure to verify the change.
2121

22-
Maintainers should be familiar with the `review
23-
process <reviewing.md>`__. However, anyone is welcome to (and
22+
Maintainers should be familiar with the :doc:`review
23+
process <reviewing>`. However, anyone is welcome to (and
2424
encouraged!) review changes, and hence may find that document of value.
2525

2626
Git-review
@@ -48,7 +48,7 @@ A comprehensive walk-through of Gerrit is beyond the scope of this
4848
document. There are plenty of resources available on the Internet. A
4949
good summary can be found
5050
`here <https://www.mediawiki.org/wiki/Gerrit/Tutorial>`__. We have also
51-
provided a set of `Best Practices <best-practices.md>`__ that you may
51+
provided a set of :doc:`Best Practices <best-practices>` that you may
5252
find helpful.
5353

5454
Working with a local clone of the repository
@@ -72,7 +72,7 @@ To work on something, whether a new feature or a bugfix:
7272
**Note:** if you are cloning the fabric project repository, you will
7373
want to clone it to the ``$GOPATH/src/github.com/hyperledger`` directory
7474
so that it will build, and so that you can use it with the Vagrant
75-
`development environment <../dev-setup/devenv.md>`__.
75+
:doc:`development environment <../dev-setup/devenv>`.
7676

7777
4. Create a descriptively-named branch off of your cloned repository
7878

@@ -82,7 +82,7 @@ so that it will build, and so that you can use it with the Vagrant
8282
git checkout -b issue-nnnn
8383

8484
5. Commit your code. For an in-depth discussion of creating an effective
85-
commit, please read `this document <changes.md>`__.
85+
commit, please read :doc:`this document on submitting changes <changes>`.
8686

8787
::
8888

@@ -99,8 +99,9 @@ Submitting a Change
9999
-------------------
100100

101101
Currently, Gerrit is the only method to submit a change for review.
102-
**Please review the `guidelines <changes.md>`__ for making and
103-
submitting a change**.
102+
103+
**Note:** Please review the :doc:`guidelines <changes>` for making and
104+
submitting a change.
104105

105106
Use git review
106107
~~~~~~~~~~~~~~
@@ -130,8 +131,7 @@ and then repeat the ``git review`` command.
130131
Not Use git review
131132
~~~~~~~~~~~~~~~~~~
132133

133-
Directions for building the source code can be found
134-
`here <../dev-setup/build.md>`__.
134+
See the :doc:`directions for building the source code <../dev-setup/build>`.
135135

136136
When a change is ready for submission, Gerrit requires that the change
137137
be pushed to a special branch. The name of this special branch contains

docs/source/Setup/Chaincode-setup.rst

+4-9
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,18 @@ chaincode as a Docker container.
1515

1616
The following instructions apply to *developing* chaincode in Go or
1717
Java. They do not apply to running in a production environment. However,
18-
if *developing* chaincode in Java, please see the `Java chaincode
19-
setup <https://github.com/hyperledger/fabric/blob/master/docs/Setup/JAVAChaincode.md>`__
18+
if *developing* chaincode in Java, please see the :doc:`Java chaincode
19+
setup <JAVAChaincode>`
2020
instructions first, to be sure your environment is properly configured.
2121

22-
**Note:** We have added support for `System
23-
chaincode <https://github.com/hyperledger/fabric/blob/master/docs/SystemChaincode-noop.md>`__.
24-
2522
Choices
2623
-------
2724

2825
Once again, you have the choice of using one of the following
2926
approaches:
3027

3128
- `Option 1 <#option-1-vagrant-development-environment>`__ using the
32-
**Vagrant** `development
33-
environment <https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devenv.md>`__
29+
**Vagrant** :doc:`development environment <../dev-setup/devenv>`
3430
that is used for developing the fabric itself
3531
- `Option 2 <#option-2-docker-for-mac-or-windows>`__ using Docker for
3632
Mac or Windows
@@ -328,8 +324,7 @@ when security is
328324
enabled <#removing-temporary-files-when-security-is-enabled>`__ to learn
329325
how to clean up the temporary files.
330326

331-
See the `logging
332-
control <https://github.com/hyperledger/fabric/blob/master/docs/Setup/logging-control.md>`__
327+
See the :doc:`logging control <logging-control>`
333328
reference for information on controlling logging output from the
334329
``peer`` and chaincodes.
335330

docs/source/Setup/JAVAChaincode.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
Java chaincode
22
--------------
33

4-
Note: This guide generally assumes you have followed the Chaincode
5-
development environment setup tutorial
6-
`here <https://github.com/hyperledger/fabric/blob/master/docs/Setup/Chaincode-setup.md>`__.
4+
Note: This guide generally assumes you have followed the :doc:`Chaincode
5+
development environment setup tutorial <Chaincode-setup>`.
76

87
To get started developing Java chaincode
98
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/source/Setup/ca-setup.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Table of Contents
5050

5151
6. `Fabric CA Client`_
5252

53-
1. `Enrolling the bootstrap user`_
53+
1. `Enrolling the bootstrap identity`_
5454
2. `Registering a new identity`_
5555
3. `Enrolling a peer identity`_
5656
4. `Reenrolling an identity`_

docs/source/architecture.rst

+15-15
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ delivering accountability, transparency, and efficiencies unmatched by
44
other blockchain or DLT technology.
55

66
Hyperledger Fabric implements a specific type of
7-
`permissioned <glossary.md#permissioned-network>`__ `blockchain
8-
network <glossary.md#blockchain-network>`__ on which members can track,
7+
:doc:`permissioned <glossary#permissioned-network>` :doc:`blockchain
8+
network <glossary#blockchain-network>` on which members can track,
99
exchange and interact with digitized assets using
10-
`transactions <glossary.md#transactions>`__ that are governed by smart
11-
contracts - what we call `chaincode <glossary.md#chaincode>`__ - in a
10+
:doc:`transactions <glossary#transactions>` that are governed by smart
11+
contracts - what we call :doc:`chaincode <glossary#chaincode>` - in a
1212
secure and robust manner while enabling
13-
`participants <glossary.md#participants>`__ in the network to interact
13+
:doc:`participants <glossary#participants>` in the network to interact
1414
in a manner that ensures that their transactions and data can be
1515
restricted to an identified subset of network participants - something
16-
we call a `channel <glossary.md#channel>`__.
16+
we call a :doc:`channel <glossary#channel>`.
1717

1818
The blockchain network supports the ability for members to establish
1919
shared ledgers that contain the source of truth about those digitized
@@ -28,31 +28,31 @@ Hyperledger Fabric also offers a certificate authority service,
2828
*fabric-ca* but, you may substitute that with your own.
2929

3030
All peer nodes maintain the ledger/state by committing transactions. In
31-
that role, the peer is called a `committer <glossary.md#committer>`__.
31+
that role, the peer is called a :doc:`committer <glossary#commitment>`.
3232
Some peers are also responsible for simulating transactions by executing
3333
chaincodes (smart contracts) and endorsing the result. In that role the
34-
peer is called an `endorser <glossary.md#endorser>`__. A peer may be an
34+
peer is called an :doc:`endorser <glossary#endorsement>`. A peer may be an
3535
endorser for certain types of transactions and just a ledger maintainer
3636
(committer) for others.
3737

38-
The `orderers <glossary.md#orderer>`__ consent on the order of
38+
The :doc:`orderers <glossary#ordering-service>` consent on the order of
3939
transactions in a block to be committed to the ledger. In common
4040
blockchain architectures (including earlier versions of the Hyperledger
4141
Fabric) the roles played by the peer and orderer nodes were unified (cf.
4242
validating peer in Hyperledger Fabric v0.6). The orderers also play a
4343
fundamental role in the creation and management of channels.
4444

45-
Two or more `participants <glossary.md#participant>`__ may create and
45+
Two or more :doc:`participants <glossary#participant>` may create and
4646
join a channel, and begin to interact. Among other things, the policies
4747
governing the channel membership and chaincode lifecycle are specified
4848
at the time of channel creation. Initially, the members in a channel
4949
agree on the terms of the chaincode that will govern the transactions.
50-
When consensus is reached on the `proposal <glossary.md#proposal>`__ to
50+
When consensus is reached on the :doc:`proposal <glossary#proposal>` to
5151
deploy a given chaincode (as governed by the life cycle policy for the
5252
channel), it is committed to the ledger.
5353

54-
Once the chaincode is deployed to the peer nodes in the channel, `end
55-
users <glossary.md#end-users>`__ with the right privileges can propose
54+
Once the chaincode is deployed to the peer nodes in the channel, :doc:`end
55+
users <glossary#end-users>` with the right privileges can propose
5656
transactions on the channel by using one of the language-specific client
5757
SDKs to invoke functions on the deployed chaincode.
5858

@@ -100,5 +100,5 @@ Some key capabilities of Hyperledger Fabric include:
100100
required levels of trust and verification across nodes for
101101
optimization.
102102

103-
For a deeper dive into the details, please visit `this
104-
document <arch-deep-dive.md>`__.
103+
For a deeper dive into the details, please visit :doc:`this
104+
document <arch-deep-dive>`.

docs/source/configtx.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ policies. It is defined as follows:
7171
string mod_policy = 5;
7272
}
7373

74-
Because ``ConfigGroup`` is a recursive structure, consider an example
75-
hierarchical arrangement of ``ConfigGroup``s (expressed for clarity in
76-
golang notation).
74+
Because ``ConfigGroup`` is a recursive structure, it has hierarchical
75+
arrangement. The following example is expressed for clarity in golang
76+
notation.
7777

7878
::
7979

docs/source/license.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ License
22
========
33

44
The Hyperledger Project uses the `Apache License Version
5-
2.0 <LICENSE>`__ software license.
5+
2.0 <https://github.com/hyperledger/fabric/blob/master/LICENSE>`__ software
6+
license.

docs/source/questions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ use
1010
If you need help finding things, please don't hesitate to send a note to
1111
the `mailing
1212
list <http://lists.hyperledger.org/mailman/listinfo/hyperledger-fabric>`__,
13-
or ask on `RocketChat <(https://chat.hyperledger.org/)>`__ (an
13+
or ask on `RocketChat <https://chat.hyperledger.org/>`__ (an
1414
alternative to Slack).

docs/source/starter/fabric-starter-kit.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Fabric Starter Kit
33

44
**Coming soon for v1.0**
55

6-
If you are looking for the v0.6 Starter Kit, you can find it
7-
`here <http://hyperledger-fabric.readthedocs.io/en/v0.6/starter/fabric-starter-kit/>`__.
6+
For Fabric v0.6 you can look at the `v0.6 Starter Kit <http://hyperledger-fabric.readthedocs.io/en/v0.6/starter/fabric-starter-kit.html>`__.

docs/source/status.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Status
22
=================
33

4-
This project is an *Active* Hyperledger project. For more information on the history of this project see the `Fabric wiki page <https://wiki.hyperledger.org/projects/fabric.md#history>`__. Information on what *Active* entails can be found in
4+
This project is an *Active* Hyperledger project. For more information on the history of this project see the `Fabric wiki page <https://wiki.hyperledger.org/projects/fabric#history>`__. Information on what *Active* entails can be found in
55
the `Hyperledger Project Lifecycle document <https://wiki.hyperledger.org/community/project-lifecycle>`__.

examples/dchackfest/samples/e2e/README.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ Using the configtxgen tool
146146

147147
We will now use our second tool - configtxgen - to create our ordering service
148148
genesis block and a channel configuration artifact. As the abbreviation suggests,
149-
this tool is a configuration transaction generator. More info on the configtxgen
150-
tool can be found `here <http://hyperledger-fabric.readthedocs.io/en/latest/configtxgen.html>`__
149+
this tool is a configuration transaction generator. More info can be can be found in the :doc:`configtxgen tool documentation <configtxgen>`.
151150
However, at this stage (and for the sake of brevity) we will simply make use of
152151
the tool to generate our two artifacts.
153152

0 commit comments

Comments
 (0)