Standard Sphinx convention for section headings is to use `^` (after `-`) and then `"`. You're currently using `.` and `~`.