Hi Doug,
On Saturday 26 December 2015 21:08:58 Doug Epling wrote:
> Thanks Carl --
>
> Here is a good example:
>
> I wanted to read-up on the Form class. First thing I did was go here:
>
> https://docs.djangoproject.com/en/1.9/search/?q=Form
>
> yadda, yadda, yadda, recipe, recipe, .... where is the simple list of
> attributes contained in this class?
>
So, this already seems odd. You want to read up on it, but you're not actually
interested in what people wrote up on it?
It sounds like you're looking for a Javadoc-style reference. I always had the
feelng that Django avoided these by design; a "simple list of attributes" is
usually not helpful for a human who wants to get something done.
> [...] But
> what-the-heck is this 'six' we import from django.util? So I go here:
>
> https://docs.djangoproject.com/en/1.9/search/?q=django.utils&release=1.9&pa
> ge=1
>
> Here I reach a dead end. I could go farther, but this is all a
> side-track. This isn't even relevant to what I am working on. And it is
> entirely possible 'six' is something I should just know about and don't.
>
It is something you should either know about, or not care about. As far as
forms are concerned, it is just an implementation detail. So if you're looking
to use forms, you should probably not care about it. If you're looking to hack
on forms, the issue of Python 2/3 compatibility (which six is a solution for)
should be familiar to you; and if it isn't, and you're already reading source
files, you just might open the six.py module, where you'll find a docstring
which reads:
"""Utilities for writing code that runs on Python 2 and 3"""
> So is anyone convinced yet?
So, I'm not convinced. In particular, I don't understand the frame of mind
that would lead you along the journey you described. You said you wanted to
"read up on forms", but that sounds like a means, not a goal; I think it would
help to clear up the difficulties you ran into and the improvements you wish to
introduce, if you describe the goals you wish the documentation to serve.
I have seen "design games" based on "personas" -- where you want to write
specs for a system, and you portray the prospective users. You give them
names, ages, jobs, some basic life-story, and a main goal for using the
system, and then when you consider design decision you can say "oh, that would
please Ned to no end", or, "Catelyn wouldn't like that". I think such a game
may be helpful for clarifying -- to yourself and to others -- what exactly are
the problems you're trying to solve.
HTH,
Shai.
On Mon, Dec 28, 2015, Samuel Bishop <lucra...@gmail.com> wrote:
The main existing sections are:
* tutorials (/intro)
Tutorials take the new user by the hand through a series of steps. The important thing isn't to explain all the steps, but to achieve something useful with a minimum of effort.
After every step of a tutorial, the user should have something that works, even if they barely understand what is happening (and it's not necessary for them to understand, that can come later. What matters is that they are successful).
* how-to guides (/howto)
How-to guides are recipes that take the user through steps in key subjects. They are more advanced than tutorials and assume a lot more about what the user already knows than tutorials do, and unlike documents in the tutorial they can stand alone.
* discussion and explanation (/topic)
Aimed at explaining (at a fairly high level) rather than doing.
* reference (/ref)
Technical reference for APIs, key models and so on. It doesn't need to explain so much as describe and instruct.
Turning the table of contents page into a CSS menu sounds like a possibly worthwhile task.
There is also an idea here for adding navigation breadcrumbs to the documentation which might help:
https://github.com/django/djangoproject.com/issues/403
I know some might have hoped I would just go away. But generally speaking when I say I will do something I follow through. At the very least I can work on the Glossary.
I looked at the poll of developers from last May. I loaded the results in an R data.frame, but I did not find any relationships within that data at all. I wonder what conclusions the core team was able to draw from that other than, like, 77 percent of the responses came within 48 hours of its release. This fact must mean something,
Below is a wordcloud representation of the frequency of most used words under the "What's your favorite thing about Django?" item.
This doesn't really mean a lot, but it is kind of neat to look at.
You can notice the prominance of 'documentation', and 'orm'.
Again, these probably don't mean a whole lot, although developer folks sure exhibited an eagerness to express themselves. And you only need to skim over those results to see that a lot of Django regulars, the developers, really like the documentation. It would be interesting to hear why or how these folks use documentation that causes them such affinity for the docs.
Without those why-or-how answers to user interface questions, users defined as extremely active members of the developer community, it is hard to balance with the criticism that pops up here-and-there, including my own.
This discussion begs to transpire among members of the core team because nothing can change unless they see fit. If the consensus is to deny a need, the documentation will continue to be an afterthought.
The Django core developers are not the only public involved. Some might say they are in service to the public at large. The Django cadre must regularly ask about the state of public sentiment and satisfaction, because it is reckless to do otherwise.
Basically, we need data. My recommendation involves two separate initiatives.
First is, has been, a discussion open for spectators but limited participants to core members. Asside from its subject pertaining current state and future path, all other details are above my pay grade.
Second is, has been, the active solicitation of a standardized body of feedback from the peripheral users of Django documentation in a fairly substantial amount. We might want to start a new discussion thread on this particular topic.
Many thanks for your hard work and dedication.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ffade33c-73c1-411a-8386-0c21fd842ace%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
That is an excellent point! There was some back-and-forth about bread crumbs. It would be awesome if we not only implemented that, but used it to track user's progress through the docs, and collect this info.
Thanks,
Hey Tim --Basically, we need data. My recommendation involves two separate initiatives.
First is, has been, a discussion open for spectators but limited participants to core members. Asside from its subject pertaining current state and future path, all other details are above my pay grade.