Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
380 changes: 380 additions & 0 deletions docs/content/ui-docs/wecs-remote-monitoring.md

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions src/app/docs/page-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ const pretty = (s: string) => s.charAt(0).toUpperCase() + s.slice(1).replace(/-/
// Recursively get all markdown files from the local docs directory
function getAllDocFiles(dir: string, baseDir: string = dir): string[] {
const files: string[] = []

if (!fs.existsSync(dir)) {
return files
}

const entries = fs.readdirSync(dir, { withFileTypes: true })

for (const entry of entries) {
const fullPath = path.join(dir, entry.name)
const relativePath = path.relative(baseDir, fullPath)

if (entry.isDirectory()) {
// Skip hidden directories and node_modules
if (!entry.name.startsWith('.') && entry.name !== 'node_modules') {
Expand All @@ -75,7 +75,7 @@ function getAllDocFiles(dir: string, baseDir: string = dir): string[] {
files.push(relativePath)
}
}

return files
}

Expand Down Expand Up @@ -293,6 +293,10 @@ const NAV_STRUCTURE: Array<{ title: string; items: NavItem[] }> = [
}
]
},
{
'UI (User Interface)': [
{ 'Overview': 'ui-docs/ui-overview.md' },
{ 'WECS Remote Monitoring': 'ui-docs/wecs-remote-monitoring.md' }
{
'UI': [
{ 'Overview': 'ui-docs/ui-overview.md' },
Expand Down
Loading