nightscout / process-controls

Placeholder for documentation on variety of organizational processes in Nightscout.
http://process-controls.readthedocs.org/en/latest/index.html
GNU Affero General Public License v3.0
2 stars 3 forks source link

supporting documentation #2

Open bewest opened 9 years ago

bewest commented 9 years ago

Need

See also:

bewest commented 9 years ago

Documentation is updated most frequently when close to the source. Proposal is to use continuous publishing to automatically analyze the repo contents on each commit, ripping out the needed documentation, and publishing the results as part of the automated test suite. The test suite should output json and markdown archive of the analysis. These tools allow transforming source files into markdown:

Introducing tags like @hazard allows the json export, and thus the templates to assemble special hazards reports and other deliverables, we can use pandoc and friends to automate re-rendering between pdf, html, and other outputs:

This approach makes it easy to combine light-weight, easily maintained prose documents in markdown with automatically compiled results, using static analysis of the repo and source to create a comprehensive suite of documentation.

Building in travis allows using submodules and other arbitrary tools, and also allows pushing the "build artifacts" to a protected resource.

I've only explored toolchains to help with javascript, but suspect there are tools that can perform similar tasks for objective c, java, and others if needed.

bewest commented 9 years ago

I got carried away with some of the technical things earlier, I've since stubbed out at least 4 high level, prose documents, I think most people can help out with in some way.

I tried to focus on "what" hoping we can find a way to recycle or re-use or perhaps even enhance existing documents.

bewest commented 9 years ago

See http://nightscout.github.io/posts/2015-02-28-proposed-roadmap/, https://github.com/nightscout/process-controls/issues/3 for how this fits in with grand scheme of things.

In summary:

  1. Monitor
  2. Predict
  3. Control

is a very broad, rough outline for general iterative roadmap, this discussion of approval vs ongoing compliance is unique to Monitoring phase only, preparing groundwork for the more advanced work.

bewest commented 9 years ago

http://www.fda.gov/downloads/MedicalDevices/DeviceRegulationandGuidance/HumanFactors/UCM290561.pdf

bewest commented 9 years ago

data-flow

bewest commented 9 years ago

Here are our minutes from the last meeting: https://gist.github.com/bewest/ed7b0e4965442252f6a8#file-minutes-md