solana/docs
Nick Frostbutter 1345e89507
docs: update Docusaurus to v2.2 (#29563)
* build: update docusaurus

* fix: algolia keys

* fix: frontmatter keywords array

* build: clsx version

* fix: card layout and pages

* fix: invalid internal link
2023-01-17 22:13:10 -06:00
..
.travis
art chore: update Solana docs and code comments that specify "BPF" to "SBF" 2022-10-31 14:14:25 -04:00
components [docs] quickstart guides (#27592) 2022-09-10 02:36:04 +00:00
layouts docs: update Docusaurus to v2.2 (#29563) 2023-01-17 22:13:10 -06:00
src docs: update Docusaurus to v2.2 (#29563) 2023-01-17 22:13:10 -06:00
static docs: Rewrite the Quick Start guide to rely exclusively on playground (#28101) 2022-10-03 20:52:50 -05:00
.eslintignore
.eslintrc
.gitignore docs: update Docusaurus to v2.2 (#29563) 2023-01-17 22:13:10 -06:00
.prettierignore
.prettierrc.json [docs] added prettier config file (#26817) 2022-07-28 10:44:02 -07:00
README.md Update README.md - fix two typos 2021-10-02 09:31:26 -07:00
babel.config.js
build-cli-usage.sh replaced ./cargo with cargo in build docs (#29375) 2022-12-28 00:52:49 +01:00
build.sh
convert-ascii-to-svg.sh docs: resolve svgbob binary 2022-02-28 17:33:30 -07:00
crowdin.yml
docusaurus.config.js docs: update Docusaurus to v2.2 (#29563) 2023-01-17 22:13:10 -06:00
offline-cmd-md-links.sh
package-lock.json docs: update Docusaurus to v2.2 (#29563) 2023-01-17 22:13:10 -06:00
package.json docs: update Docusaurus to v2.2 (#29563) 2023-01-17 22:13:10 -06:00
publish-docs.sh [docs] developers home page (#27436) 2022-08-31 12:32:36 -05:00
set-solana-release-tag.sh
sidebars.js docs: transactions fees/confirmation and deploying programs (#28895) 2022-12-21 22:51:49 -06:00

README.md

Docs Readme

Solana's Docs are built using Docusaurus 2 with npm. Static content delivery is handled using vercel.

Installing Docusaurus

$ npm install

Local Development

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. (You might have to run build.sh first if you run into failures)

$ npm run start

Build Locally

This command generates static content into the build directory and can be served using any static content hosting service.

$ docs/build.sh

Translations

Translations are sourced from Crowdin and generated when master is built. For local development use the following two commands in the docs directory.

To download the newest Documentation translations run:

npm run crowdin:download

To upload changes from src & generate explicit IDs:

npm run crowdin:upload

CI Build Flow

The docs are built and published in Travis CI with the docs/build.sh script. On each PR, the docs are built, but not published.

In each post-commit build, docs are built and published using vercel to their respective domain depending on the build branch.

  • Master branch docs are published to edge.docs.solana.com
  • Beta branch docs are published to beta.docs.solana.com
  • Latest release tag docs are published to docs.solana.com