rakutentech / docpub

DocPub is a command line utility for converting a folder structure of markdown files to HTML and uploading the result to Zendesk.
MIT License
12 stars 16 forks source link

Add configuration file #6

Closed SwinX closed 7 years ago

SwinX commented 7 years ago

Currently DocPub is being configured with environment variables. Need to replace it with convenient config. Config name should be .docpub.config Config should be located in a folder submitted to publish Minimum required fields:

SwinX commented 7 years ago

Do we need to support redefining this options with env variables or CLI args?

corycaywood commented 7 years ago

.docpub.config doesn't need to be a hidden file.

ADHER commented 7 years ago

From Scott: I suggest there be a required name for it and have the repo's gitignore set to ignore it. Then include a sample one with some instructions on copying it to the "real" config.

I agree, so there is no accidental upload with credentials. Obliviously this apply to devs.

SwinX commented 7 years ago

Additional requirements for the config: