Fix errors while generating docs. Probably the fact that we have the sam...

...e

footnote reference in several places (current-docs/2.0.x-docs and the like)
was the problem.