Skip to content
Merged
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
3 changes: 2 additions & 1 deletion nuxt/lib/docs-sync.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const CLONE_BACKOFF_MS = 2000

// Whatever checkout sits next to the website repo wins. CI puts the flowfuse repo there,
// so a build validates the docs of the caller's checkout rather than whatever main
// happens to be. The release pipeline depends on this.
// happens to be. The `Test Documentation with website` job in FlowFuse/flowfuse checks
// both repos out side by side and relies on this.
const SIBLING_PATHS = ['../dev-env/packages/flowfuse', '../flowfuse', '../flowforge']

export const MANIFEST_FILE = '.source.json'
Expand Down
4 changes: 2 additions & 2 deletions scripts/sync_docs.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
// Populates nuxt/content/docs outside of a Nuxt build, so CI can commit the result as a
// snapshot. Uses only node builtins: this runs before `npm install`.
// Populates nuxt/content/docs outside of a Nuxt build, so CI can resolve the docs before
// installing dependencies. Uses only node builtins: this runs before `npm install`.

import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
Expand Down