This repository houses documentation for the FIO Protocol.
The docs are written in markdown, processed by Docusaurus, and hosted at the FIO Developer Hub.
Thank you for your interest in contributing to the Developer Hub. Please review our contributor guidelines prior to any contribution. If you have any further questions, don't hesitate to reach out on our community channels.
This repository is structured as a Docusaurus project with the markdown files organized in the /docs
directory. Images
and other assets are in the /docs/assets/
directory. The /website
directory is a Yarn Docusaurus project with many
helpful scripts (e.g. yarn build
, yarn start
) for working with this codebase. In the /website
directory you will
find sidebars.json
and
siteConfig.js
, which are important Docusaurus files. You will find the
source code for some top-level pages in /website/pages/en
. Follow our contribution guidelines.
To add a new markdown document:
- Create your markdown document in a suitable directory inside
/docs
. - If you have images in your document, put them in the
/docs/assets/
directory. - Documentation should follow our contribution guidelines.
- If you want your document to appear in the sidebar, add its reference in the
/website/sidebar.json
file under the corresponding section.
cd
into the/website
directory.- Execute
yarn install
and thenyarn start
.
The FIO Developer Hub website should open in a browser window.
Once the website is running, you should use the included Yarn script (yarn check-links
) to ensure that your changes
do not introduce any broken links and to check for any links that have broken since the last time the check was
executed. Please ensure all links are fixed before submitting any changes.
Once you are done with your changes, feel free to submit a PR.