mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[doc] Tag @todo, @fixme and @warning (#5244)
This commit standardizes the various todos around the code a bit in a manner recognized by LDoc. Besides drawing more attention by being displayed in the developer docs, they're also extractable with LDoc on the command line: ```sh ldoc --tags todo,fixme *.lua ``` However, whether that particular usage offers any advantage over other search tools is questionable at best. * and some random beautification
This commit is contained in:
@@ -451,7 +451,7 @@ function ReaderUI:showReader(file, provider)
|
||||
return
|
||||
end
|
||||
-- prevent crash due to incompatible bookmarks
|
||||
-- @TODO split bookmarks from metadata and do per-engine in conversion
|
||||
--- @todo Split bookmarks from metadata and do per-engine in conversion.
|
||||
provider = provider or DocumentRegistry:getProvider(file)
|
||||
if provider.provider then
|
||||
local doc_settings = DocSettings:open(file)
|
||||
|
||||
Reference in New Issue
Block a user