在Daux.io中使用多语言会产生错误

时间:2018-07-30 06:58:22

标签: documentation multilingual documentation-generation

我正在尝试使用多语言生成html文档,但是当我执行daux generate命令时,得到以下输出:

Copying Static assets ...                                                                                                                                                                     [  OK  ]
Generating ...
- index.html                                                                                                                                                                                  [ FAIL ]

  [LogicException]
  The template function "translate" was not found.

generate [-c|--configuration CONFIGURATION] [-s|--source SOURCE] [-f|--format FORMAT] [-p|--processor PROCESSOR] [-t|--themes THEMES] [--delete] [-d|--destination DESTINATION] [--search]

实际上,我使用的是daux文档中提供的示例,但是在以下链接中,可以下载docs文件夹,也许我还在做错什么:https://www.dropbox.com/s/5lm11bbwcm34zai/docs.zip?dl=0

有人遇到过同样的麻烦吗?如果是这样,如何解决?

谢谢。

0 个答案:

没有答案