13. Read the docs (RTD)

13.1. Sign up to RTD


13.2. Connect to GitHub

Connect to github via settings so that all github projects are listed in RTD:


13.3. Import GitHub project

  • Go to https://readthedocs.org/dashboard/

  • Click: Import project or choose the project from the list (if previously imported)

  • Click refresh to show all GitHub repositories

  • Click on a plus sign for a repo

  • Name and URL are automatic

  • Advanced: enter β€œmaster” as branch for latest.

  • Click Build to build it in RTD.


13.4. Integrations - GitHub Webhooks

Read the Docs provides integrations, mainly using webhooks. Integrations are configured GitHub, and with each change to your repository, Read the Docs is notified and a build is triggered.
  • Go to https://readthedocs.org/dashboard/

  • Click the project in the list (previously imported)

  • Click Admin to show the settings

  • Click Integrations.

  • Click Add integration.

  • Choose GitHub incoming webhook.


13.5. RTD Advanced Settings

  • Go to https://readthedocs.org/dashboard/

  • Click on Admin

  • Click on Advanced Settings

  • Scroll to the bottom to check or uncheck Enable PDF build

  • These settings should be set in the .yaml config file.


13.6. RTD Documentation