rendercv/docs/developer_guide/index.md

1.8 KiB

Developer Guide

All contributions to RenderCV are welcome!

The source code is thoroughly documented and well-commented, making it an enjoyable read and easy to understand. Also, a flowchart is provided below to help you understand how RenderCV works.

Getting Started

  1. Ensure that you have Python version 3.10 or higher.

  2. Then, clone the repository recursively (because TinyTeX is being used as a submodule) with the following command.

git clone --recursive https://github.com/sinaatalay/rendercv.git
  1. Go to the rendercv directory.
cd rendercv
  1. Create a virtual environment.
python -m venv .venv
  1. Activate the virtual environment.

    === "Windows (PowerShell)" powershell .venv\Scripts\Activate.ps1 === "MacOS/Linux" bash source .venv/bin/activate

  2. Install the dependencies.

pip install --editable .[docs,tests,dev]

How RenderCV works?

The flowchart below illustrates the general operations of RenderCV. A detailed documentation of the source code is available in the reference.

flowchart TD
    A[YAML Input File] --parsing with ruamel.yaml package--> B(Python Dictionary)
    B --validation with pydantic package--> C((Pydantic Object))
    C --> D[LaTeX File]
    C --> E[Markdown File]
    E --markdown package--> K[HTML FIle]
    D --TinyTeX--> L[PDF File]
    L --PyMuPDF package--> Z[PNG Files]
    AA[(Jinja2 Templates)] --> D
    AA[(Jinja2 Templates)] --> E

About pyproject.toml

pyproject.toml contains all the metadata, dependencies, and tools required for the project. Please read through the file to understand the project's technical details.