I'm not sure if you absolutely need to, but that seems to be how it's commonly implemented, including Bootstrap's doc pages.