Closed jstayton closed 9 years ago
I also like @mcordell's idea of generating Dash docset feeds.
BTW since our convention talk, when I am trying to understand a feature in the CMS I am keeping notes and currently storing them in the wiki. They aren't super detailed, but I feel like they could definitely save time. Obviously I'll move them if this idea is no good or we are going to use the wiki for something else.
I experimented with the Wiki today:
Page organization can be handled with a Table of Contents page and custom sidebars.
It seems like using the wiki for higher-level / more in-depth documentation is working out well. Anyone think we should explore other options?
Or any additional ideas in general before I turn this into a formal pull request? I think there are some things we don't know yet — like what to use for API documentation — but we can leave that out for now and add it once we know.
@shanebonham @mcordell @rickyatmonk @lefthand @etdebruin @kennykaye
:thumbsup:
:+1: to make a PR
:thumbsup:
Any ruling on the dash doc sets?
@mcordell:
Any ruling on the dash doc sets?
Totally cool with me. Anything we need to do to make it work that should be mentioned here?
Yeah I might have to explore further, but if recall correctly it requires the OSX command line tools so it probably cannot be integrated into the deploy process. I'll try to think of another solution.
Yeah you can generate the HTML, HTML->docset is the step that require OSXs docsetutils
A few more...
Recommended README outline:
Title
=====
[Badges]
One sentence description.
* [Link to documentation]
* [Or staging and production]
* [Or anything of importance]
Overview
--------
Explain how things work. For an app, give a high-level overview of the system. For a library, explain how to install, configure, and integrate.
### Use
#### Sections
#### As
### Necessary
Development
-----------
Explain how to setup the development environment. List prerequisites like languages and databases that can't be installed automatically, as well as dependencies that can. List the commands for building documentation, running tests, executing tasks, etc.
Deployment
----------
Explain and list the commands for deploying, restarting services, etc.
All functions and methods should be documented, including parameter(s), return value(s), and exception(s) that can be thrown/raised.
Would you include vanilla getters and setters with this?
In non-generated / custom classes, I do document them. In something like CMS models, I wouldn't.
I see a few different types of documentation:
README.md
. Here's an example of how I wrote it for Monk ID JS.