Skip to content

Consider gitignoring the generated docs tailwind.sources.css fleet-wide #71

Description

@mhenrixon

Raised by cubic on glyphs#11 and locallingo#6: docs/app/assets/stylesheets/tailwind.sources.css is regenerated by bin/build-css on every build via bundle show, yet the sites commit it — so it churns with machine-specific absolute gem paths (/Users/<user>/.gem/ruby/<version>/...) on every rebuild by a different machine/Ruby, and the committed copy is a stale snapshot no build actually consumes (.dockerignore excludes it; every build path runs bin/build-css first).

Options:

  1. Gitignore it fleet-wide (like app/assets/builds/*) — the install generator and --sync migration would add the ignore + git rm --cached.
  2. Keep committing it but write portable/relative globs so it stops churning.

Either way it's a docs-kit convention decision that should ship via the generator + a --sync migration, not per-site hand edits — which is why it was pushed back on in the two PRs above.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions