24a3023288
jenkinsfile: allow deploy of dev site |
||
---|---|---|
.github | ||
docs | ||
i18n | ||
src/css | ||
static | ||
.gitignore | ||
Jenkinsfile | ||
README.md | ||
babel.config.js | ||
docusaurus.config.ts | ||
flake.lock | ||
flake.nix | ||
package.json | ||
sidebars.ts | ||
tsconfig.json | ||
yarn.lock |
README.md
Status Network Documentation
Welcome to the official documentation for Status Network! This repository contains the source code for our documentation website, built using Docusaurus, a modern static website generator.
🚀 Getting Started
Prerequisites
If you are familiar with using Nix shell all of the dependencies will be installed by just running nix develop
from within this repository which will spawn a new shell.
Installation
# Clone the repository
git clone https://github.com/status-network/docs.git
cd docs
# Install dependencies
yarn
Local Development
# Start the development server
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
# Build the static site
yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
CI/CD
- CI builds
master
and pushes todeploy-master
branch, which is hosted at https://docs.status.network/. - CI builds dev
develop
and pushes todeploy-develop
branch, which is hosted at https://dev-docs.status.network/.
The hosting is done using Caddy server with Git plugin for handling GitHub webhooks.
Information about deployed build can be also found in /build.json
available on the website.
📝 Contributing
We welcome contributions from the community! Here's how you can help improve our documentation:
Making Changes
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes
- Test locally using
yarn start
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Submit a pull request
Documentation Structure
docs/
├── introduction/ # Introduction and getting started
├── tokenomics/ # SNT and AURA token documentation
├── general-info/ # Network details and contracts
├── tools/ # Development tools and resources
├── tutorials/ # Step-by-step guides
├── security/ # Security information
└── other/ # Additional resources
Made with ❤️ by the Status Network community