dauxio / daux.io

Daux.io is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way.
https://daux.io/
MIT License
794 stars 196 forks source link

Multilang error generating html #63

Closed IAvilaE closed 5 years ago

IAvilaE commented 6 years ago

I'm trying to generate html documentation using multilanguage, But when I execute the command daux generate I get following output:

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]

Actually I'm using the example given in daux documentation, but I have attached the docs folder, maybe I'm still doing something wrong. docs.zip

cubortea commented 6 years ago

i have the same problem too like this, anyone can help about this?

onigoetz commented 6 years ago

Hello, I couldn't reproduce it in 0.8.0, can you try it and tell me if it works ?

IAvilaE commented 6 years ago

Hi, I have downloaded right now the version 0.8.0 and:

And I got same error.

Thanks for your response.

onigoetz commented 6 years ago

I tried exactly the same right now and it worked : image

Can you please tell me more about your install ? version of PHP, extensions, OS, special configurations.

Thanks in advance.

IAvilaE commented 6 years ago

I use windows 10, php 7.0.13 and following extensions: extension=php_mbstring.dll extension=php_openssl.dll

Doing the same than u I get this: image

onigoetz commented 6 years ago

It seems that your version of PHP is outdated, Daux supports PHP 7.1.3 and up. I just tried on windows 10 with PHP 7.2.5 and it works fine

onigoetz commented 5 years ago

Closing because of no activity