JuliaDocs / DocumentationGenerator.jl

MIT License
21 stars 7 forks source link

Rewrite `makedocs` also if it's not on top-level #224

Closed mortenpi closed 2 months ago

mortenpi commented 2 months ago

Fix #223.

mortenpi commented 2 months ago

So this now contains three separate fixes to get JuliaHub.jl to build:

  1. Rewrite non top level makedocs calls.
  2. Run makedocs with warnonly = true, so that at-example block failures wouldn't fail the documentation builds.
  3. Unset JULIA_LOAD_PATH to make sure that the code loading the subprocess would be not be affected by the parent env.