From fd92504f84ec99af1d9f37c07dd944ba8a5879d6 Mon Sep 17 00:00:00 2001 From: frog power 4000 Date: Thu, 1 Aug 2019 14:02:35 -0400 Subject: [PATCH] Merge PR #4829: Fix a bunch of broken/incorrect links --- docs/DOCS_README.md | 8 +++----- docs/interfaces/service-providers.md | 2 +- docs/spec/README.md | 2 +- docs/spec/slashing/04_begin_block.md | 4 ++-- docs/translations/cn/clients/service-providers.md | 4 ++-- docs/translations/cn/intro/ocap.md | 2 +- docs/translations/kr/clients/service-providers.md | 4 ++-- docs/translations/kr/modules/README.md | 10 +++++----- 8 files changed, 17 insertions(+), 19 deletions(-) diff --git a/docs/DOCS_README.md b/docs/DOCS_README.md index e858e4e73..6de77663c 100644 --- a/docs/DOCS_README.md +++ b/docs/DOCS_README.md @@ -10,9 +10,7 @@ The documentation for the Cosmos SDK is hosted at: - https://cosmos-staging.interblock.io/docs/ built from the files in this (`/docs`) directory for -[master](https://github.com/cosmos/cosmos-sdk/tree/master/docs) -and [develop](https://github.com/cosmos/cosmos-sdk/tree/develop/docs), -respectively. +[master](https://github.com/cosmos/cosmos-sdk/tree/master/docs). ### How It Works @@ -97,7 +95,7 @@ then navigate to localhost:8080 in your browser. First, run `make tools` from the root of repo, to install the swagger-ui tool. -Then, edit the `swagger.yaml` manually; it is found [here](https://github.com/cosmos/cosmos-sdk/blob/develop/client/lcd/swagger-ui/swagger.yaml) +Then, edit the `swagger.yaml` manually; it is found [here](https://github.com/cosmos/cosmos-sdk/blob/master/client/lcd/swagger-ui/swagger.yaml) Finally, run `make update_gaia_lite_docs` from the root of the repo. @@ -108,7 +106,7 @@ We are using [Algolia](https://www.algolia.com) to power full-text search. This ## Consistency Because the build processes are identical (as is the information contained herein), this file should be kept in sync as -much as possible with its [counterpart in the Tendermint Core repo](https://github.com/tendermint/tendermint/blob/develop/docs/DOCS_README.md). +much as possible with its [counterpart in the Tendermint Core repo](https://github.com/tendermint/tendermint/blob/master/docs/DOCS_README.md). ### Update and Build the RPC docs diff --git a/docs/interfaces/service-providers.md b/docs/interfaces/service-providers.md index 27525dd36..cc6280a2a 100644 --- a/docs/interfaces/service-providers.md +++ b/docs/interfaces/service-providers.md @@ -2,7 +2,7 @@ We define 'service providers' as entities providing services for end-users that involve some form of interaction with a Cosmos-SDK based blockchain (this includes the Cosmos Hub). More specifically, this document will be focused around interactions with tokens. -This section does not concern wallet builders that want to provide [Light-Client](https://github.com/cosmos/cosmos-sdk/tree/develop/docs/light) functionalities. Service providers are expected to act as trusted point of contact to the blockchain for their end-users. +This section does not concern wallet builders that want to provide [Light-Client](https://github.com/cosmos/cosmos-sdk/tree/master/docs/interfaces/lite) functionalities. Service providers are expected to act as trusted point of contact to the blockchain for their end-users. ## High-level description of the architecture diff --git a/docs/spec/README.md b/docs/spec/README.md index 03592b0af..aef36b928 100644 --- a/docs/spec/README.md +++ b/docs/spec/README.md @@ -29,4 +29,4 @@ block. - [ICS30](./_ics/ics-030-signed-messages.md) - Signed messages standard. For details on the underlying blockchain and p2p protocols, see -the [Tendermint specification](https://github.com/tendermint/tendermint/tree/develop/docs/spec). +the [Tendermint specification](https://github.com/tendermint/tendermint/tree/master/docs/spec). diff --git a/docs/spec/slashing/04_begin_block.md b/docs/spec/slashing/04_begin_block.md index f7437ab28..cb12ec1b0 100644 --- a/docs/spec/slashing/04_begin_block.md +++ b/docs/spec/slashing/04_begin_block.md @@ -3,10 +3,10 @@ ## Evidence handling Tendermint blocks can include -[Evidence](https://github.com/tendermint/tendermint/blob/develop/docs/spec/blockchain/blockchain.md#evidence), which indicates that a validator +[Evidence](https://github.com/tendermint/tendermint/blob/master/docs/spec/blockchain/blockchain.md#evidence), which indicates that a validator committed malicious behavior. The relevant information is forwarded to the application as [ABCI -Evidence](https://github.com/tendermint/tendermint/blob/develop/abci/types/types.proto#L259) in `abci.RequestBeginBlock` +Evidence](https://github.com/tendermint/tendermint/blob/master/abci/types/types.pb.go#L3277:6) in `abci.RequestBeginBlock` so that the validator an be accordingly punished. For some `evidence` to be valid, it must satisfy: diff --git a/docs/translations/cn/clients/service-providers.md b/docs/translations/cn/clients/service-providers.md index a1fe8f8c7..945390ded 100644 --- a/docs/translations/cn/clients/service-providers.md +++ b/docs/translations/cn/clients/service-providers.md @@ -2,7 +2,7 @@ 我们将“服务提供商”定义为可以为最终用户提供服务的实体,这些实体涉及与基于 Cosmos-SDK 的区块链(包括Cosmos Hub)的某种形式的交互。更具体地说,本文档将集中于与 token 的交互。 -本节不涉及想要提供[轻客户端](https://github.com/cosmos/cosmos-sdk/tree/develop/docs/light)功能的钱包开发者。服务提供商将作为最终用户的区块链的可信接入点。 +本节不涉及想要提供[轻客户端](https://github.com/cosmos/cosmos-sdk/tree/master/docs/interfaces/lite)功能的钱包开发者。服务提供商将作为最终用户的区块链的可信接入点。 ## 架构的高级描述 @@ -174,4 +174,4 @@ sequence numbers and it will mostly do the correct thing. } ``` -正确生成签名后,将 JSON 插入生成的交易中,然后调用广播端点进行广播。 \ No newline at end of file +正确生成签名后,将 JSON 插入生成的交易中,然后调用广播端点进行广播。 diff --git a/docs/translations/cn/intro/ocap.md b/docs/translations/cn/intro/ocap.md index 714359725..f7f511764 100644 --- a/docs/translations/cn/intro/ocap.md +++ b/docs/translations/cn/intro/ocap.md @@ -51,7 +51,7 @@ var sumValue := externalModule.ComputeSumValue(account) var sumValue := externalModule.ComputeSumValue(*account) ``` -在Cosmos SDK中,你可以看到[gaia app](https://github.com/cosmos/cosmos-sdk/blob/develop/cmd/gaia/app/app.go)中对该原则的实践。 +在Cosmos SDK中,你可以看到[gaia app](https://github.com/cosmos/cosmos-sdk/blob/master/simapp/app.go)中对该原则的实践。 ```go // register message routes diff --git a/docs/translations/kr/clients/service-providers.md b/docs/translations/kr/clients/service-providers.md index b7dfae26a..1f904473b 100755 --- a/docs/translations/kr/clients/service-providers.md +++ b/docs/translations/kr/clients/service-providers.md @@ -2,7 +2,7 @@ '서비스 제공자'는 코스모스 SDK 기반 블록체인(코스모스 허브도 포함됩니다)과 교류하는 서비스를 엔드유저에게 제공하는 특정 인원/기관을 뜻합니다. 이 문서는 주로 토큰 인터랙션에 대한 정보를 다룹니다. -다음 항목은 [Light-Client](https://github.com/cosmos/cosmos-sdk/tree/develop/docs/light) 기능을 제공하려는 월렛 개발자들에게 해당하지 않습니다. 서비스 제공자는 엔드 유저와 블록체인을 이어주는 신뢰할 수 있는 기관/개인입니다. +다음 항목은 [Light-Client](https://github.com/cosmos/cosmos-sdk/tree/master/docs/interfaces/lite) 기능을 제공하려는 월렛 개발자들에게 해당하지 않습니다. 서비스 제공자는 엔드 유저와 블록체인을 이어주는 신뢰할 수 있는 기관/개인입니다. ## 보편적 아키텍처 설명 @@ -112,4 +112,4 @@ API는 엔드포인트의 카테고리에 따라 ICS 스탠다드로 나뉘어 서비스 제공자에게 더 많은 유연성을 제공하기 위해서 미서명 트랜잭션을 생성, [서명](https://cosmos.network/rpc/#/ICS20/post_tx_sign)과 [전달](https://cosmos.network/rpc/#/ICS20/post_tx_broadcast) 등의 다양한 API 엔드포인트가 제공됩니다. 이는 서비스 제공자가 자체 서명 메커니즘을 이용할 수 있게 합니다. -미서명 트랜잭션을 생성하기 위해서는 (예를 들어 [코인 전송](https://cosmos.network/rpc/#/ICS20/post_bank_accounts__address__transfers))을 생성하기 위해서는 `base_req` body에서 `generate_only` 플래그를 이용하셔야 합니다. \ No newline at end of file +미서명 트랜잭션을 생성하기 위해서는 (예를 들어 [코인 전송](https://cosmos.network/rpc/#/ICS20/post_bank_accounts__address__transfers))을 생성하기 위해서는 `base_req` body에서 `generate_only` 플래그를 이용하셔야 합니다. diff --git a/docs/translations/kr/modules/README.md b/docs/translations/kr/modules/README.md index 45975a444..b8915b3f5 100755 --- a/docs/translations/kr/modules/README.md +++ b/docs/translations/kr/modules/README.md @@ -10,7 +10,7 @@ [API 문서](https://godoc.org/github.com/cosmos/cosmos-sdk/x/staking)를 확인하세요. -관련 스펙은 [여기](https://github.com/cosmos/cosmos-sdk/tree/develop/docs/spec/staking)에서 확인하실 수 있습니다. +관련 스펙은 [여기](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/staking)에서 확인하실 수 있습니다. # Slashing @@ -19,15 +19,15 @@ [API 문서](https://godoc.org/github.com/cosmos/cosmos-sdk/x/slashing)를 확인하세요. -관련 스펙은 [여기](https://github.com/cosmos/cosmos-sdk/tree/develop/docs/spec/slashing)에서 확인하실 수 있습니다. +관련 스펙은 [여기](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/slashing)에서 확인하실 수 있습니다. # Provisions `x/provisions` 모듈은 수수료 보상 분배와 스테이킹 인플레이션을 조정할때 사용됩니다. -[API 문서](https://godoc.org/github.com/cosmos/cosmos-sdk/x/provisions)를 확인하세요. +[API 문서](https://godoc.org/github.com/cosmos/cosmos-sdk/x/distribution)를 확인하세요. -관련 스펙은 [여기](https://github.com/cosmos/cosmos-sdk/tree/develop/docs/spec/provisions)에서 확인하실 수 있습니다. +관련 스펙은 [여기](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/distribution)에서 확인하실 수 있습니다. # Governance @@ -35,4 +35,4 @@ [API 문서](https://godoc.org/github.com/cosmos/cosmos-sdk/x/gov)를 확인하세요. -관렉 스펙은 [여기](https://github.com/cosmos/cosmos-sdk/tree/develop/docs/spec/governance)에서 확인하실 수 있습니다. +관렉 스펙은 [여기](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/governance)에서 확인하실 수 있습니다.