Open jerbaroo opened 4 years ago
I don't like this actually. Continually testing documentation, and requiring commits to include documentation will mean commits are obscured by HTML files.
Instead this test should only be done as part of the release script #190
This is added as part of #190 however there's a problem with pdoc. pdoc can't handle NewType
s. Everytime that docs are generated, any NewType
which is part of a type annotation is replaced with an address in memory e.g. 0x12345678
.
Build the docs as part of the test script and compare the newly built docs to the previously built docs.
Then CircleCI won't let us push code to the repo without up-to-date docs.