Work with Read the Docs, then you'll find that PR for documentation needs additional steps like:
This bot automates the first approach; activate RTD build automatically when you made PR that updates
To install rtd-bot to your GitHub repository, follow these interactions:
rtd-botuser to your RTD project as maintainer.
.github/config.ymlfile in your repo.
Here is a sample
rtd: project: your-read-the-docs-project
If you use translations feature, make sure you've configured all your RTD projects including translations.
.github/config.yml file, set the project slug of the root RTD project.
In Read the Docs, inviting maintainer means you give admin access to target account.
So if you do not want to invite
rtd-bot as maintainer, you can host this Probot app by own.
To host this bot by own, you need to set following environment variables:
RTD_USERNAMEthat is same with user name of Read the Docs
RTD_PASSWORDthat is same with password of Read the Docs
APP_IDthat is described at Probot document.
PRIVATE_KEYthat is described at Probot document.
To run this bot on Heroku, you need to add a buildpack. See puppeteer document for detail.
Copyright © 2018-2019 Kengo TODA
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
The RTD Helper's avatar is designed by MAM2.