Improvements to local serving
See individual commits for details, but the important part is that with this the cross document links are correctly linking to the local site rather than production.
The PR preview for 706b18aa6a31a07c9d28b01f742465212d14c1e3 is available at theforeman-foreman-documentation-preview-pr-1204.surge.sh
The following output files are affected by this PR:
@evgeni does that mean you approve and it can be merged?
I didn't test it, so can't really approve, but the concern I had is solved.
I've rebased this and it works for me. Can we merge this before it gets out of date again?
While testing this out I found it's annoying that it's not really live. Currently investigating nanoc with live serving.
This now takes the approach of serving everything through nanoc, including the built guides. I'm still not quite happy with it, but pushing my work since it's a better direction.
Rebased to resolve some conflicts, but no real change. https://github.com/theforeman/foreman-documentation/pull/2840 is related work that I want to build on.