Background
I am a technical writer trying to use Read the Docs to generate documentation for one of our product. As we have a non-disclosure agreement for any publication, I have to host the documentation on a virtual machine for customers with intranet access to read.
Installation
GitLab
My VM is a CentOS 8. I installed GitLab Community Edition through Docker. I created a repository for my Markdown source code under the root account, the address of the repo being http://${vm_address}/root/${repo_name}
. The GitLab container runs on Port 20 of my VM.
Read the Docs
As RTD does not officially support On-premise deployment, I pulled an unofficial image from Docker. See vassilvk/readthedocs. This RTD container runs on Port 8000 of my VM. I use username "admin" to log into RTD.
Procedure I Took to Integrate GitLab and RTD
To import the source code in my GitLab, I did the following:
- On the Project page, click Import a Project.
- Click Import Manually on the left panel.
- In the Project Details page, fill in the fields as follows:
- Project name: ${my_project_name}
- Repository URL: ${Clone_With_HTTP_Address}
I copied the URL from the "Clone with HTTP" field under the Clone button dropdown in GitLab
- Repository Type: Git
- In the Advanced Project Options, I set Documentation Type to Sphinx HTML.
- Click Finish.
Result
The build fails with error code 1
.
Question
- Where did I do wrong with the RTD project settings?
- Is something wrong going on with my RTD or GitLab container settings?
- Do I still need to install Sphinx on the VM?