ssg.contributors module
Common functions for processing Contributors in SSG
- ssg.contributors.generate()[source]
Generates a list of contributors in both Markdown and XML formats.
This function retrieves the list of contributors from the ‘git shortlog -se’ command, processes the contributions by email, and maps them to contributor names. It then formats the contributors’ information into Markdown and XML strings.
- Returns:
- A tuple containing two strings:
contributors_md (str): The contributors list in Markdown format.
contributors_xml (str): The contributors list in XML format.
- Return type:
tuple