创建与 public gitlab 仓库同步的 readthedocs.io 仓库

creating a readthedocs.io repo in sync with a public gitlab repo

我这里有一个 public gitlab 项目 https://gitlab.com/parmentelat/minisim2

我尝试在 readthedocs.io 中添加相应的项目,以便将新提交推送到 gitlab 会触发 readthedocs

上的文档重建

我经常对托管在 github 的项目执行此操作,这真的很容易 - 至少在我的设置下 - 因为 readthedocs 立即向我显示了 github 存储库的更新列表,以及所有内容之后就顺利了

尝试在 readthedocs 下导入这个 gitlab 项目时,我必须选择 'Import manually',因为我的 gitlab 项目不会显示。 (在我的 readthedocs 设置页面的 'connected services' 中,我可以找到连接到 github 和 bitbucket 的方法;gitlab 似乎不受支持)

很公平,我尝试了这种手动导入,但那时无论我如何尝试拼写项目的 URL 以及我尝试使用什么方法(git 或 https)进行导入项目,我收到此错误消息

This repository doesn't have a valid webhook set up. That means it won't be rebuilt on commits to the repository. You can resync your webhook to fix this.

我正在尝试做的事情是否可行?

我需要在 git实验室方面做一些具体的事情吗

感谢任何提示

您可以在 gitlab.com:

上手动设置 webhook
  • 单击项目的设置图标
  • Select "Integrations"
  • 输入上面的URL、select、"Push events"和"Enable SSL verification"
  • 点击"Add Webhook"

应该可以了。