Mainnet docs are version-pinned. Check each section's exact version in the sidebar; it can lag the newest upstream release.
This style guide is a set of guidelines for writing and editing documentation. It's important to follow these guidelines to ensure that our documentation is consistent and easy to read.
foo , bar , baz , etc. h1 (use 1 # in markdown) and should be the only h1 on the page. The subheadings shouldn’t skip a level, e.g. h3 tags should only be inside h2 tags. If you are writing for a guide or the intro section, follow these additional guidelines:
To maintain accuracy and consistency, it is recommended to use the available React components within a guide whenever they apply. For example:
CodeImport and TextImport components instead of copying and pasting code or text. Box.Centered component to center the image. ConditionalContent component. You can find examples for how to these components within the docs/guides/docs folder.
For a full list of components available, see the src/components/MDXRender.tsx component.
There are several variables passed into the MDX context that you can use within a guide. You can find a full list in the src/components/MDXRender.tsx component.
You can then use these variables within a guide like so:
The faucet URL is {props.faucetUrl}Which would render as: The faucet URL is https://faucet-testnet.fuel.network/