[drupal-docs] [task] How to understand a module so you can document it

Amazon drupal-docs at drupal.org
Wed Aug 31 01:32:07 UTC 2005


Issue status update for 
http://drupal.org/node/30049
Post a follow up: 
http://drupal.org/project/comments/add/30049

 Project:      Documentation
 Version:      <none>
 Component:    Admin Guide
 Category:     tasks
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  Amazon
 Updated by:   Amazon
 Status:       active

First off, thanks for your help.


1.  Here's the contributed modules:
http://drupal.org/handbook/config/contribmodules
2. Is there any sort of template we should follow? For example:
- Module name-  Done
- Maintainer-  That's available in the project, I am proposing the
addition of a link to submit an issue.  Otherwise maintainer is in the
project.
- Module project page link-  This is better than maintainer, IMO.
- Dependencies (both "hard" dependencies and also other modules that
enhance this module in some way)- It's wanted but a lot of work.
- Description (what does the module do generally?) -that's the first
paragraph of Admin help.
- Usage examples (why would I actually want to use it?)-  That's what
the child pages are for.  But we haven't got a lot of submissions.
- Installation instructions (if there's anything special you need to do
other than the norm)-  That's in the INSTALL.TXT
- Setting permissions (what permissions exist and what they do)-  I am
ambivalent, but it could be useful.  I link to access control would be
good.
- Usage instructions (common tasks and how to perform them - this could
potentially be quite long, depending on the module)-Well the idea is the
second paragraph is common tasks.  The "you can" section is context
sensitve links to show you want you can do.
- Notes (misc. points of interest, user submitted tidbits, etc.)-Good
for child pages.


There is already some attempts to make this work.


3.  We have agreed to single source the documentation for the code in
the handbook and extract from there.  Does that answer your question?




Amazon



Previous comments:
------------------------------------------------------------------------

Tue, 30 Aug 2005 21:14:47 +0000 : Amazon

http://drupal.org/node/30048




------------------------------------------------------------------------

Tue, 30 Aug 2005 22:25:49 +0000 : Bèr Kessels

so, the post seems fine. what about this issue. close it?




------------------------------------------------------------------------

Wed, 31 Aug 2005 00:53:11 +0000 : webchick

Hm. A couple things I see missing from this document, as someone who is
new to writing Drupal documentation--apologies in advance if these are
really "duh":


1. Where does module documentation actually go? The logical place would
be under http://drupal.org/handbook/modules, but that seems focused
solely around core modules (which is not a bad thing--if every single
contrib module gets documented (which it sounds like is the plan), this
list would become too cumbersome to use after a very short period of
time).


2. Is there any sort of template we should follow? For example:


- Module name
- Maintainer
- Module project page link
- Dependencies (both "hard" dependencies and also other modules that
enhance this module in some way)
- Description (what does the module do generally?)
- Usage examples (why would I actually want to use it?)
- Installation instructions (if there's anything special you need to do
other than the norm)
- Setting permissions (what permissions exist and what they do)
- Usage instructions (common tasks and how to perform them - this could
potentially be quite long, depending on the module)
- Notes (misc. points of interest, user submitted tidbits, etc.)


This might be WAY too much or way not enough, but it seems like there
would be value in standardizing the handbook documentation on modules
to some extent.


3. Is this even the type of thing that this documentation is intended
to cover? Or are we strictly talking about submitting documentation
patches to existing projects? This might actually be a better approach
because then it's all right there rather than having to look at the
handbook (if applicable), the stuff in admin > help (if applicable),
AND the files that come with the module (if applicable) to figure out
how to use it.







More information about the drupal-docs mailing list