ml-tooling / lazydocs

📖 Generate markdown API documentation from Google-style Python docstring. The lazy alternative to Sphinx.
MIT License
197 stars 38 forks source link

Make _SOURCE_BADGE_TEMPLATE src customizable #47

Closed janosh closed 1 year ago

janosh commented 1 year ago

Feature description:

Great tool! Thanks for publishing! Would you take a PR to make the src attribute of _SOURCE_BADGE_TEMPLATE configurable?

Problem and motivation:

Not a huge fan of the style=flat-square nor the cccccc color.

https://github.com/ml-tooling/lazydocs/blob/3dde4373b2a36c51ed3679ba1b72d7d26ea4fa7a/src/lazydocs/generation.py#L31-L33

Is this something you're interested in working on?

Yes but not sure about timeline atm.

janosh commented 1 year ago

Just played around a bit. The src I'd like to achieve is https://img.shields.io/badge/source-blue?style=flat:

Screenshot 2022-12-27 at 20 39 40

janosh commented 1 year ago

Default is:

Screenshot 2022-12-27 at 20 40 40
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days