This is an issue to discuss follow-ups to
#1278256: Develop a plan to make it more clear that the current Documentation on drupal.org is community maintained.
(where we made some changes to make it clear that the current d.o documentation is community-maintained).

The idea for this issue is to discuss additional improvements we could make to the infrastructure to improve the experience both for community docs contributors (maintainers of modules, docs writers, etc.) and community docs users (navigation, searching, locating the right information, readability, meta-data, etc.).

Note: There is a separate issue for discussing the Community Documentation page navigation:
#1289090: [meta] Improve search/navigation for d.o community docs
And a separate issue for discussing the Curated Docs:
#1291058: Discussion: Make a curated docs section/system
And there are already separate issues tagged "docs infrastructure" (in several project issue queues) for some improvements. To discuss those, comment on those specific issues.

List of Ideas Not On Other Issues Yet

Comment #3 here: Redo the Community Docs landing page so book tables of contents are there (collapsed).

Comment #8 on the previous issue: Some kind of better searching

Comment #18 on previous issue - Scrap navigation and use taxonomy

Comment #7 here (and #70 on prev.) - Keyword index

Comment #10 here - embedded media field

Comment #13 here (and see followups) - Wiki markdown syntax ... Comment #17 lists editor options... We got BUEditor after that was written, and the infrastructure team is unlikely to add anything else any time soon.

Comment #26 here - indication of how many comments there are, and if there are any new ones

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wfx’s picture

Thanks for starting this thread. I'll start brainstorming on some mockups.

arianek’s picture

sub

wfx’s picture

I got this idea while looking at the Plone documentation, specifically their Docs landing page and Knowledge Base. I'm suggesting adding collapsing blocks to the main docs page which reveal the navigation block per book. Current section descriptions would be moved to an info bubble which would appear on mouseover.  Trying to create a design that is more open without losing any current information and adding accessibility to nav contents.

The main considerations for the design were the following:

  • Make the "Help us Maintain Documentation" call to action more prominent to encourage Docs participation.
  • Move the "Community" block to the top beside the Help call to action, because encouraging participation on Drupal.org as a whole is a good thing. Having the current Community block at the bottom makes it easy to miss.
  • Provide direct access to the Book navigation blocks per book from the Docs main page via a collapsing block.
  • Display book description info via a jquery info bubble (coda style?). This would free up the page for  redesign because the current content (book descriptions) seem to have driven layout.

There are a lot of different initiatives going on so if this can be rolled into another project let me know. @arianek has been working on a great redesign idea here. That idea seems close to finished so I don't know how this landing page would fit  with that. The main idea of the collapsing navigation blocks goes under the assumption that we are keeping book as the content type for a while even if we change how that content is maintained. Not sure if the current Community Documentation (wiki) redesign would apply to the front page as well but I thought I would post anyway just in case.

jhodgdon’s picture

Note: There are also several follow-ups posted as comments to #1278256: Develop a plan to make it more clear that the current Documentation on drupal.org is community maintained.. If someone could take the time to go through that issue and make a list here pointing to the comments that were decided to be followups (i.e. not essential for the first round), that would be helpful.

wfx’s picture

You are better at this than I am but here goes. :)

Summary of follow-up issues from #1278256: Make it more clear that the current Documentation on drupal.org is community maintained

#8 Improve search experience within Documentation
#8 Introduce rewards/badges as motivational factors for Docs
#18 Make wiki Taxonomy based
#70 Have a way to flag keywords (like synonyms) for inclusion in an index.

The line between what was definitely being considered for the Community Documentation (wiki) and what was a follow-up for later projects was blurry for me at times. If I've overlooked anyone's ideas in the previous thread please let me know and I'll add them.

Edit:
Removed #14 because Discussion Tab was adopted into the base proposal.
Removed #16 because Curated Docs has it's own issue here Make a curated docs section

jhodgdon’s picture

Thanks!

#14 (comments as a discussion tab) has been adopted in the base proposal.
#16 (promote certain sections to curated) would be best discussed elsewhere. Let's keep this discussion related to infrastructure for the community docs.

The rest of the list looks relevant.

pillarsdotnet’s picture

In addition to a TOC, it would be nice to have a way to flag keywords (and their synonyms) for inclusion in an index. For example:

