jahknem / cookiecutter-netbox-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cookiecutter NetBox Plugin

Cookiecutter template for a NetBox plugin, built with popular develop tools and conform to best practice.

Features

This tool will create Python project with the following features:

  • Mkdocs: Writing your docs in markdown style
  • Format with Black and Isort
  • Lint code with Flake8 and Flake8-docstrings
  • Pre-commit hooks: Formatting/linting anytime when commit your code
  • Mkdocstrings: Auto API doc generation
  • Continuous Integration/Deployment by GitHub actions, includes:
    • publish documents automatically when CI success
    • extract changelog from CHANGELOG and integrate with release notes automatically
  • Host your documentation from GitHub Pages with zero-config

Quickstart

Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher):

pip install -U cookiecutter

Generate a Python package project:

cookiecutter https://github.com/netbox-community/cookiecutter-netbox-plugin.git

Then follow Tutorial to finish other configurations.

About

License:Apache License 2.0


Languages

Language:Python 89.9%Language:HTML 5.1%Language:Makefile 5.0%