• Stars
    star
    267
  • Rank 153,621 (Top 4 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created over 2 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Website

Welcome to Astar Docs GitHub Repo.

This website is built using Docusaurus 2, a modern static website generator.

Instructions on how to contribute to Astar Docs using local instance of Docusaurus engine

Prereqs

  • Make sure git and yarn exist as commands in your terminal/vscode: https://yarnpkg.com/ (NOTE: Please make sure you use yarn 1 (classic) by using command yarn set version classic
  • Git/Github: understand what the following commands do
    • managing branches (git checkout main and git checkout -b feat/your-new-branch
    • Commits (git add . and git commit, git push -u origin feat/your-new-branch)
    • Creating PR in Github
    • maybe: stashing (git stash and git stash pop are your best friends)
  • Markdown basics
    • titles, subtitles
    • lists
    • hyperlinks

Setup: First time only

  • Clone repo git clone https://github.com/astarnetwork/astar-docs
  • Install dependencies by running yarn (cd astar-docs , yarn )
  • yarn start - spin up realtime website

New document / Modify existing docment --> Submit a PR

  • Get latest version of docs locally
    • Make sure you’re on the main branch (git checkout main)
    • Pull the latest version of the docs (git pull)
    • Create a new branch (git checkout -b feat/new-feature-name-here)
  • Create/update the docs as you please
    • Spin up live docs (yarn start)
    • Add new page/tweaks/etc
    • When you’re happy with it, ensure yarn build runs without errors
  • PR and staging environment
    • Commit your changes and push the new branch up to Github (git add . and git commit, git push -u origin feat/your-new-branch)
    • Create New PR on Github (https://github.com/astarnetwork/astar-docs)
    • Once PR is up, CICD will automatically build you a unique staging link you can see progress of this on Actions tab in Github
    • Get feedback from team

Working with images

  • Please import and use tag <Figure/> instead of ![image] as this enables smoother translation of docs to other languages (automatic reference to original images, no need to copy images to translated subfolders)

    • Example - as seen here:

      top of file:

      import Figure from "/src/components/figure"
      

      within the file:

      <Figure caption="Tokenomics Model" src={require('/docs/about/token-economics/img/tokenomics_1.png').default } width="100%" /> 
      
    • Please use absolute path to image (e.g. /docs/about/token-economics/img/tokenomics_1.png instead img/tokenomics_1.png

Deploy to production

  • When PR is ready for merge, merge it by clicking the button at the bottom saying Merge and Close
  • Should be soon available at [https://docs.astar.network](https://docs.astar.network)

HELP SOMETHING IS BROKEN

  • Likely, a broken build got pushed to main somehow. Remove the commit from main and force push to main, reopen PR in a new PR
  • Please make sure you use yarn 1 (classic) by using command yarn set version classic

More Repositories

1

Astar

The dApp hub for blockchains of the future
Rust
726
star
2

growth-program

Astar Ecosystem Growth Program
77
star
3

astar-apps

The official Astar Network portal for accessing your tokens and other native features!
CSS
68
star
4

astar-frame

Core frame modules for Astar & Shiden network.
Rust
58
star
5

swanky-cli

The all-in-one developer environment for Parity WASM smart contracts!
TypeScript
46
star
6

ZKRollups

ZK Rollups pallet implementation
TypeScript
39
star
7

plasmdocs

The general user documentation for Astar Network
Rust
35
star
8

swanky-node

Rust
33
star
9

astar.js

Astar network Typescript SDK
TypeScript
30
star
10

ink-xvm-sdk

The Ink! smart contract SDK for XVM interface.
Rust
27
star
11

lockdrop-ui

Plasm Network lockdrop web application
TypeScript
18
star
12

aWASoMe

An aWASoMe list of awesome things curated by the Dotsama community.
16
star
13

plonk

Rust
16
star
14

ink-playground

TypeScript
16
star
15

builders-program

Solidity
14
star
16

wasm-flipper

TypeScript
14
star
17

astarbase

EVM smart contract for address mapping ss58 <> H160
Solidity
11
star
18

chain-extension-contracts

Rust
10
star
19

astar-token-api

The public API for Astar and Shiden token values
TypeScript
10
star
20

wasm-showcase-dapps

Rust
8
star
21

AstarBounties

Astar bounties during hackathons.
8
star
22

astar-faucet-bot

Astar test network faucet bot
TypeScript
8
star
23

sumi

Astar binding generator for Solidity and ink!
Rust
7
star
24

ink-redible-nft

NFT viewer dApp
TypeScript
7
star
25

Audits

Comprehensive Repository of Audit Reports
6
star
26

swanky-dev-container

A VS Code dev container with Swanky and all the dependencies preinstalled
6
star
27

astar-ui

UI library for all Astar projects
Vue
5
star
28

ethereum-bridge-old

Rust
5
star
29

swanky-plugin-phala

Handlebars
5
star
30

astarwebsite_v2

Astar main website.
Vue
4
star
31

dApp-Staking-Workshop

Rust
4
star
32

WASM-Governor-Workshop

Rust
4
star
33

crowdloan-app

Astar network official Polkadot crowdloan campaign contribution page
Vue
4
star
34

brand-assets

Brand assets related to Astar ecosystem
4
star
35

wasm-tutorial-dex

Rust
4
star
36

astar-homepage

The landing page for Astar Network
EJS
4
star
37

gas-station

Gas price estimation api
TypeScript
3
star
38

dapps-staking-indexer

TypeScript
3
star
39

astar.js-dapp-template

Template for setting up Dapp with astar.js
TypeScript
3
star
40

astar-community-tutorials

The "Astar Community Tutorials" is a space dedicated to guides and tutorials created by Astar ecosystem agents and community users for using or building on Astar network.
JavaScript
3
star
41

api

Astar Network library for dApps and client applications
TypeScript
3
star
42

plasm-apps-vue

The front-end application for Plasm Network
Vue
3
star
43

dapps-staking-indexer-v3

TypeScript
3
star
44

astar-ink-sdk

Rust
2
star
45

astar-alerts

Monitoring large moves on tokens.
TypeScript
2
star
46

metamask-snap-astar

TypeScript
2
star
47

wasm-lottery

Simple lottery contract example in wasm ink
TypeScript
1
star
48

frontend-interview-task

1
star
49

astarwebsite_v2_korean

Vue
1
star
50

polkadotjs-ecdsa-hardware

1
star
51

swanky-template-ink

Rust
1
star
52

astar-chainlink

JavaScript
1
star
53

EVM-XCM-Examples

Solidity
1
star
54

graph-endpoints

This repository contains documentation on how to deploy subgraphs to the Astar TheGraph infrastructure.
1
star
55

yoki-template-test

Template test for Yoki Origins contracts
Solidity
1
star