Skip to content

TourGuideSeniorDesign/code2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

code2pdf

Clone GitHub repositories and compile their source code into a single, well-formatted PDF via LaTeX.

Requirements

Usage

Edit the REPOS list in code2pdf.py, then run:

python code2pdf.py

The output is written to output.pdf in the current directory.

Configuration

Edit the constants near the top of code2pdf.py:

Variable Description
REPOS Default list of repo URLs to include
OUTPUT_PDF Output filename (default: output.pdf)
INCLUDE_EXTENSIONS Set of file extensions to include; empty = include all readable files
SKIP_DIRS Directory names to skip (e.g. node_modules, .git)
MAX_FILE_BYTES Max file size to include (default: 2 MB)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages