Gofmt the iOS build files and escape angle brackets in Dart docs
CI / go (Server) (push) Canceled after 0s
CI / go (Web-App) (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (ubuntu-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / mobile (push) Canceled after 0s
CI / docker (push) Canceled after 0s

The Wails-generated files under Desktop-App/build/ios lacked a final
newline, so gofmt flagged them.

The Dart model generator copied API descriptions into doc comments
as-is, and "<token>" read as HTML to flutter analyze. Wrap any <...>
in backticks so it renders as code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tajniak81andClaude Opus 5.5 committed 2026-10-31 21:15:01 +01:00
1 parent dbe49b892f
commit 8aeebbff12
5 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -7,4 +7,4 @@ import "github.com/wailsapp/wails/v3/pkg/application"
// modifyOptionsForIOS is a no-op on non-iOS platforms
func modifyOptionsForIOS(opts *application.Options) {
// No modifications needed for non-iOS platforms
}
}
+1 -1
View File
@@ -8,4 +8,4 @@ import "github.com/wailsapp/wails/v3/pkg/application"
func modifyOptionsForIOS(opts *application.Options) {
// Disable signal handlers on iOS to prevent crashes
opts.DisableDefaultSignalHandler = true
}
}
@@ -316,4 +316,4 @@ func promptUser(question string) bool {
response = strings.ToLower(strings.TrimSpace(response))
return response == "y" || response == "yes"
}
}
+1 -1
View File
@@ -1748,7 +1748,7 @@ class ShareLink {
final String token;
/// The link on docwell-web (DOCWELL_WEB_URL/share/<token>)
/// The link on docwell-web (DOCWELL_WEB_URL/share/`<token>`)
final String url;
final bool includeSubpages;
+6 -1
View File
@@ -273,7 +273,12 @@ class _Generator {
static void _doc(StringBuffer b, String? text, String indent) {
if (text == null) return;
for (final line in text.trim().split('\n')) {
b.writeln('$indent/// ${line.trim()}');
// Angle brackets would read as HTML in dartdoc, so code-span them.
final doc = line.trim().replaceAllMapped(
RegExp(r'<[^<>\s]+>'),
(m) => '`${m[0]}`',
);
b.writeln('$indent/// $doc');
}
}