daux.io icon indicating copy to clipboard operation
daux.io copied to clipboard

Add support for --destination in config.json

Open N6REJ opened this issue 6 years ago • 3 comments

Is your feature request related to a problem? Please describe. Gitlab requires pages to be in the "public" folder.

Describe the solution you'd like "html": { "destination_folder": "../public" }

having to use --destination="../public" each time is highly annoying.

N6REJ avatar Oct 13 '19 04:10 N6REJ

Hello, I'll have a look at this. But can't promise any release date.

onigoetz avatar Oct 21 '19 15:10 onigoetz

I'm coming back to this. I wanted to implement it and wondered : if you set a relative path in this configuration. should it apply it relative to the configuration file, the root of the docs folder or the current working directory ?

I'm not entirely sure which is the most intuitive

onigoetz avatar Nov 26 '19 21:11 onigoetz

I'd say relative to root of docs. Just make sure it accepts ../ as a valid path.

N6REJ avatar Nov 26 '19 21:11 N6REJ