mottosso / bleeding-rez

Rez - Reproducible software environments for Windows, Linux and MacOS
GNU Lesser General Public License v3.0
72 stars 10 forks source link

rez list #64

Open mottosso opened 5 years ago

mottosso commented 5 years ago

Goal

Generate a HTML or Markdown package summary.

Related

Motivation

As a package repository grows, it can be challenging to stay on top of what's there. Writing documentation for a package is great, but how do you expose it to the user?

Implementation

Generate documentation from a package repository, using the contained package data as a foundation, with additional support for docstring, comments on variables and a syntax for executable examples.

"""I'll be written as a summary of this package

And this longer section is made into a description. Very much like Sphinx/Napoleon.

Attributes:
  name (str): Name of package
  version (str): A version number
  commands (callable): ...

"""

name = "my_package"
version = "1.0"