My personal summerized LeetCode Python templates.
- Binary Search
- Prefix Sum
- Intervals
This project uses Sphinx for documentation generation. To build the documentation locally:
Create and activate a virtual environment:
python3 -m venv env
source env/bin/activate # On Windows: env\Scripts\activateInstall the required packages from the documentation requirements:
pip install -r docs/requirements.txtNavigate to the docs directory and build:
cd docs
make htmlThe generated HTML documentation will be available in docs/build/html/. Open docs/build/html/index.html in your browser to view it.
You can also use sphinx-build directly:
cd docs
sphinx-build -b html source build/htmlTo clean the build directory and rebuild from scratch:
cd docs
make clean
make html