From d664db9610ef7a6d797f36c8f4c38b5bbe6d08d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 1 Feb 2026 11:37:44 +0100 Subject: [PATCH] Enhance documentation formatting --- GRDB/Core/Database+SQLCipher.swift | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/GRDB/Core/Database+SQLCipher.swift b/GRDB/Core/Database+SQLCipher.swift index 678d42815..198b2a3e7 100644 --- a/GRDB/Core/Database+SQLCipher.swift +++ b/GRDB/Core/Database+SQLCipher.swift @@ -148,13 +148,15 @@ extension Database { /// from Zetetic: https://www.zetetic.net/sqlcipher/buy/ /// 15-day free trials are available by request: https://www.zetetic.net/sqlcipher/trial/ /// - /// Call this method from `Configuration.prepareDatabase`, + /// Call this method from ``Configuration/prepareDatabase(_:)``, /// as in the example below: /// - /// var config = Configuration() - /// config.prepareDatabase { db in - /// try db.applyLicense(license) - /// } + /// ```swift + /// var config = Configuration() + /// config.prepareDatabase { db in + /// try db.applyLicense(license) + /// } + /// ``` /// /// See https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_license /// - Parameter license: base64 SQLCipher license code to activate SQLCipher commercial