Adding a new documentation page¶
This is a quick guide for adding a new documentation page and running the documentation locally.
Prerequisites¶
Follow the general setup guide to set up ov.
Starting up¶
The following demonstrates the process of adding a new documentation page.
Create a markdown file at a place within the
documentation/hierarchy that makes the most sense for your case. Usually the parent folder for the new file would already contain anindex.mdfile, make sure that your new file is located next to it. If a new directory is required, you will also need to create anindex.mdfile for it with a table of contents for the folder. See otherindex.mdfiles within thedocumentation/directory for examples.For instance, adding a new documentation file
dag_testing.mdfor describing how to test/run the catalog DAGs would likely have you adding the file indocumentation/catalog/guides/.Make an entry with the name of the new document (excluding the
.mdfile extension) in the closestindex.md. For ourdag_testing.mdinstance, this would mean addingdag_testingtodocumentation/catalog/guides/index.md.Write the document using MyST flavored Markdown.
Run
ov just lintto properly format the document.Run
ov just documentation/livelocally (following the quick start guide) and navigate to the new page to make sure it looks okay!