We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83eee6 commit d14115aCopy full SHA for d14115a
readthedocs/proxito/views/hosting.py
@@ -59,6 +59,25 @@ def get(self, request):
59
),
60
},
61
"doc_diff": True,
62
+ "flyout": {
63
+ "translations": [],
64
+ "versions": [
65
+ {
66
+ "slug": version.slug,
67
+ "url": f"/{project.language}/{version.slug}/",
68
+ }
69
+ for version in project.versions.filter(active=True)
70
+ ],
71
+ "downloads": [],
72
+ # TODO: get this values properly
73
+ "vcs": {
74
+ "url": "https://github.com",
75
+ "username": "readthedocs",
76
+ "repository": "test-builds",
77
+ "branch": version.identifier,
78
+ "filepath": "/docs/index.rst",
79
+ },
80
81
82
}
83
0 commit comments