mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-01-19 18:21:18 +08:00
1、完善日志配置
2、文章自动生成摘要 3、修正文档名称问题 4、修复Redis无法读取缓存的BUG
This commit is contained in:
@@ -510,8 +510,6 @@ func (this *Converter) convertToMobi() (err error) {
|
||||
args := []string{
|
||||
filepath.Join(this.OutputPath, "content.epub"),
|
||||
filepath.Join(this.OutputPath, output, "book.mobi"),
|
||||
"--debug-pipeline",
|
||||
"--verbose",
|
||||
}
|
||||
cmd := exec.Command(ebookConvert, args...)
|
||||
if this.Debug {
|
||||
@@ -526,8 +524,6 @@ func (this *Converter) convertToPdf() (err error) {
|
||||
args := []string{
|
||||
filepath.Join(this.OutputPath, "content.epub"),
|
||||
filepath.Join(this.OutputPath, output, "book.pdf"),
|
||||
"--debug-pipeline",
|
||||
"--verbose",
|
||||
}
|
||||
//页面大小
|
||||
if len(this.Config.PaperSize) > 0 {
|
||||
@@ -579,8 +575,6 @@ func (this *Converter) convertToDocx() (err error) {
|
||||
args := []string{
|
||||
filepath.Join(this.OutputPath , "content.epub"),
|
||||
filepath.Join(this.OutputPath , output , "book.docx"),
|
||||
"--debug-pipeline",
|
||||
"--verbose",
|
||||
}
|
||||
args = append(args, "--docx-no-toc")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user