sphinx.ext.githubpages – Publish HTML docs in GitHub Pages

From Get docs
Sphinx/docs/4.1.x/usage/extensions/githubpages

sphinx.ext.githubpages – Publish HTML docs in GitHub Pages

New in version 1.4.


Changed in version 2.0: Support CNAME file


This extension creates .nojekyll file on generated HTML directory to publish the document on GitHub Pages.

It also creates a CNAME file for custom domains when html_baseurl set.