Skip to content

Commit

Permalink
Merge pull request #78 from AElfProject/feat/adding_desciptions
Browse files Browse the repository at this point in the history
Adding desciptions to the pages/components
  • Loading branch information
AelfHongliang authored Jun 27, 2024
2 parents 139c806 + fe9f536 commit bdf7f8a
Show file tree
Hide file tree
Showing 32 changed files with 49 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/association-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 1
title: Association Contract
description: Association contract handles transactions.
---


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 15
title: Configuration Contract
description: Manage the configuration on the blockchain.
---

# Configuration Contract
Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/consensus-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 4
title: Consensus Contract
description: Manages block producers and data synchronization
---

# Consensus Contract
Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/cross-chain-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 9
title: Cross Chain Contract

---


Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/economic-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 13
title: Economic Contract
description: Establishes aelf's economic system.
---

# Economic Contract
Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/election-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 5
title: Election Contract
description: Election Contract used for voting for Block Producers.
---

# Election Contract
Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/genesis-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 6
title: Genesis Contract
description: Manage and Update the deployment of contracts.
---

# Genesis Contract
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/smart-contract-api/multi-token-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
sidebar_position: 7
title: Multi Token Contract
description: Manage the user's account and transaction fees.

---

# MultiToken Contract
Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/parliament-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 3
title: Parliament Contract
description: Production nodes govern with a two-thirds majority.
---

# Parliament Contract
Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/profit-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 8
title: Profit Contract
description: Helps in creating a scheme to share bonuses.
---

# Profit Contract
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/smart-contract-api/referendum-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
sidebar_position: 2
title: Referendum Contract
description: Allows user voting on critical governance decisions.

---

# Referendum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 14
title: Token Converter Contract
description: Contract connects the base token with other tokens.
---

# Token Converter Contract
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 12
title: Token Holder Contract
description: Builds a bonus model for distributing bonuses to holders.
---

# TokenHolder Contract
Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/treasury-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 10
title: Treasury Contract
description: Used for distributing bonuses to voters and candidates.
---

# Treasury Contract
Expand Down
1 change: 1 addition & 0 deletions docs/docs/smart-contract-api/vote-contract/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 11
title: Vote Contract
description: Vote contract is an abstract layer for voting.
---

# Vote Contract
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/addresses/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 5
title: Addresses
description: Addresses
description: This guide explains how addresses work in aelf.
image: /img/Logo.aelf.svg
---
# Address
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/aelf-blockchain-boot-sequence/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 9
title: aelf Blockchain Boot Sequence
description: aelf Blockchain Boot Sequence
description: This guide covers aelf's node startup process.
image: /img/Logo.aelf.svg
---

Expand Down
1 change: 1 addition & 0 deletions docs/learn/consensus/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 3
title: Consensus
description: This guide explains the aelf consensus mechanism.
---

# Consensus
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/core/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 1
title: Core
description: aelf Core
description: Overview of aelf, its architecture, and key features.
---
1 change: 1 addition & 0 deletions docs/learn/core/introduction/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 1
title: Core Introduction
description: Overview of aelf, its architecture, and key features.
---

# Application Pattern
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/network/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 4
title: Network
description: Network
description: This guide explains the aelf's network layer.
image: /img/Logo.aelf.svg
---

Expand Down
2 changes: 1 addition & 1 deletion docs/learn/transactions/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 6
title: Transactions
description: Transactions
description: This guide explains how transactions modify the state.
image: /img/Logo.aelf.svg
---

Expand Down
2 changes: 1 addition & 1 deletion docs/quick-start/become-a-node-operator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ sidebar_position: 3
title: Become a Node Operator
---

# Introduction
## Introduction

To become a BP (Block Producer), you must run a full node and participate in the election. The total number of BPs in the aelf network is 2N+1, starting at 8 in 2022 and increasing by 1 each year. If your node ranks in the top 2N+1 in the election, you can participate in block production and aelf governance. This tutorial will guide you on how to become a BP.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 1
title: Operations

---

# Operations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 4
title: Smart Contract Developing Demos
description: Smart Contract Developing Demos
description: This document provides you Smart Contract examples
image: /img/Logo.aelf.svg
---

Expand Down
7 changes: 7 additions & 0 deletions docs/quick-start/explore-running-aelf-side-chain/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
---
sidebar_position: 4
title: Requesting the Creation of a Side Chain
description: How to create a side chain ?
---


# Requesting the Creation of a Side Chain

Side chains can be created in the aelf ecosystem to enable scalability. This section introduces the process in detail.
Expand Down
3 changes: 2 additions & 1 deletion docs/quick-start/intro-to-aelf-development/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 1
title: Overview
description: Guides and APIs for aelf DApp developers.
---

# Developer Documentation Overview
Expand All @@ -9,7 +10,7 @@ This document provides guidelines, documents, and API references for developers

## Introduction to aelf

aelf is a comprehensive solution for Web3 DApps, offering a cloud-native, high-performance blockchain system. It supports DeFi and Metaverse applications, providing a secure, fast, and cost-efficient environment.
aelf is a comprehensive solution for Web3 DApps, offering a cloud-native, high-performance blockchain system. It supports DeFi and Metaverse applications, providing a secure, fast, and cost-efficient environment.

## Key Features

Expand Down
5 changes: 5 additions & 0 deletions docs/quick-start/run-a-side-chain/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: Running a Side Chain
description: How to run a side chain after its released ?
---

# Running a Side Chain (After its Release)

This tutorial explains how to run a side chain node after it has been approved by the producers and released by the creator. After creating the side chain, producers need to run a side chain node.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: Getting Started with Google Cloud
description: How to run aelf node on Google Cloud Platform (GCP) ?
---

# Getting Started with Google Cloud

This guide will walk you through the steps required to run an aelf node on Google Cloud Platform (GCP).
Expand Down
1 change: 1 addition & 0 deletions docs/tools/aelf-deploy/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 2
title: aelf Deploy Tool
description: aelf-deploy simplifies contract updates.
---

# aelf Deploy Tool
Expand Down
1 change: 1 addition & 0 deletions docs/tools/design/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 6
title: aelf Design
description: UI component library based on Antd.
---

<div align="center">
Expand Down
1 change: 1 addition & 0 deletions docs/tools/faucet/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 5
title: aelf Testnet Faucet
description: Get your free test aelf tokens.
---

import Tabs from '@theme/Tabs';
Expand Down

0 comments on commit bdf7f8a

Please sign in to comment.