-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add detailed-message-style option #52
base: master
Are you sure you want to change the base?
Add detailed-message-style option #52
Conversation
Adds a new option 'detailed-message-style'. detailed-message-style lets you select the style of detailed message. You can select pre (preformatted text) or rst (text parsed as RST). Examples:: .. git_changelog:: :detailed-message-style: pre .. git_changelog:: :detailed-message-style: rst
Adds a new detailed-message-style 'md'. When you select this style, detailed commit message is parsed as Markdown. Example: .. git_changelog:: :detailed-message-style: md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @amedama41, this looks really good, thanks!
I have one inline request, and it'd be good if you could add something to CHANGELOG too.
docs/using.rst
Outdated
.. note:: | ||
|
||
The feature to output the messages as Markdown requires recommonmark package. | ||
recommonmark is enable to be installed by pip. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add an extra feature to setup.py so pip install sphinx-git[markdown]
(or something similar) works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for reviewing.
I have added a markdown extra feature.
This PR enables user to select detailed commit message style.
The list bellow is the selectable styles.