Hi Adam,

Have you tried using the AsciiDoc plugin in IntelliJ? It's showing the
output in real-time.

Best,
Arnold

On Fri, Dec 13, 2024 at 3:49 AM Adam Monsen <amon...@mifos.org> wrote:

> James and I both wanted to be able to quickly and easily maintain the
> awesome asciidoc in fineract-doc. To me this means a quick / local dev
> workflow. I came up with the attached Dockerfile (clear-signed for more of
> my own gpg practice ... pass that to gpg/PGP/etc. to remove the signature
> and use it). It's just a port of .github/workflows/build-documentation.yml
> to Docker that I can easily run it locally.
>
> The first build takes about 10min on my machine, and re-builds (with
> cache) are about 2.5min. This still seems pretty darn slow. Is this
> expected? Anyone have tips for faster doc editing/re-building?
>
> If a local-friendly doc build is something we might want to include right
> in the code, how might we do that? Is that something folks (besides me)
> might want? It feels odd to me to only rely on GitHub Actions for doc
> builds, so I'd be in favor of that.
>
> James is currently running into this on his mac:
> https://forums.docker.com/t/fixing-err-docker-credential-desktop-resolves-to-executable-in-current-directory/136358/4
> . His Docker Desktop is also in the process of updating so that might just
> fix it.
>
> We also discussed having the fineract-doc build save and auto-publish its
> outputs. Seems like that would be nice too, yes?
>

Reply via email to