You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -8,29 +8,50 @@ Each driver entry consists of two files: a Markdown (`.md`) file for the main co
8
8
9
9
### File Structure
10
10
11
-
All driver documentation resides within `src/content/docs/`, organized by categoryand manufacturer:
11
+
All driver documentation resides within `src/content/docs/`, organized by category, manufacturer, and driver. Each driver has its own directory containing all documentation and images:
- Use **lowercase** with **hyphens** for directory names (e.g., `sky-watcher`, `ikarus-technologies`)
31
-
- Category directories: `mounts`, `cameras`, `focusers`, etc.
32
-
- Manufacturer directories: `sky-watcher`, `zwo`, `qhyccd`, etc.
33
-
- Driver filenames: `eqmod.md`, `altair.md`, etc.
36
+
- Use **lowercase** with **hyphens** for directory names (e.g., `sky-watcher`, `deep-sky-dad`, `ikarus-technologies`)
37
+
- Category directories: `mounts`, `cameras`, `dustcaps`, `lightboxes`, etc.
38
+
- Manufacturer directories: `sky-watcher`, `deep-sky-dad`, `zwo`, `qhyccd`, etc.
39
+
- Driver directories: `eqmod`, `deep-sky-dad-fp1`, etc.
40
+
- Driver filenames must match directory: `eqmod/eqmod.md`, `deep-sky-dad-fp1/deep-sky-dad-fp1.md`, etc.
41
+
42
+
**Supported INDI Driver Categories:**
43
+
-`adaptive-optics` - Adaptive Optics systems
44
+
-`auxiliaries` - Auxiliary devices
45
+
-`cameras` - CCD/CMOS cameras
46
+
-`domes` - Observatory domes
47
+
-`dustcaps` - Dust cap controllers
48
+
-`filter-wheels` - Filter wheel controllers
49
+
-`focusers` - Focuser controllers
50
+
-`lightboxes` - Flat panel/light box devices
51
+
-`mounts` - Telescope mounts
52
+
-`power-controllers` - Power distribution and control
53
+
-`rotators` - Camera rotators
54
+
-`weather-stations` - Weather monitoring stations
34
55
35
56
### YAML Metadata File
36
57
@@ -39,25 +60,40 @@ The YAML file contains driver metadata with both human-friendly display names an
39
60
```yaml
40
61
# Display Names (Human-Friendly - Required)
41
62
driver_name: EQMod Mount
42
-
category_name: Mounts
43
63
manufacturer_name: Sky Watcher
44
64
65
+
# Categories (Required - can be multiple)
66
+
categories:
67
+
- mounts
68
+
45
69
# Additional Metadata (Optional)
46
70
website: www.indlib.org
47
71
executable: indi_eqmod_telescope
48
-
family: Telescopes
49
72
platforms: Linux, BSD, OSX
50
73
author: Jean-Luc Levaire
51
74
version: 1.0
52
75
```
53
76
54
77
**Key Fields:**
55
78
- `driver_name`: Human-friendly driver name (displayed on the website)
56
-
- `category_name`: Human-friendly category name (e.g., "Mounts", "Cameras")
57
79
- `manufacturer_name`: Human-friendly manufacturer name (e.g., "Sky Watcher", "Ikarus Technologies")
80
+
- `categories`: Array of category slugs the driver belongs to (e.g., `["mounts"]`, `["dustcaps", "lightboxes"]`)
58
81
- Additional fields: You can add any custom metadata that will be displayed in the driver information sidebar
59
82
60
-
**Important:** The human-friendly names in the YAML file are what users will see on the website, while the directory structure uses SEO-friendly slugs for URLs.
83
+
**Multi-Category Support:**
84
+
Drivers can belong to multiple categories by specifying multiple category slugs in the `categories` array. For example, a device that functions as both a dust cap and a light box:
85
+
86
+
```yaml
87
+
driver_name: Deep Sky Dad FP1
88
+
manufacturer_name: Deep Sky Dad
89
+
categories:
90
+
- dustcaps
91
+
- lightboxes
92
+
```
93
+
94
+
This driver will appear in both the "Dust Caps" and "Light Boxes" categories in the sidebar navigation, with both entries linking to the same driver page.
95
+
96
+
**Important:** The human-friendly names will be automatically looked up from the central category configuration, while the directory structure and category slugs use SEO-friendly formats for URLs.
61
97
62
98
### Markdown Documentation File
63
99
@@ -66,9 +102,9 @@ The Markdown file contains the main driver documentation:
66
102
```markdown
67
103
---
68
104
title: EQMod Mount
69
-
category: Mounts
105
+
categories: ["mounts"]
70
106
description: The EQMod driver for Sky Watcher mounts.
@@ -77,6 +113,8 @@ This is the documentation for the EQMod driver...
77
113
78
114
## Features
79
115
116
+

117
+
80
118
* Feature 1
81
119
* Feature 2
82
120
@@ -87,71 +125,96 @@ Installation instructions...
87
125
88
126
**Frontmatter Fields:**
89
127
- `title`: The driver name (should match `driver_name` in YAML)
90
-
- `category`: Category name (should match `category_name` in YAML)
128
+
- `categories`: Array of category slugs matching those in the YAML file (e.g., `["mounts"]` or `["dustcaps", "lightboxes"]`)
91
129
- `description`: Brief description for SEO and previews
92
-
- `thumbnail`: (Optional) Path to the driver's main image
130
+
- `thumbnail`: (Optional) Relative path to the driver's thumbnail image (e.g., `./eqmod.webp`)
131
+
132
+
**Multi-Category Example:**
133
+
```markdown
134
+
---
135
+
title: Deep Sky Dad FP1
136
+
categories: ["dustcaps", "lightboxes"]
137
+
description: A flat panel for both dust cap and light box functionality.
138
+
thumbnail: ./deep-sky-dad-fp1.webp
139
+
---
140
+
```
141
+
142
+
**Image References:**
143
+
- Use **relative paths** for all images: `./image.webp`or `./images/image.webp`
144
+
- Never use absolute paths like `/images/...`
93
145
94
146
## 2. Image Guidelines
95
147
96
-
To maintain a consistent look and feel across the documentation, please adhere to the following image guidelines.
148
+
All driver images are co-located with their documentation in the driver's directory. This makes it easy for contributors to submit everything in one place.
0 commit comments