I want to generate PDFs of the individual source files of my project. Preferably with syntax highlighting, but if pressed I could live without it for this particular case. I would like line numbers though.
HTML is fine too as I could just print them to PDF.
dub build -b docs
and ddox
and adrdox
etc can all generate API summary documentation, but I have a need for the source files themselves.
So far the best I've managed is to browse to the pages for the source files on GitHub and print those to PDF. It works, but you get the top of the page with the menu etc included, and it's put simply a pain to manually do when you have 75 source files.
Is there any elegant solution I'm missing?