kasei / attean

A Perl Semantic Web Framework
19 stars 10 forks source link

Add documentation for roles and classes #24

Open kasei opened 9 years ago

kasei commented 9 years ago

There are many roles and classes in Attean that are not documented. Most roles and classes that are not currently documented share a lot of description/boilerplate POD with roles/classes that already exist. See any .pod file in lib/Attean/API/ for an example of a documented role. Similar .pod files are needed for all roles defined under Attean::API.

The documentation for roles contained under Attean::API follows a template for describing the role and its attributes, required methods, and provided methods.

Documentation for classes follows a similar template describing consumed roles, constructor(s) API, attributes, and methods.

This should be a very easy task for many of the roles/classes that are missing documentation.

kasei commented 9 years ago

Here are some example templates:

This is a list of all classes and roles currently in the Attean codebase. They're checked off if they have POD, and not checked off if they either don't have POD or have POD but it hasn't been checked to be aligned with the new POD templates.

Load-points and Utilities

API Roles

Algebra

Expressions

Terms, Variables, Patterns, and Bindings

Iterators

Stores and Models

Parsers

Serializers

Query Planning and Evaluation

Miscellaneous

kjetilk commented 9 years ago

I have also made an issue #31 that is somewhat relevant to this.