Local Development Guide
This guide explains how to build the site locally and integrate new markdown (.md) pages properly into the site structure.
Building the Site Locally
To preview the site before committing changes:
- Navigate to the
docsdirectory located atroot/docs/cd docs - Install dependencies (you may need to use
sudo bundle install, if your ruby version is installed globally):bundle install - Serve the site locally: The site will be available at
bundle exec jekyll servehttp://localhost:4000/.
Adding a New Page
To add a new markdown page:
-
Create the
.mdfile in the appropriate location. -
Add the required front matter at the top of the file:
--- title: "Your Page Title" parent: "Parent Page Name" # Omit this if the page is not part of a section nav_order: 5 # Adjust order as needed ---
Adding a New Parent (Section)
If a new section (parent page) is needed:
-
Create a new directory.
-
Move your
.mdfile into this directory. -
Create an
index.mdfile inside the new directory. -
Add the required front matter to
index.md:--- title: "New Section Title" nav_order: 3 # Adjust order as needed ---
Styling Options
The site uses the Just the Docs theme, which provides additional styling options:
-
Notes and Warnings (uses embedded html):
Note: This is an important note.Tip: This is an cool tip.⚠ Warning: This is an important warning. -
Inline Code and Code Blocks:
Use backticks for inline code:`example`
Use triple backticks for multi-line code blocks and specify the language for syntax highlighting.```(programming language here, for syntax highlighting) x = "code goes here" # on multiple lines! ```result:
x = "code goes here" # on multiple lines! -
Tables:
Column 1 Column 2 Value 1 Value 2
For more styling options, see the Just the Docs documentation.