Input text
With permission, users can post messages on other users' <cite>profiles</cite>, <cite>groups</cite>, and nearly anywhere else.
Rendered output
With permission, users can post message on other users' <a id="profile_1" href="/node/999999#profile_99">profile</a>, <a id="og_1" href="/node/999999#og_99">groups</a>, and nearly anywhere else.
Index entry
<dt><a id="group">Group</a></dt>
<dd>See <a href="/node/999999#og">Organic group</a></dd>
...
<dt><a id="og">Organic group</a></dt>
...
<dd><a id="og_99" href="/node/123456#og_1">Facebook-style statuses</a></dd>
...
<dt><a id="profile">Profile</a></dt>
...
<dd><a id="profile_99" href="/node/123456#profiles_1">Facebook-style statuses</a></dd>

In this example, the <cite> tag is changed by the text input filter into an index link. It would probably be more straightforward to use <a rel="index">, but I like the idea of making the <cite> tag actually do something.

Also, group is a synonym for og, and the plural of any keyword is automatically a synonym for its default singular form. Of course, there would have to be a mechanism for registering indexed keywords and their synonyms.

wfx’s picture

Summary updated. @jhodgdon did I link to the correct issue for Curated Docs?

jhodgdon’s picture

Yes, #1291058: Discussion: Make a curated docs section/system is the right issue for curated docs

arianek’s picture

I've got a request - can we please work on getting emfield/media so that users can embed video??? Issues like this should not need to be bottlenecked by a site maintainer. http://drupal.org/node/1250580

I know Johan (itangalo) would also love to see this so his awesome screencasts could actually be shown on d.o

Sree’s picture

subscribe ...

jhodgdon’s picture

Issue tags: +docs infrastructure

Adding new tag. These issues tend to get moved to other issue queues, so we need a unifying tag in order to find them consistently.

joachim’s picture

I'd like to request we add some basic wiki syntax to the input format used for documentation: #1074796: enable basic wiki syntax for writing docs pages.

jhodgdon’s picture

As I commented on that other issue, I think that wiki syntax is not the best idea, but I'm open to being convinced.

My thoughts:
- I don't think learning a very small number of HTML tags is a huge barrier for the typical docs contributor. UL/OL/LI are all that are typically needed, since the paragraphs are done automatically already. And maybe IMG which isn't covered by wiki sytax anyway. And A which is sometimes covered by an extremely convoluted wiki syntax that is much worse (IMO) than an actual A tag. So I think you'd need to learn A anyway... which brings me to:
- Mixing wiki and HTML in the same doc page is I think horrible.
- Having some pages that are wiki-formatted and some that are HTML would also make things difficult, and of course all of our current vast doc set is HTML. Someone who wants to edit a page would need to first figure out which input format is being used, then try to edit it. And someone who doesn't know HTML would have to know to switch the input format to the wiki one to use wiki formatting -- wouldn't that also be a barrier and/or confusing?
- The d.o infra team is not in favor of adding new modules to d.o that may or may not have d7 versions (although this one would need to be ported to d7 probably for g.d.o anyway).

So in short, I don't think it buys much in terms of facilitating contributing, and I think it is a detriment for several reasons... Other opinions?

joachim’s picture

Sorry, I replied over there.

All I can say is that I personally find it a barrier -- I don't know about anybody else. I know HTML perfectly well, but typing * for lists is just *quicker*. So is doing that for emphasis ;)

jhodgdon’s picture

That is a valid point. Can we have some more opinions?

I've never found the link syntax on wikis to be quicker/understandable though... any thoughts on that? Are you just advocating for a few shortcuts, or a full MedaWiki-style markdown?

pillarsdotnet’s picture

