diff --git a/docs/docs/building-modules/01-intro.md b/docs/docs/building-modules/01-intro.md index b5d2ba0df959..42805570f0fe 100644 --- a/docs/docs/building-modules/01-intro.md +++ b/docs/docs/building-modules/01-intro.md @@ -91,4 +91,4 @@ Modules are by convention defined in the `./x/` subfolder (e.g. the `bank` modul In addition to these components, modules implement the `AppModule` interface in order to be managed by the [`module manager`](./01-module-manager.md). -Please refer to the [structure document](./10-structure.md) to learn about the recommended structure of a module's directory. +Please refer to the [structure document](./11-structure.md) to learn about the recommended structure of a module's directory. diff --git a/docs/docs/building-modules/09-autocli.md b/docs/docs/building-modules/10-autocli.md similarity index 99% rename from docs/docs/building-modules/09-autocli.md rename to docs/docs/building-modules/10-autocli.md index d07c1de9509c..1629e3d65620 100644 --- a/docs/docs/building-modules/09-autocli.md +++ b/docs/docs/building-modules/10-autocli.md @@ -120,13 +120,13 @@ Here are some example commands that use the positional arguments we defined abov To query an account by address: ```bash -`./app query auth account cosmos1abcd...xyz` + query auth account cosmos1abcd...xyz ``` To query an account address by account number: ```bash -`./app query auth address-by-acc-num 1` + query auth address-by-acc-num 1 ``` In both of these commands, the `auth` service is being queried with the `query` subcommand, followed by the specific method being called (`account` or `address-by-acc-num`). The positional argument is included at the end of the command (`cosmos1abcd...xyz` or `1`) to specify the address or account number, respectively. diff --git a/docs/docs/building-modules/10-structure.md b/docs/docs/building-modules/11-structure.md similarity index 97% rename from docs/docs/building-modules/10-structure.md rename to docs/docs/building-modules/11-structure.md index eb0402c5ce6d..4e7b15398fed 100644 --- a/docs/docs/building-modules/10-structure.md +++ b/docs/docs/building-modules/11-structure.md @@ -80,10 +80,10 @@ x/{module_name} * `keeper/`: The module's `Keeper` and `MsgServer` implementation. * `module/`: The module's `AppModule` and `AppModuleBasic` implementation. * `abci.go`: The module's `BeginBlocker` and `EndBlocker` implementations (this file is only required if `BeginBlocker` and/or `EndBlocker` need to be defined). -* `simulation/`: The module's [simulation](./13-simulator.md) package defines functions used by the blockchain simulator application (`simapp`). +* `simulation/`: The module's [simulation](./14-simulator.md) package defines functions used by the blockchain simulator application (`simapp`). * `REAMDE.md`: The module's specification documents outlining important concepts, state storage structure, and message and event type definitions. Learn more how to write module specs in the [spec guidelines](../spec/SPEC-SPEC.md). * The root directory includes type definitions for messages, events, and genesis state, including the type definitions generated by Protocol Buffers. - * `autocli.go`: The module [autocli](./09-autocli.md) options. + * `autocli.go`: The module [autocli](./10-autocli.md) options. * `codec.go`: The module's registry methods for interface types. * `errors.go`: The module's sentinel errors. * `events.go`: The module's event types and constructors. diff --git a/docs/docs/building-modules/11-errors.md b/docs/docs/building-modules/12-errors.md similarity index 100% rename from docs/docs/building-modules/11-errors.md rename to docs/docs/building-modules/12-errors.md diff --git a/docs/docs/building-modules/12-upgrade.md b/docs/docs/building-modules/13-upgrade.md similarity index 100% rename from docs/docs/building-modules/12-upgrade.md rename to docs/docs/building-modules/13-upgrade.md diff --git a/docs/docs/building-modules/13-simulator.md b/docs/docs/building-modules/14-simulator.md similarity index 100% rename from docs/docs/building-modules/13-simulator.md rename to docs/docs/building-modules/14-simulator.md diff --git a/docs/docs/building-modules/14-depinject.md b/docs/docs/building-modules/15-depinject.md similarity index 100% rename from docs/docs/building-modules/14-depinject.md rename to docs/docs/building-modules/15-depinject.md diff --git a/docs/docs/building-modules/15-testing.md b/docs/docs/building-modules/16-testing.md similarity index 100% rename from docs/docs/building-modules/15-testing.md rename to docs/docs/building-modules/16-testing.md diff --git a/docs/docs/core/12-simulation.md b/docs/docs/core/12-simulation.md index 5cdde57edd50..ed23f3990444 100644 --- a/docs/docs/core/12-simulation.md +++ b/docs/docs/core/12-simulation.md @@ -97,5 +97,5 @@ Here are some suggestions when encountering a simulation failure: Learn how you can integrate the simulation into your Cosmos SDK-based application: * Application Simulation Manager -* [Building modules: Simulator](../building-modules/13-simulator.md) +* [Building modules: Simulator](../building-modules/14-simulator.md) * Simulator tests diff --git a/docs/docs/core/15-upgrade.md b/docs/docs/core/15-upgrade.md index 9b1e308e55f6..b5db25589658 100644 --- a/docs/docs/core/15-upgrade.md +++ b/docs/docs/core/15-upgrade.md @@ -16,7 +16,7 @@ The Cosmos SDK uses two methods to perform upgrades: * Exporting the entire application state to a JSON file using the `export` CLI command, making changes, and then starting a new binary with the changed JSON file as the genesis file. -* Perform upgrades in place, which significantly decrease the upgrade time for chains with a larger state. Use the [Module Upgrade Guide](../building-modules/12-upgrade.md) to set up your application modules to take advantage of in-place upgrades. +* Perform upgrades in place, which significantly decrease the upgrade time for chains with a larger state. Use the [Module Upgrade Guide](../building-modules/13-upgrade.md) to set up your application modules to take advantage of in-place upgrades. This document provides steps to use the In-Place Store Migrations upgrade method. @@ -63,7 +63,7 @@ app.UpgradeKeeper.SetUpgradeHandler("my-plan", func(ctx sdk.Context, plan upgrad }) ``` -To learn more about configuring migration scripts for your modules, see the [Module Upgrade Guide](../building-modules/12-upgrade.md). +To learn more about configuring migration scripts for your modules, see the [Module Upgrade Guide](../building-modules/13-upgrade.md). ### Order Of Migrations diff --git a/docs/docs/pkg/_category_.json b/docs/docs/pkg/_category_.json deleted file mode 100644 index f66709051a54..000000000000 --- a/docs/docs/pkg/_category_.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "label": "Notable Packages", - "position": 10, - "link": null -} \ No newline at end of file diff --git a/docs/rfc/_category.json b/docs/rfc/_category_.json similarity index 96% rename from docs/rfc/_category.json rename to docs/rfc/_category_.json index 8a6007a966f8..40fac9822465 100644 --- a/docs/rfc/_category.json +++ b/docs/rfc/_category_.json @@ -2,4 +2,4 @@ "label": "RFCs", "position": 12, "link": null -} +} \ No newline at end of file