Post process documentation before it is installed.

Summary:
Added a rule to replace a placeholder with the version number in the
         documentation so that we automate inclusion of the version in the
         index page.

Test Plan: Build and inspect documentation.

Reviewers: #diana, lisbethb

Reviewed By: #diana, lisbethb

Differential Revision: https://phab.met.no/D103