Docs can use any Markdown feature, and have a few additional Docs-specific markdown features.
Markdown docs have their own Markdown frontmatter
If you want to reference another document file, you could use the name of the document you want to reference. Docusaurus will convert the file path to be the final website path (and remove the
For example, if you are in
doc2.md and you want to reference
One benefit of this approach is that the links to external files will still work if you are viewing the file on GitHub.
Another benefit, for versioned docs, is that one versioned doc will link to another doc of the exact same version.