markvincze / sabledocs

Simple static documentation generator for Protobuf and gRPC contracts.
MIT License
45 stars 12 forks source link

Add template_path config field to be able to specify the template folder path directly #23

Closed markvincze closed 8 months ago

markvincze commented 8 months ago

Details from here: https://github.com/markvincze/sabledocs/pull/20

I see that the template directive is not exhibited in the sample sabledocs.toml. I'm guessing that's because you haven't finalized how that would work.

I needed to use some different template files, and I ended up making this minor change.

The default template directory _default/ now appears fewer times in the code, and if template is specified in the config file, it is no longer required to be a subdirectory of the current working directory (but it still could be).

gmabey commented 8 months ago

Looks good to me!