There are currently 3 "orphaned" documents in CVS in contributions/docs/developer/topics.
Forms API
Forms API Reference
Javascript startup
I propose that we move all 3 into the handbook where there's more likely to be maintained.
Any objections?
There are currently 3 "orphaned" documents in CVS in contributions/docs/developer/topics.
Forms API
Forms API Reference
Javascript startup
I propose that we move all 3 into the handbook where there's more likely to be maintained.
Any objections?
Comments
Comment #1
jhodgdonThe Forms API Reference is really an API document that belongs on api.drupal.org. I realize it is never maintained there, but it does belong with the code. I actually think it should be moved into core rather than the handbook.
Comment #2
rfayI agree that forms API doc is logically a core piece. However it's such a complicated piece of HTML it would be nearly impossible to maintain as PHPDoc. I do agree with you on where it logically belongs. However, as a matter of practicality I still propose moving it into the handbook where it can be maintained more easily.
Do you have any objections on the other two docs? They *definitely* should move to the handbook IMO.
Comment #3
jhodgdonNo objection whatsoever to the other two.
Comment #4
rfayI'll move the forms API intro. It needs some work. I may do a bit of work on it first.
Where should the Forms API intro doc land in the handbook? And how do we handle the multiple versions of it? MENU_LOCAL_TASK? How is this done in the handbook?
Thanks,
-Randy
Comment #5
jhodgdonThere's an API section of the Handbook. Form API sub-section of that is at: http://drupal.org/node/37775
Mutliple Drupal version applicability: We don't have a good way to handle that in the Handbook at this time (have been debating this for new doc AI, which is stalled until add1sun gets back into action, as far as I know). There is no way to do MENU_LOCAL_TASK in the Handbook either. All you can do is make a landing page, and then have child pages for each Drupal version. Or if the changes are minor, just make a page that applies to several versions and note the minor differences.
Comment #6
jhodgdonAnd if you are messing with the Form API on-line section, you might also take a look at #53819: Forms API #validation outdated..
Comment #7
rfay#53819: Forms API #validation outdated. appears to be something else entirely. I am making minor changes to the Form API doc in the Topics section of contrib/developer/docs.
Thanks for the pointers on the handbook page. Just took a look there and it's an utter catastrophe. I guess I'll move stuff there and then try to clean up and then cry help.
Comment #8
drumm+1 for moving these
Comment #9
drummSee also #100680: [meta] Make API module generate Form API documentation. Not much progress there, but there are a few ideas.
Comment #10
jhodgdon#9/@drumm: I totally agree that the API doc for forms API needs to be somehow embedded into the code so it can be maintained with the code, rather than in this ad-hoc doc that someone sometimes decides to update when they notice it's not in synch with the code.... So that is good news that people are thinking about it!
Anyway, given that rfay, it's another reason to leave the FAPI reference as-is for the moment and just move those other two docs.
Comment #11
rfayI don't actually see how it's a reason to leave the FAPI as is... I'd certainly like to see better techniques in the future, but don't see how that's related to where the FAPI doc lives right now.
Don't assume that I'm arguing all that hard. But now it's 2 to 1 of interested parties :-) @jhodgdon has the upper hand still anyway, though, IMO, being the de-facto curator of these docs.
Comment #12
drumm#100680: [meta] Make API module generate Form API documentation is not anywhere near implementation. It is still a research project. There aren't any clearly good solutions and my personal time for API module is dedicated to more-solvable problems. Don't count on that unless you know (or are) someone with a clearly good idea and time to build it.
It is okay to leave some HTML docs as-is for awhile.
Comment #13
jhodgdonWhen the quick start form guide is moved into drupal.org:
#719306: Documentation improvement in Forms API Quickstart Guide
Comment #14
rfayI just chatted with katbailey about the Javascript Startup, and IMO it should just be removed (for D7 at least) and anything that refers to it should refer instead to http://drupal.org/node/205296.
Comment #15
jhodgdonSounds like a good idea to me. I don't know of anything referring to it on api.drupal.org.
Comment #16
rfayCommitted: http://drupal.org/cvs?commit=345756
Moved the Form API quickstart to http://drupal.org/node/751826
Comment #17
jhodgdonYay!!!
Comment #18
drummI should set up redirect in .htaccess for these. Please post old URLs and where they should go.
Comment #19
rfayThanks, @drumm:
The D7 Form API quickstart (formerly http://api.drupal.org/api/drupal/developer--topics--forms_api.html/7) is now http://drupal.org/node/751826.
The former D7 Javascript Startup Guide: http://api.drupal.org/api/drupal/developer--topics--javascript_startup_g... is not going to exist as is, but could be pointed to http://drupal.org/node/751744.
Comment #20
drummRedirects added