[doc, plugin] Exporter: manually specify module name (#10465)

Follow-up to <https://github.com/koreader/koreader/pull/10464>.
reviewable/pr10468/r1
Frans de Jonge 1 year ago committed by GitHub
parent 09425ea729
commit 710614752d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
--[[
--[[--
Export highlights to different targets.
Some conventions:
@ -22,7 +22,8 @@
- Booknotes: Every table in clippings table. clippings = {"title" = booknotes}
--]]
@module koplugin.exporter
--]]--
local DataStorage = require("datastorage")
local Device = require("device")
@ -174,7 +175,7 @@ function Exporter:exportAllNotes()
end
--- Parse and export highlights from selected documents.
-- @tparam table files list of files 'file_path = true'
-- @tparam table files list of files as a table of {[file_path] = true}
function Exporter:exportFilesNotes(files)
local clippings = self.parser:parseFiles(files)
for title, booknotes in pairs(clippings) do

Loading…
Cancel
Save