-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R4R: Docs refactor #2794
Closed
Closed
R4R: Docs refactor #2794
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
399995b
Add commands for deposits and fix links
47eeb7d
fix config
28d1adb
Changelog
f7c6048
Add tally cmd
1eb005e
typo
33bcfee
cosmos-sdk-cli
0a0e155
Update warning
9ff3d4b
Update docs/sdk/clients.md
alexanderbez 4a1f6a4
Address comments
e574b50
Address Gautier's comments
a00e8a2
Update docs/sdk/clients.md
gamarin2 4f72113
organize ADR directory like tendermint
zramsay 6db3dcb
better adr template
zramsay c501b13
docs: move spec-proposals into spec/
zramsay ef3feba
remove lotion, moved to website repo
zramsay d947240
move getting-started to cosmos-hub, and voyager to website
zramsay 8dd7f3f
docs: move lite/ into clients/lite/
zramsay 18c5d29
a single image doesn't require a dir
zramsay e666fd9
move introduction/ content to website repo
zramsay e6549ca
move resources/ content to website repo
zramsay 0800f4e
mv sdk/clients.md to clients/clients.md
zramsay 47e2be1
mv validators to cosmos-hub/validators
zramsay d4db10e
move deprecated sdk/ content to _attic
zramsay 2afb33b
consolidate remianing sdk/ files into a single sdk.md
zramsay bc777ee
move examples/ to docs/examples/
zramsay b2ed220
mv docs/cosmos-hub to docs/gaia
zramsay a8ba0cd
Add keys/accounts section to localnet docs
9ce4863
Remove extra home flag
5793ac6
Minor update
deb0798
address @cwgoes comments
02bf94a
changes to struct
gamarin2 e2c6604
Clarify key usage
368b783
mv architecture to root of docs dir
zramsay 2e00686
revert #2705
zramsay 62eb748
Update seed location path
ba09afa
Makefile: install examples
zramsay 54ef533
update config.js
zramsay 511b8fd
paths
zramsay 2b6001d
update readme
gamarin2 42b5ee8
small fix
gamarin2 97a054e
add gaia README
gamarin2 9d7c4bf
refine docs readme
gamarin2 f048680
little fix
gamarin2 1b75680
workin on cleanup
gamarin2 c84c3f2
^^
gamarin2 e116019
cleanup specs
gamarin2 49c5826
keep cleanup
gamarin2 3c39fa7
sdk intro 1/2
gamarin2 90b7c16
fix link
gamarin2 a817adc
fix link bis
gamarin2 1a88cff
update README
gamarin2 bf63824
better sdk overview 2/2
gamarin2 5a671e7
Update docs to reflect changes from #2728
jackzampolin ba6f65e
Address PR comments
jackzampolin d44c29f
link fix
gamarin2 e5ddf22
get dem tests passing
zramsay ba61b72
Add adr-002
gamarin2 a3e4134
.
gamarin2 4c1c670
add adr to new org
gamarin2 818281b
fix typo
gamarin2 9a3cab9
integrate zach review
gamarin2 2ac7547
little ficx
gamarin2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
docs/architecture/decision-records/README.md → architecture/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# Docs Build Workflow | ||
## Updating the docs | ||
|
||
If you want to open a PR on the Cosmos SDK to update the documentation, please follow the guidelines in the [`CONTRIBUTING.md`](https://github.com/cosmos/cosmos-sdk/tree/master/CONTRIBUTING.md) | ||
|
||
## Docs Build Workflow | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be H1 and |
||
|
||
The documentation for the Cosmos SDK is hosted at: | ||
|
||
|
@@ -15,55 +19,55 @@ Besides, gaia-lite API docs are also provided by gaia-lite. The default API docs | |
https://localhost:1317/swagger-ui/ | ||
``` | ||
|
||
## How It Works | ||
### How It Works | ||
|
||
There is a Jenkins job listening for changes in the `/docs` directory, on both | ||
the `master` and `develop` branches. Any updates to files in this directory | ||
on those branches will automatically trigger a website deployment. Under the hood, | ||
a private website repository has make targets consumed by a standard Jenkins task. | ||
|
||
## README | ||
### README | ||
|
||
The [README.md](./README.md) is also the landing page for the documentation | ||
on the website. During the Jenkins build, the current commit is added to the bottom | ||
of the README. | ||
|
||
## Config.js | ||
### Config.js | ||
|
||
The [config.js](./.vuepress/config.js) generates the sidebar and Table of Contents | ||
on the website docs. Note the use of relative links and the omission of | ||
file extensions. Additional features are available to improve the look | ||
of the sidebar. | ||
|
||
## Links | ||
### Links | ||
|
||
**NOTE:** Strongly consider the existing links - both within this directory | ||
and to the website docs - when moving or deleting files. | ||
|
||
Relative links should be used nearly everywhere, having discovered and weighed the following: | ||
|
||
### Relative | ||
#### Relative | ||
|
||
Where is the other file, relative to the current one? | ||
|
||
- works both on GitHub and for the VuePress build | ||
- confusing / annoying to have things like: `../../../../myfile.md` | ||
- requires more updates when files are re-shuffled | ||
|
||
### Absolute | ||
#### Absolute | ||
|
||
Where is the other file, given the root of the repo? | ||
|
||
- works on GitHub, doesn't work for the VuePress build | ||
- this is much nicer: `/docs/hereitis/myfile.md` | ||
- if you move that file around, the links inside it are preserved (but not to it, of course) | ||
|
||
### Full | ||
#### Full | ||
|
||
The full GitHub URL to a file or directory. Used occasionally when it makes sense | ||
to send users to the GitHub. | ||
|
||
## Building Locally | ||
### Building Locally | ||
|
||
To build and serve the documentation locally, run: | ||
|
||
|
@@ -94,12 +98,12 @@ python -m SimpleHTTPServer 8080 | |
|
||
then navigate to localhost:8080 in your browser. | ||
|
||
## Consistency | ||
### 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). | ||
|
||
## Update and Build the RPC docs | ||
### Update and Build the RPC docs | ||
|
||
1. Execute the following command at the root directory to install the swagger-ui generate tool. | ||
``` | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can drop
README
otherwise it doesn't render (mystery why this is the case) the readme