Appearance
Biograph Documentation Maintenance Guide
Welcome to the Biograph documentation team! This guide will explain how to update existing pages, add new ones, and ensure they show up correctly in the sidebar navigation.
1. Where Does the Content Live?
All Biograph documentation files are located in the /biograph-product-docs/biograph-docs directory of the project.
- The main landing page is
index.md. - Content is organized into functional folders like
getting-started/,clinical-workflows/,patient-care/, etc.
2. Updating Existing Pages
To update a page that already exists:
- Navigate to the
/biograph-product-docs/biograph-docsdirectory and open the relevant Markdown (.md) file. - Edit the content using standard Markdown syntax.
- Save the file. If you are running the site locally, changes will appear immediately.
TIP
You can use standard Markdown features like **bold**, *italics*, [links](url), and  to format your text. Image files should be kept in a logical folder, like docs/guide/biograph-docs/assets/.
3. Adding New Pages
Adding a new page is a two-step process: First, you write the content, and second, you update the configuration file so the new page appears in the website's sidebar navigation.
Step 3a: Create the Markdown File
- Identify the correct subdirectory in
/biograph-product-docs/biograph-docs(e.g.,clinical-workflows/). - Create your new file ending in
.md(e.g.,new-procedure.md). - Add a primary heading at the very top of your file using a single
#(e.g.,# New Procedure Guidelines). - Write your content below the title and save the file.
Step 3b: Update the Sidebar Menu (config.mts)
The sidebar menu lets users find your page. It is controlled by the /biograph-product-docs/biograph-docs/config.mts file.
- Open
/biograph-product-docs/biograph-docs/config.mts. - Scroll down to the
themeConfig: { sidebar: { ... } }section and locate'/guide/': [...]. - Inside, you will see a
Biograph Docslist, which contains sections like "Getting Started", "Clinical Consultation", "Nursing & Tasks", etc. - Find the section where your new page belongs.
- Add a new entry to the
itemslist following this exact format:{ text: 'Your Sidebar Title', link: '/guide/biograph-docs/folder-name/file-name' }
Example: If you added new-procedure.md to the clinical-workflows/ folder, the entry in config.mts under the Clinical Procedures section would look like this:
typescript
{
text: 'Clinical Procedures',
collapsed: true,
items: [
{ text: 'Procedure Creation', link: '/guide/biograph-docs/clinical-workflows/procedure-creation' },
{ text: 'Procedure Templates', link: '/guide/biograph-docs/clinical-workflows/procedure-templates' },
// Add your new page link exactly like this:
{ text: 'New Procedure', link: '/guide/biograph-docs/clinical-workflows/new-procedure' },
]
}IMPORTANT
- Do not include the
.mdextension in the link path withinconfig.mts. - Always start the link path with
/guide/biograph-docs/. The system uses this exact path to find your file.
4. Quick Checklist Before Publishing
- [ ] Did I save the new/edited
.mdfile? - [ ] If I added a new file, did I add its path to
/biograph-product-docs/biograph-docs/config.mts? - [ ] Does the link in
config.mtsomit the.mdextension? - [ ] Did I test the changes locally to make sure formatting is correct?