Search code examples
docpad

What are docpad environment defaults / how to configure


Cannot find any information on the defaults/configs for environment. Actualy I want an own generate --env myenv without minification of the html output as --env development does.


Solution

  • I had a look at the jade-plugin-files. So you need this in your docpad.coffee:

    environments:
      static:
        plugins:
          jade:
            jadeOptions: 
              pretty: true