We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8a72f5 commit 743117eCopy full SHA for 743117e
readthedocs/doc_builder/backends/sphinx.py
@@ -72,6 +72,12 @@ def get_config_params(self):
72
)
73
remote_version = self.version.commit_name
74
75
+ # Replace "/origin" because upstream VCS does not recognize the local
76
+ # repo remote name
77
+ # Refs: https://github.com/rtfd/readthedocs.org/issues/3203
78
+ if remote_version:
79
+ remote_version = remote_version.replace("origin/", "")
80
+
81
github_user, github_repo = version_utils.get_github_username_repo(
82
url=self.project.repo)
83
github_version_is_editable = (self.version.type == 'branch')
0 commit comments