OffchainLabs / arbitrum-docs

Arbitrum Docs! Content + Webapp

Home Page:https://developer.arbitrum.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arbitrum Docs

Arbitrum Docs, built with docusaurus; docs are live at https://developer.arbitrum.io/.

Arbitrum SDK auto-genned docs are included as submodule.

Contribution

For most of the docs content, you can contribute by simply reviewing our docs contribution guidelines and opening a PR!

The following are the only exceptions:

Initial set up

git clone git@github.com:OffchainLabs/arbitrum-docs.git

cd arbitrum-docs/

git submodule update --init --recursive

cd website/

Install node dependencies

yarn

Dev Build

To start a build server to serve the docs site locally, run this command from the /website directory:

yarn start

This command will both generate the arbitrum-sdk docs from the submodule and start the local server. In order to update the arbitrum-sdk docs, you will need to run this command again every time you update files in arbitrum-sdk directory.

Build

While in the /website directory, this command will build the site:

yarn build

To test the build locally, you can use the following command:

yarn serve

Update submodules

arbitrum-sdk repo:

git submodule update --remote arbitrum-sdk

About

Arbitrum Docs! Content + Webapp

https://developer.arbitrum.io/


Languages

Language:MDX 44.0%Language:JavaScript 26.8%Language:TypeScript 19.4%Language:SCSS 7.1%Language:CSS 1.8%Language:Less 1.0%