Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Sep 21, 2023
1 parent 0b800f7 commit 00a6a6d
Show file tree
Hide file tree
Showing 78 changed files with 9 additions and 4,002 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/md-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
<<<<<<< HEAD
- uses: actions/checkout@v3
=======
- uses: actions/checkout@v4
- run: cd docs && sh ./pre.sh
>>>>>>> 2efafee65 (chore: rename develop to learn (#17821))
- uses: gaurav-nelson/[email protected]
with:
folder-path: "docs"
Expand Down
6 changes: 1 addition & 5 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ docs/docs/packages/02-collections.md
docs/docs/packages/03-orm.md
docs/user/run-node/04-rosetta.md
docs/build/migrations/02-upgrading.md
<<<<<<< HEAD
docs/develop/advanced/17-autocli.md
docs/learn/advanced/17-autocli.md

# Misc
.DS_Store
Expand All @@ -37,6 +36,3 @@ docs/develop/advanced/17-autocli.md
npm-debug.log*
yarn-debug.log*
yarn-error.log*
=======
docs/learn/advanced/17-autocli.md
>>>>>>> 2efafee65 (chore: rename develop to learn (#17821))
5 changes: 0 additions & 5 deletions docs/docs/build/building-modules/06-keeper.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,9 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/x/staking/keeper/keepe
Let us go through the different parameters:

* An expected `keeper` is a `keeper` external to a module that is required by the internal `keeper` of said module. External `keeper`s are listed in the internal `keeper`'s type definition as interfaces. These interfaces are themselves defined in an `expected_keepers.go` file in the root of the module's folder. In this context, interfaces are used to reduce the number of dependencies, as well as to facilitate the maintenance of the module itself.
<<<<<<< HEAD:docs/docs/build/building-modules/06-keeper.md
* `storeKey`s grant access to the store(s) of the [multistore](../../develop/advanced/04-store.md) managed by the module. They should always remain unexposed to external modules.
* `cdc` is the [codec](../../build/develop/advanced/05-encoding.md) used to marshall and unmarshall structs to/from `[]byte`. The `cdc` can be any of `codec.BinaryCodec`, `codec.JSONCodec` or `codec.Codec` based on your requirements. It can be either a proto or amino codec as long as they implement these interfaces. The authority listed is a module account or user account that has the right to change module level parameters. Previously this was handled by the param module, which has been deprecated.
=======
* `storeKey`s grant access to the store(s) of the [multistore](../../learn/advanced/04-store.md) managed by the module. They should always remain unexposed to external modules.
* `cdc` is the [codec](../../learn/advanced/05-encoding.md) used to marshall and unmarshall structs to/from `[]byte`. The `cdc` can be any of `codec.BinaryCodec`, `codec.JSONCodec` or `codec.Codec` based on your requirements. It can be either a proto or amino codec as long as they implement these interfaces.
* The authority listed is a module account or user account that has the right to change module level parameters. Previously this was handled by the param module, which has been deprecated.
>>>>>>> 2efafee65 (chore: rename develop to learn (#17821)):docs/build/building-modules/06-keeper.md

Of course, it is possible to define different types of internal `keeper`s for the same module (e.g. a read-only `keeper`). Each type of `keeper` comes with its own constructor function, which is called from the [application's constructor function](../../learn/beginner/00-app-anatomy.md). This is where `keeper`s are instantiated, and where developers make sure to pass correct instances of modules' `keeper`s to other modules that require them.

Expand Down
31 changes: 0 additions & 31 deletions docs/docs/develop/intro/00-what-is-sdk.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ const config = {
toExtensions: ["html"],
createRedirects(existingPath) {
return [
existingPath.replace('/core', '/develop/advanced'),
existingPath.replace('/basics', '/develop/beginner'),
existingPath.replace('/intro', '/develop/intro'),
existingPath.replace('/core', '/learn/advanced'),
existingPath.replace('/basics', '/learn/beginner'),
existingPath.replace('/intro', '/learn/intro'),
existingPath.replace('/architecture', '/build/architecture/'),
existingPath.replace('/building-apps', '/build/building-apps'),
existingPath.replace('/building-modules', '/build/building-modules'),
Expand Down Expand Up @@ -432,7 +432,7 @@ const config = {
},
{
from: ["/main/building-modules/autocli"],
to: "/main/develop/advanced/autocli",
to: "/main/learn/advanced/autocli",
},
],
},
Expand Down
Loading

0 comments on commit 00a6a6d

Please sign in to comment.