Creating a PDF magazine from git commits

I know that I can view previous commits in different ways using the git log, but I was wondering if anyone here could recommend some good tools for creating a PDF or HTML log from git. I was hoping I could create something similar to the Github logging style, but with different information.

If people have no ideas about programs for creating these magazines, what are their thoughts or recommendations if I try to create my own generator?

+7
source share
3 answers

Since the project should be pretty soon, I just wrote a quick script myself to display the log the way I want, it just dumps the data from git-log and displays it in a template (borrowed from GitHub).

Output example

Additional Information

+3
source

I wrote one that generates a change log from my tags. You can learn more about this in your blog post , but the main idea is that a well-written tag should basically do this anyway and easily provide the user with tiered documents.

+1
source

If you still use Github, I wonder why not save the html and specified css files and run them through the html2pdf converter, say Pisa converter .

With a little css setup, I suppose you get high-quality, well-formatted pdf files just like you do.

Alternatively, you can store diff in txt files and pass them through libraries containing html to highlight syntax like Pygments and follow a similar process with Pisa, as described above.

0
source

All Articles