Welcome to the Gnosis Documentation site! We welcome all contributors.
Prod: https://docs.gnosischain.com Dev: https://docs.dev.gnosisdev.com/
release
branch: the current state of docs.gnosischain.commain
branchdev
branch: the current state of docs.dev.gnosisdev.com- Feature branches: individual contributors issue a PR to
dev
branch
Currently, @zengzengzenghuy and @giacomolicari have push rights to release
branch.
Node.js version 16.14 or higher.
$ nvm use
$ yarn install
$ 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.
$ yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
- Docs are located in the docs directory.
- Landing pages are located in the src/pages directory.
- Images and static files are located in the static directory.
- The left side-bar of the page is controlled by sidebars.js.
- Docusaurus complete documentation can be found here.
Start by searching if an issue already exists. If a related issue doesn't exist, you can open a new issue following the instructions of the template accordingly.
Issues are categorized by type:
- Feature
- Content
- Bug
For help, see GitHub Docs: Linking a pull request to an issue using a keyword.
- Submit a PR against the
dev
branch of thegnosischain/documentation
repo - Follow the PR template instructions carefuly
Currently only @zengzengzenghuy and @giacomolicari has the right to create a new release.
To create a new release
- Switch to release branch, click on text showing "N commit(s) behind of main", and click 'Create pull request'.
- Create a new PR, ensure that all Actions in PR are passed, then you may continue to create a new release.
- Navigate to and click Releases on right sidebar (Under About section), you should be able to see releases history under https://github.com/gnosischain/documentation/releases.
- Click 'Draft a new release'
- click 'Choose a tag' and create a new target (please refer to the naming rule for releases, i.e. v0.8.x)
- Target: dev
- Release title: same as release tag, i.e. v0.8.x
- Click 'Generate release notes', this will automatically generate notes for current release.
- Tick the box showing 'Set as the latest release'
- Click 'Publish release', and wait for all the actions passed.
- Congrats, you just created a new release for gnosis documentation!
We selected a collection of best practices from the industry to make the website easy to read, global, diverse and searchable
- General Writing Guidelines (by OpenStack)
- Bias-free communication (by Microsoft)
- Global communications (by Microsoft)
When transfering documents from the old gitbook, consider the funcionality difference detailed below, and the following:
- Relevance and validity of the content
xdaichain
was renamed tognosis
- Open Ethereum was deprecated
- Nifty Wallet deprecation
- Internal and external links
/static
/files
/img
# By Docs folders
/about
/bridges
/developers
/node
/.gitbook/assets/
/static/img/
{% hint style="info" %}
Message
{% endhint %}
:::info
Message
:::
Refer to docusaurus docs for more admonition types.
Refer to docusaurus docs for details on tabs.