Link between pages

# Linking to other pages

To link from one page to another, you can just use a relative path.

All pages have to be registered in your gendocs.json pages for the links to work!

# Example

Folder structure

docs/
  doc1.md
  doc2.md

In doc1.md

markdown

[Link text](./doc2.md)

# Pages in other directories

Linking to pages in other directories is exactly the same as above.

Just add the directory to the relative url.

# Example

Folder structure

introduction/
  about.md

guides/
  guide1.md

In about.md

markdown
[Read our guide](../guides/guide1.md)