version docs pages

This commit is contained in:
outfoxxed 2025-07-22 01:08:30 -07:00
parent 5865251560
commit 21e175d3a6
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
31 changed files with 329 additions and 388 deletions

View file

@ -96,7 +96,7 @@ export function getQMLTypeLinkObject(unparsed: string) {
return hashMap[index]();
}
export function getQMLTypeLink({
export function getQMLTypeLink(version: string, {
type,
module,
name,
@ -107,7 +107,7 @@ export function getQMLTypeLink({
return "#unknown";
}
const qtStart = "https://doc.qt.io/qt-6/";
const localStart = "/docs/types";
const localStart = `/docs/${version}/types`;
const hashMap = {
local: () => {