All pages use Markdown (a cheat sheet for this can be found here) so be sure to use .md
as the extension when creating the page file. If you do not wish to use markdown, you can also use Editor.md a open-source online markdown editor.
Click here for an example of what a fully-fledged page looks like.
A summary of what the page is about.
Main features.
Content for sub-feature 1.
Content for sub-feature 2.
Relevant resources like website, github link, blog posts etc go here
All documentation written in the GitHub repo is automatically synced to http://docs.thegraph.academy/
To create a section overview, create a new folder and include an empty README.md only with the title of the section.
Use SUMMARY.md to structure of the content over at docs.thegraph.academy and to include/exclude files. Use this file for defining pages and subpages etc.
Add the following before the first headline to create a description
---
description: Detailed documentation about the roles within The Graph Network
---
Add the following to create a page link
{% page-ref page="../the-graph-ecosystem/organizational-structure/edge-and-node.md" %}
Add the following to create hints:
{% hint style="danger" %} Text. {% endhint %}
{% hint style="success" %} Text. {% endhint %}
{% hint style="success" %} Text. {% endhint %}
{% hint style="info" %} Text. {% endhint %} {% endtab %}
Add tabs this way
{% tabs %} {% tab title="Indexing rewards" %}
Text
{% tab title="Query fee rebates" %}
Text