Allow passing autodoc commit sha via env variable
Clarification and motivation
We want mkDGitRevision
in autodoc modules to not necessarily use git, but first try to check the corresponding environment variable. Motivation: when building in a sandbox git environment may be not available.
Acceptance criteria
If the project is built with some environmental variable, then its value is used as commit sha.
Edited by Konstantin Ivanov