Skip to content

Refactor notebook generation #19

@leloykun

Description

@leloykun

Context

  • preprocess.py and build_tex are borderline unreadable for newbies

TODOs

  • Remove unused codes & constants (such as TO_HASH & all the hash-related stuff in preprocess.py
  • Convert code directory, column width, and other constants into file arguments
  • Wrap the codes into main functions and use if __name__ == "__main__"
  • Make the codes more modular. Ideally each subfunction should only be < 60 lines long
  • Document each subfunction

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions