hackforla / peopledepot

A project to setup a datastore for people and projects at HackforLA. The link below takes you to the code documentation
https://hackforla.github.io/peopledepot/
GNU General Public License v2.0
5 stars 24 forks source link

Create guideline for documenting clarifications #182

Open fyliu opened 11 months ago

fyliu commented 11 months ago

Dependency

Overview

We would like to come up with a guideline for where to put clarifying documentation in the code so that it's helpful for people maintaining it and using it.

Details

We can use issue #162 which has clarifying information about sponsors and partners that's not obvious which makes it more important to be documented. We can use the diataxis structure for documentation to create Reference docs for the models and APIs and Explanation docs for the sponsor/partner concept.

Action Items

Resources/Instructions

Sponsor/Partner clarification (copied from #65)

Sponsor/partner relationships stored in this table are project-dependent. They cannot be both a sponsor and a partner for the same project, so if is_sponsor is FALSE they are a project partner, if is_sponsor is TRUE they are a project sponsor.

Project vs Org level clarification (copied from #65)

... sponsor/partner relationships are project-dependent, so is_sponsor stays in this table. They cannot be both a sponsor and a partner for the same project. In addition, they can also be a sponsor or partner at the org level, so the levels are:

Org level sponsors and partners (copied from #162)

There can be sponsors or partners at the org level as well as for individual projects. The same entity cannot be both a sponsor and a partner for a single project, but can be both a sponsor and a partner to the organization itself.

fyliu commented 10 months ago

I added #162 as a dependency. It has a more complete high-level discussion of how sponsors and partners work in the system. This can become a docs page about "Sponsors and Partners" which explains what an external entities can become sponsors and partners of. It would be helpful if it can contain links to the Reference docs for the 2 models which provide definitions of the model fields. And those model docs can reference the Explanation page.