thomvaill / log4brains

✍️ Log and publish your architecture decisions (ADR)
Apache License 2.0
1.13k stars 95 forks source link

New ADRs are not compiled to HTML on first build #41

Open mgreensmith opened 3 years ago

mgreensmith commented 3 years ago

Bug Report

Description

On the first invocation of log4brains build after adding a new ADR markdown doc, an HTML version of that doc is not created in the .log4brains/out/adr directory. On subsequent invocations of log4brains build, the HTML doc is correctly generated.

Steps to Reproduce

  1. Create a new markdown file in docs/adr
  2. Run log4brains build
  3. Observe that .log4brains/out/adr does not contain an HTML file matching the name of your markdown file
  4. Run log4brains build
  5. Observe that .log4brains/out/adr does contain an HTML file matching the name of your markdown file

Expected Behavior

All markdown files should be compiled into HTML on the first invocation of log4brains build.

Context

We notice this in CI (Github Actions), which is generally the first time we run log4brains build. But it is reproducible locally on MacOS 10.15.

Environment