Follow Aptos Writing Style
When making site updates, Aptos recommends adhering to this writing and formatting style guide for consistency with the rest of Aptos.dev, as well as accessibility directly in GitHub.com and source code editors.
Hold contributions to high standards
All doc updates should be thorough and tested. This includes external contributions from the community.
So when reviewing changes, do not merge them in unless all feedback has been addressed.
Single source in Markdown
There should be one external upstream source of truth for Aptos development. And we aim for that to be Aptos.dev. Edit away in Markdown format using our instructions for making site updates.
Note, you can easily convert Google Docs to Markdown format using the Docs to Markdown add-on.
Link from product to docs
Whether you work on an external product or an internal tool, your work likely has an interface. From it, you should link to your user docs, along with bug queues and contact information.
Peer review docs
Your users should not be the first people to use your documentation. Have your peers review your docs just as they review your code. Walk through the flow. If they cannot, your users can't either.
Form links properly
When linking to absolute files (code, reference) not on Aptos.dev, always use the fully qualified domain. Else, use relative links. Always include the file extension (.md
for Markdown).
Correct:
[How Base Gas Works](../../../../concepts/base-gas.md)
Incorrect:
[How Base Gas Works](/concepts/base-gas)
The second example will work in Aptos.dev but not when navigating the docs via GitHub.com or in source viewer/editor. For links to files in the same directory, include the leading ./
like so:
[proofs](./txns-states.md#proofs)