Templates
Overview
This reference page contains a list of Markdown templates that you can use when contributing to the Ronin chain documentation. Just copy any template into a new Markdown file as the first step in creating a new page and opening a new pull request (PR).
Headers
In the templates, H2 header is a top-level header. Do not use H1 headers.
---
title: Document title is set in metadata
---
## Section header
Content
### Sub-section header
Content
Don't skip levels (for example, don't use H2 then H4).
Title metadata
All the templates contain the title
front matter attribute. But sometimes
the title can get so long it gets truncated in the sidebar. To prevent that, you
can give the page a shorter, mode sidebar-friendly title by using the sidebar_label
front matter.
title: Security hardening for your validator node
Example with a shorter title defined in the sidebar_label
attribute:
---
sidebar_label: Security hardening
title: Security hardening for your validator node
---
Explanation
---
title: Noun or noun phrase
description: Write a brief intro to give readers a quick understanding of what's in the document so they can decide if it's relevant to them.
---
## Overview
<!-- Summarize what this explanation is about. -->
## Explanation topic
<!-- Write one or two paragraphs about the main idea of the topic, as a summary. Add diagrams if necessary. Keep adding more sections to describe all elements of the topic until you've completed the article. -->
## See also
<!-- An optional section that can contain links to other content that the user
can read to reinforce the understanding of the information covered
in this topic. -->
* [Page title](Page URL)
For guidelines on writing explanation topics, see Explanation guidelines.
How-to guide
---
title: Start with a verb
description: Write a brief intro to give readers a quick understanding of what's in the document so they can decide if it's relevant to them.
---
## Overview
<!-- Briefly describe the outcome of the how-to and optionally, what the user should be
able to do after completing the steps. -->
## Before you start
<!-- An optional section to include prerequisite information or specific permissions information. -->
## Task name
<!-- Write procedural steps following the instructions in
https://developers.google.com/style/procedures. -->
## See also
<!-- An optional section that can contain links to other content that the user
can read to reinforce the understanding of the information covered
in this topic. -->
* [Page title](Page URL)
For guidelines on writing task topics, see How-to guide guidelines.
Reference
---
title: Use nouns to describe the topic
description: Write a brief intro to give readers a quick understanding of what's in the document so they can decide if it's relevant to them.
---
## Overview
<!-- An optional section to briefly describe the main idea of the page. -->
## Reference entry
<!-- A table or other structured presentation of entries. For instructions, refer to
https://github.com/axieinfinity/ronin-documentation/blob/main/docs/CONTRIBUTING.md#reference. -->
## See also
<!-- An optional section that can contain links to other content that the user
can read to reinforce the understanding of the information covered
in this topic. -->
* [Page title](Page URL)
For guidelines on writing reference topics, see Reference guidelines.