2
1
Fork 0

build: add widgets module

This commit is contained in:
outfoxxed 2024-09-15 02:21:37 -07:00
parent 34cfae3023
commit 6a7ff06785
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 13 additions and 4 deletions

View file

@ -30,6 +30,8 @@ clean:
rm -rf content/docs/types/Quickshell.Services.Notifications
rm -rf data/modules/Quickshell.Hyprland
rm -rf content/docs/types/Quickshell.Hyprland
rm -rf data/modules/Quickshell.Widgets
rm -rf content/docs/types/Quickshell.Widgets
buildtypegen:
({{build_typegen}} && cd typegen && cargo build) || true
@ -48,6 +50,7 @@ typedocs: clean buildtypegen
{{typegen_bin}} gentypes {{src_path}}/services/upower/module.md build/types/types/Quickshell.Services.UPower.json
{{typegen_bin}} gentypes {{src_path}}/services/notifications/module.md build/types/types/Quickshell.Services.Notifications.json
{{typegen_bin}} gentypes {{src_path}}/wayland/hyprland/module.md build/types/types/Quickshell.Hyprland.json
{{typegen_bin}} gentypes {{src_path}}/widgets/module.md build/types/types/Quickshell.Widgets.json
sh -c '{{typegen_bin}} gendocs {{src_path}}/core/module.md data/modules/Quickshell content/docs/types/Quickshell types/* build/types/types/*'
sh -c '{{typegen_bin}} gendocs {{src_path}}/io/module.md data/modules/Quickshell.Io content/docs/types/Quickshell.Io types/* build/types/types/*'
sh -c '{{typegen_bin}} gendocs {{src_path}}/wayland/module.md data/modules/Quickshell.Wayland content/docs/types/Quickshell.Wayland types/* build/types/types/*'
@ -60,6 +63,7 @@ typedocs: clean buildtypegen
sh -c '{{typegen_bin}} gendocs {{src_path}}/services/upower/module.md data/modules/Quickshell.Services.UPower content/docs/types/Quickshell.Services.UPower types/* build/types/types/*'
sh -c '{{typegen_bin}} gendocs {{src_path}}/services/notifications/module.md data/modules/Quickshell.Services.Notifications content/docs/types/Quickshell.Services.Notifications types/* build/types/types/*'
sh -c '{{typegen_bin}} gendocs {{src_path}}/wayland/hyprland/module.md data/modules/Quickshell.Hyprland content/docs/types/Quickshell.Hyprland types/* build/types/types/*'
sh -c '{{typegen_bin}} gendocs {{src_path}}/widgets/module.md data/modules/Quickshell.Widgets content/docs/types/Quickshell.Widgets types/* build/types/types/*'
serve: typedocs
hugo server --buildDrafts --disableFastRender

View file

@ -22,11 +22,11 @@
]
},
"locked": {
"lastModified": 1726220673,
"narHash": "sha256-TtmKMS1MOYiR04qg2vy2D240Sf+CFPR08C58xnbQIhE=",
"lastModified": 1726392226,
"narHash": "sha256-ewMrmR94Vx/Ip7MMH7BmiMbHgLabnW8CDlihJYvDmmc=",
"ref": "refs/heads/master",
"rev": "5d52e0de1adc8eb816f4c66aa045639101c333c8",
"revCount": 336,
"rev": "01f2be057e3425064bcc5fa4cf657a534adfd992",
"revCount": 340,
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
},

View file

@ -104,6 +104,11 @@
"name": "Item",
"cname": "QQuickItem",
"module": "qml.QtQuick"
},
{
"name": "Image",
"cname": "",
"module": "qml.QtQuick"
}
],
"classes": [],