cosmos-sdk/docs
dependabot[bot] fac504ed43
build(deps): Bump autoprefixer from 10.4.12 to 10.4.13 in /docs (#13687)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.12 to 10.4.13.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.12...10.4.13)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-28 18:16:41 +02:00
..
architecture docs: add auth tx commands documentation (#13682) 2022-10-28 13:01:34 +00:00
docs docs: Cosmos SDK Basic topics - apply present tense and technical content styles (#10182) (#12971) 2022-10-27 11:25:16 +00:00
spec docs: fix tooling (#13593) 2022-10-19 12:38:36 +00:00
src/css docs: minor documentation improvements (#13594) 2022-10-19 14:56:29 +02:00
static docs: small ui fixes (#13546) 2022-10-13 19:58:25 +00:00
.gitignore feat: migrate to docusaurus (#13471) 2022-10-10 14:01:53 +00:00
babel.config.js feat: migrate to docusaurus (#13471) 2022-10-10 14:01:53 +00:00
DOC_WRITING_GUIDELINES.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
docusaurus.config.js docs: add protobuf tooling section (#13590) 2022-10-19 12:30:26 +02:00
modules_category.json feat: migrate to docusaurus (#13471) 2022-10-10 14:01:53 +00:00
package-lock.json build(deps): Bump autoprefixer from 10.4.12 to 10.4.13 in /docs (#13687) 2022-10-28 18:16:41 +02:00
package.json build(deps): Bump autoprefixer from 10.4.12 to 10.4.13 in /docs (#13687) 2022-10-28 18:16:41 +02:00
post.sh docs: fix tooling (#13593) 2022-10-19 12:38:36 +00:00
pre.sh refactor: clean-up SDK tools (#13603) 2022-10-21 15:15:20 +00:00
README.md docs: minor documentation improvements (#13594) 2022-10-19 14:56:29 +02:00
sidebars.js feat: migrate to docusaurus (#13471) 2022-10-10 14:01:53 +00:00
tailwind.config.js docs: small ui fixes (#13546) 2022-10-13 19:58:25 +00:00
vuepress_versions feat: migrate to docusaurus (#13471) 2022-10-10 14:01:53 +00:00

Updating the docs

If you want to open a PR in Cosmos SDK to update the documentation, please follow the guidelines in CONTRIBUTING.md.

Docs Build Workflow

The documentation for Cosmos SDK is hosted at https://docs.cosmos.network and built from the files in the /docs directory. It is built using Docusaurus 2, a modern static website generator.

How It Works

There is a GitHub Action listening for changes in the /docs directory for the main branch and each supported version branch (e.g. release/v0.46.x). Any updates to files in the /docs directory will automatically trigger a website deployment. Under the hood, the private website repository has a make build-docs target consumed by a Github Action within that repository.

README

The README.md is both the README for the repository and the configuration for the layout of the landing page.

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, due to versionning. Note that in case of page reshufling, you must update all links references.

Full

The full GitHub URL to a file or directory. Used occasionally when it makes sense to send users to the GitHub.

Building Locally

Make sure you are in the docs directory and run the following commands:

rm -rf node_modules

This command will remove old version of the visual theme and required packages. This step is optional.

npm install

Install the theme and all dependencies.

npm start

Run pre and post hooks and start a hot-reloading web-server. See output of this command for the URL (it is often https://localhost:3000).

To build documentation as a static website run npm run build.

We are using Algolia to power full-text search. This uses a public API search-only key in the config.js as well as a cosmos_network.json configuration file that we can update with PRs.