Hi,
While working on #158 then #165 I noticed has been some developer friction added while contributing, mainly: contributing documentation is not straightforward.
One example is d295e4b, I added a paragraph to the documentation (see 13790a9) but the resulting .info file is much different. Probably because of some variable setup differently somewhere.
There should be a way to:
- Render all documents at once (ie:
make docs) so you can see if your changes had side effects (backlinks, etc)
- Provide all necessary configuration, ie: in some "setup" orgfile included from all others that ensures indentation, etc is the same regardless of local setup
- Setup a pre-commit hook that prevents commiting changes to documentation without
make docs
- A Github Action should
make docs and see that the result matches what is being committed, otherwise fail
I say make docs because everybody understands what it means, not that I am endorsing Makefile in anyway :)
Maybe a docs/_bootstrap.org file could be introduced that has all the necessary setup and is included from the other documents. It may also have a couple babel blocks with a very basic build-all-docs function, etc. That would ensure that a) all variables are consistent regardless of local environment; b) it is straightforward to build all docs. Not sure if that would work though :|
Hi,
While working on #158 then #165 I noticed has been some developer friction added while contributing, mainly: contributing documentation is not straightforward.
One example is d295e4b, I added a paragraph to the documentation (see 13790a9) but the resulting
.infofile is much different. Probably because of some variable setup differently somewhere.There should be a way to:
make docs) so you can see if your changes had side effects (backlinks, etc)make docsmake docsand see that the result matches what is being committed, otherwise failI say
make docsbecause everybody understands what it means, not that I am endorsing Makefile in anyway :)Maybe a
docs/_bootstrap.orgfile could be introduced that has all the necessary setup and is included from the other documents. It may also have a couple babel blocks with a very basicbuild-all-docsfunction, etc. That would ensure that a) all variables are consistent regardless of local environment; b) it is straightforward to build all docs. Not sure if that would work though :|