Skip to content

README out of date with build instructions #5432

Closed

Description

@knolleary

Description

PR #5177 changed how the website incorporates docs from the flowfuse/flowfuse repo. There are some outstanding problems:

.claude/CLAUDE.md was updated with information about the new process - but README.md was not updated and contains out of date information.

Specifically, the fact it now clones the ff repo by default rather than use a local copy of the docs without manual intervention. This has broken the FF repo build that verifies doc changes.

It has also added docs to CLAUDE.md about an npm task called dev:nuxt. This task doesn't exist.

It has also removed the ability to watch the docs for changes and trigger automatic rebuild - was previously the npm run dev:docs task. When working on product docs, I now have to manually restart the website build every time and wait for it to complete.

I also find I'm routinely hitting nuxt/nuxt#35253 due to the version of nuxt we are using.

In addition to knowing about the FLOWFUSE_DOCS_LOCAL env var, I also have to set TMPDIR=/tmp to workaround that nuxt issue.

Epic/Story

No response

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Activity

  1. added
    taskA piece of work that isn't necessarily tied to a specific Epic or Story.
    on Jul 30, 2026
  2. dimitrieh commented on Aug 3, 2026

    @dimitrieh
    Contributor

    Created two PR's to speed this up/take some work out of the hands of engineers ideally (should be merged in order):

    1. Resolve product docs from the caller's checkout #5473
    2. Re-enable the documentation checks flowfuse#8024

    Checking CI as we speak

  3. dimitrieh commented on Aug 4, 2026

    @dimitrieh
    Contributor

    Two remaining asks:

    • the docs watcher (dev:docs), the last open item in this issue
    • live branch removal, ZJ's ask.
  4. dimitrieh commented on Aug 4, 2026

    @dimitrieh
    Contributor

    Status on the items raised here.

    Addressed:

    Open, with a PR up:

    • Docs watch. Add a docs watcher for the dev server #5495 adds scripts/watch_docs.mjs and a dev:docs task, wired into dev, so editing docs in a local checkout re-syncs without restarting the dev server. It reuses the same source resolution as the build, and no-ops when the docs come from a clone. An edit to an existing page and a newly added page both reached nuxt/content/docs within a second in testing.

    One open question on that PR: writeDocs() removes and recreates the whole content/docs tree on each sync, and how @nuxt/content's dev watcher handles that on the full docs tree is unverified. If it churns, the fix is a single-file path through copyDocsDir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskA piece of work that isn't necessarily tied to a specific Epic or Story.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions