Auto-link h2s with ids in documentation.
Merge pull request #1478 from tmcw/permalinks

Auto-link h2s with ids in documentation.