Options:

  1. BUEditor

    A text editor aiming to facilitate code writing. Native support for html tags, bbcode tags, and other markup systems.

    See #424400: Use BUEditor on drupal.org

    Pros:

    • Adds buttons for common HTML tags for those who prefer a point-and-click interface.
    • Adds keystroke shortcuts for common editing functions.
    • Optionally supports BBcode markup.
    • Optionally supports IMCE.
    • Very customizable; can be made to support other markup styles such as Markdown or MediaWiki.

    Cons:

    • Requires javascript (but degrades gracefully).
    • Not WYSIWYG.
    • Preview button behavior has been described as "slightly weird".
  2. Markdown Filter

    The Markdown syntax is designed to co-exist with HTML, so you can set up input formats with both HTML and Markdown support. It is also meant to be as human-readable as possible when left as "source".

    See #1224506: Allow markdown on drupal.org comments (with a non-default markdown-tuned input format)

    Pros:

    • Those familiar with the syntax can type the Markdown codes for headers, footers, links, lists, and emphasis much more quickly than typing the equivalent HTML.
    • No javascript required; all processing is done server-side.
    • The unformatted source is designed to be easy to read and understand.
    • Already in use on groups.drupal.org.
    • Does not conflict with inline HTML.

    Cons:

    • Not WYSIWYG.
    • No point-and-click interface.
    • Doesn't help people who are unfamiliar with Markdown syntax.
  3. MarkItUp

    A content editor plugin based on jQuery. Provides the same functionality as BUEditor, but with more Drupal-ish theming support and better keyboard shortcuts.

    See #424400-16: Use BUEditor on drupal.org
    And #424400-39: Use BUEditor on drupal.org

    Pros/Cons: Essentially the same as BUEditor.

  4. WYSIWYG

    Provides support for the following client-side javascript content editors:

    See #997504: WYSIWYG for D.O

    Pros:

    • Lots of choices makes it easier to please everyone.
    • WYSIWYG editors are more familiar to non-technical users.

    Cons:

    • Lots of choices makes it easier to confuse everyone.
    • WYSIWYG editors may automatically add/remove whitespace or change source wrapping, making revision diffs less useful.
arianek’s picture

I don't personally love using markdown style, but I know a lot of people do. My main concern would be what would happen in the future if we want to make content be part of the Help System or somehow automate, sync, do whatever to it... would there be any future consequence to having a mix of markup types?

joachim’s picture

Actually, arianek's point makes me wonder about the D8 documentation plan -- doesn't that involve doc pages from d.org being slurped into people's Drupal installs? In which case, it would have to be in an input format that's installed in core :/

pillarsdotnet’s picture

Personally, I'm in favor of installing WYSIWYG for the benefit of those people who type with one hand and mouse with the other. :-) As for me, I'll keep on typing HTML with both hands. If I want a better editor than the one on-screen I can always use Its All Text with Xemacs.

jhodgdon’s picture

RE #19 - that is for the New Help System project (which may or may not be the same as the Curated docs, but looking like it will). Community docs will not be slurped directly into people's sites. But it would make it significantly harder to promote Community docs to Help System, or import their content, if we were using strange input formats. Very good point.

RE #20 - WYSIWYG would definitely be a possibility, or one of the other editors that puts in the HTML tags for you. Not sure how the infra team feels about that.

pillarsdotnet’s picture

@ jhodgdon:

But it would make it significantly harder to promote Community docs to Help System, or import their content, if we were using strange input formats.

Why is it significantly harder to reference the rendered content rather than the database source?

If the docs are being fetched from within d.o then it's a simple matter of running check_markup(). If they're being fetched from outside, then grabbing the rendered page would be significantly easier than performing a remote database query, I would think.

WYSIWYG ... Not sure how the infra team feels about that.

They're generally opposed. See comments by silverwing, MGParisi, chx, Michelle, and kiamlaluno.

sun says he would consider adding wysiwyg only after 6.x-3.x is stable.

jhodgdon’s picture

I do not find that I have good results transferring rendered content from one site to another. We're talking about a manual process - our standards for topics etc. are not going to be the same (i.e. pages will need to be split up), so it's not a machine doing the import. It's not easy to copy/paste rendered HTML into a text field that is expecting HTML source, in my experience.

If the infra team is against WYSIWYG then we will not propose it or consider it further for the time being. Going against the infra team is a non-starter.

arianek’s picture

http://drupal.org/node/1278256#comment-5075908 rfay added a request for notifications/subscriptions to discussion threads or pages' discussion threads.

silverwing’s picture

jhodgdon’s picture

A suggestion from webchick at Pacific Northwest Drupal Summit last weekend:

As things are now, if a page has new comments you haven't seen, you can scroll through them and see at a glance that they are new. (You can also see this on "my posts". If we switch to forums, this won't be as obvious... another reason not to.)

So if we move comments to a new page, it would be cool if the Discussions tab header at the top had an indication of how many comments the page has, and/or if there are any new ones.

jhodgdon’s picture

Let's get this going again! I just updated the issue summary with a link to some other issues, and a list of ideas that have been proposed here.

jhodgdon’s picture

Issue tags: +valid issue

Tagging so it doesn't get picked up by #1421874: [meta] Documentation Issue Queue Cleanup

jhodgdon’s picture

Issue summary: View changes

New summary of what is being discussed