Skip to content

Scripts for converting source code to pdf documentation

License

Notifications You must be signed in to change notification settings

GeovanaRamos/code-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code to PDF

This repository contains scripts to help converting a source code directory into a directory of PDFs. It is usefull for generating documents to register software.

Running

First, select a repository with source code that you want to convert to PDF and get the full path to it.

Then fill the extensions.txt with the file extensions that you want to be converted (only textual files supported). If you wish, you can run

python list_extensions.py <full/path/to/directory>

to automatically fill this file with all the extensions in the provided directory and then remove the ones you don't want to convert by hand.

Finally, run

python code_to_pdf.py <full/path/to/directory>

The resulting PDFs will be located in the output folder at the current directory. The directory tree will be the same as the one passed as argument.

About

Scripts for converting source code to pdf documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages