Skip to main content

mkdocs extension to visualise package dependencies license information

Project description

mkdocs_licenseinfo

mkdocs extension to visualise package dependencies license information

Introduction

Contributing

To see the contribution guidelines, see docs/source/developing/index.md.

Setting up for development

Create a virtual environment. Install the package using pip install -e .[dev]

Then add code to the package as appropriate - submodules can be created under src/mkdocs_licenseinfo Tests can be added to the tests folder

CI

There are a set of CI checks:

  • lint: nox -t lint
  • test: nox -t test
  • build: nox -t build

specific subfolders can be passed to the test tag in nox: nox -t test -- <subfolder1> <subfolder2>

Versioning

It is important to track and version code, and to aid that with the python packages and models, setuptools_scm is used. This links the version reported at __version__ to the git tag (+ commit hash if appropriate), to reduce the amount of places that need editing when changing versions.

For describing versions we are using semantic versioning <major>.<minor>.<patch>. Increment the:

  • <major> version when you make incompatible API changes,
  • <minor> version when you add functionality in a backwards-compatible manner, and
  • <patch> version when you make backwards-compatible bug fixes.

There are also codes for pre-releases and other descriptions (see https://semver.org/)

To create a version, use git tag <major>.<minor>.<patch> and then make sure to push that tag with git push origin <major>.<minor>.<patch>, or an equivalent tagging tool (e.g. Github releases).

TODO

  • Add sbom file links for serving (::license-embed)

Repo created from nskit.recipes.python.package:PackageRecipe (version 0.0.post1.dev15+ga59b052.d20231223) using nskit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_licenseinfo-0.1.0.tar.gz (28.4 kB view hashes)

Uploaded Source

Built Distribution

mkdocs_licenseinfo-0.1.0-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page