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
795 stars 196 forks source link

The template "theme::home" could not be found at "templates/home.php" #329

Open dvikan opened 2 years ago

dvikan commented 2 years ago

I have a templates folder in my repo which is unrelated to daux. How can I instruct daux to ignore it?

Run daux generate
  daux generate
  shell: /usr/bin/bash -e {0}
  env:
    COMPOSER_PROCESS_TIMEOUT: 0
    COMPOSER_NO_INTERACTION: 1
Copying Static assets ...                                             [  OK  ]
Generating ...
- index.html                                                          [ FAIL ]
In Template.php line 155:
  The template "theme::home" could not be found at "templates/home.php".  
generate [-c|--configuration CONFIGURATION] [-s|--source SOURCE] [-p|--processor PROCESSOR] [--no-cache] [-t|--themes THEMES] [--value VALUE] [-f|--format FORMAT] [--delete] [--printDiffAndExit] [-d|--destination DESTINATION]
Error: Process completed with exit code 1.
onigoetz commented 2 years ago

Hi, at the moment there is no way to instruct daux to ignore it.

I'll see if I can come up with a fallback (that would make this transparent) or an option