-
Config lib in settings.json:
settings.json(example){ "title": "My Competitive Programming Library", "author": "Me", "code_languages": { ".c": "C", ".cpp": "C++", ".py": "Python", ".java": "Java" } }titleandauthorwill be used to generate the LaTeX document.titlewill also be used to generate theREADME.md. Incode_languages, each extension must be associated to a language supported by LaTeX code listing. -
Change lib description at docs/README.md:
docs/README.md(example)Description of my lib. It goes on the head of `README.md`.
-
Create the lib files inside lib directory.
.texfiles can be created to insert LaTeX code directly into the document. Files with other extensions will be listed as code and their extensions must be set incode_languagesin settings.json. Check Yvensíveis' lib to see an example. -
Build the lib
README.mdand LaTeX document file using NodeJS.Install NodeJS and run:
node build.js
The
README.mdwill be updated in the root directory and the LaTeX document will be created atbuild/main.tex.
yvensiveis/lib-template
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|