Skip to content

yvensiveis/lib-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Template

How to use the template

  1. 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"
        }
    }

    title and author will be used to generate the LaTeX document. title will also be used to generate the README.md. In code_languages, each extension must be associated to a language supported by LaTeX code listing.

  2. Change lib description at docs/README.md:

    docs/README.md (example)

    Description of my lib. It goes on the head of `README.md`.
  3. Create the lib files inside lib directory.

    .tex files 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 in code_languages in settings.json. Check Yvensíveis' lib to see an example.

  4. Build the lib README.md and LaTeX document file using NodeJS.

    Install NodeJS and run:

    node build.js

    The README.md will be updated in the root directory and the LaTeX document will be created at build/main.tex.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors