XWiki.org Documentation Reorganization (batch 3)

This is true in both options of proposal 7.

I’ve replied above to Michael. I don’t see how this would work as there’s no order. What order do you put in a FAQ item list?

If you’re talking about having a reading list (ie some tracks depending on large topics that you want to achieve like “Getting Started” - for users -, “Write your first Application” - for developers -, “Advanced XWiki features”, etc), I’ve also tried to answer that in my answer to Michael’s post above. For these, I agree that there can be a previous/next order.

Cool since that’s part of the proposal already… :slight_smile: See Proposal 6 above

Thx!

1 Like

We’re retracting this part since we don’t think it’s needed:

  • The landing pages are not doc pages
  • We can’t reuse the Doc XClass anyway since some landing pages are for several doc types (like the main landing page)
  • The option 2 of proposal 7 is already showing all landing pages so there’s no need to categorize them to provide a list somewhere. If that need ever appears, we’ll just add a new XClass.

Thanks

1 Like

Navigation Tree Updates

The majority voted for option 2 of the Navigation Tree proposal, and this is how the Navigation Panel looks so far when grouping the documentation pages by type and listing highlighted pages for each type:

Landing Pages Implementation

We (@paulinebessoles and myself) propose two templates for the Landing Pages. Only one of the two should pe applied on every landing page:

The main entry point for XWiki Standard (XS) documentation is this landing page: Documentation for XS.

LiveDatas Updates

The proposal 6 of having filterable LiveTables in various documentation places has been implemented:

  • on each landing page, for example XWiki Standard Flavor, or Admin Guide
  • on each documentation type displaying the children: Edit a Page.
    • The XSheet bound to the doc XClass has been implemented to automatically add a section at the bottom of doc pages displaying children pages. This applied only to doc pages that use the doc XClass (landing pages are excluded).

Still pending

The “Other navigation improvements and cleanup” part of the proposal hasn’t been tackled yet.

If you feel some things are missing/ can be improved, feel free to propose! Thanks!

1 Like

Looking great!
I checked it out from the link on the other proposal so mostly have comments for Option 2:

  1. I don’t understand why this is in a box. From a first look, it only makes things look heavier. Completely subjective comment, feel free to ignore it if you already spent time thinking about this. With time I’ll get used to it :slight_smile: Note that this goes for option 1. too.

  2. When there’s no documentation for one user type, I think it’d be quite important to not display the box, or at least put a Create documentation here button inside.

2.bis. The semantics of the cards here could use some improvement. AFAIU, this is a list of cards, each corresponding to a user type. There is no list semantic in the generated HTML and it’s not the best for accessibility. It’s not critical but not negligible, it makes the experience of assistive tech users navigating the documentation a bit worse. Note that this goes for option 1. too.

2.ter. The color of the top bar is weird, it looks like the only place where we use it currently in the main documentation. Now that I thought a bit about it, it might be a reminder of the extension doc theme, but if that’s it, it’s not a trivial information, and I doubt many users would understand it. I personally think option 1. makes more sense on this point, as the links in those cards are all going towards the main wiki and there’s no place where we explicitely associate this color with the concept of extension.

2 Likes

Hi Lucas, thank you for the feedback!

I like this idea, we could have a button on every landing page for this maybe, with a link to the contributing guidelines?

1 Like

Same comment, I wouldn’t have put a box.

Small detail: I’d have put Highlighted Topics or Recommended Reading instead of Highlighted documentation (missing an uppercase D btw). I’m fine with Highlighted Documentation too.

I think it was meant as an example but for sure the box should not be there if there’s no content.

-1 to keep a box with “Create Documentation” since there’s no reason to focus doc creation just for the Category that doesn’t have any entry yet.

Note: Originally I was envisioning one topic per card, possibly with some pills or image showing the category. But I don’t have a strong opinion.

I feel it’s too much on every landing page, unless you can find an unobstructive location for it but I don’t see where. We could have it on the top level landing page to explain that we value contributions and link to the guidelines as you suggested.

Thx

I don’t have any strong opinions. However, I have a slight preference for option 1, with the mention that I don’t think the summary should be put inside a box.

Other than that, I feel like the new documentation pages are coming together nicely! Great job! :tada:

1 Like

So we have now tried to implement option 1 and 2 for the navigation, based on about 30 doc pages we created. We have also added an option 3 to answer @MichaelHamann comment.

In addition, we’ve moved the Product and Target concepts outside of the nav in the following manner:

  • You choose the doc for a product directly in the horizontal navigation under Documentation (the new doc is temporarily under a sub menu)
  • You choose the target (user, admin, dev) using a dedicated panel

To summarize:

  • Option 1: Nav ordered by Topic and then by type
  • Option 2: Nav ordered by Type only (with some highlights)
  • Option 3: Nav ordered by Topic only (with 4 extra entries for the types)

You can see it in action at:
https://www.xwiki.org/xwiki/bin/view/Doc/XS/

Here’s a screenshot too:

So, what option do you prefer?

Thanks

Hello!

Since Proposal 8: Landing Pages got +1 from everyone, the next steps are agreeing on what documentation pages are included in the “Highlights” section of Landing Pages. Please check this proposal and let us know what you think.

Thanks!

1 Like

+1 for option 2 - for me it’s compact and user-friendly format that minimizes visual clutter. It significantly reduces the time required to locate the desired page without relying on navigation hotkeys

Important note: For option 1, we can also have the 4 top level entries for the types (Tutorials, Howtos, Explanations and References), same as what is shown in option 3.

so I think I’d be +1 for Option 1 with the 4 entries

As a continuation of the proposal regarding the Navigation Tree, here are some more clearly defined rules for positioning pages within the navigation:

Positioning Pages in the Nav Tree

Once it has been decided which extension or subject a page belongs to, for Option 1 and 3, we need a strategy to decide its position within the navigation tree. Choosing the order can be quite subjective, but the following criteria should be considered:

  • List pages from most useful to less useful, considering how often a feature is used.
  • Use the Common Criteria to help decide.
    • For example, both “Hide a Page” and “Change the Syntax” belong under “Page”. “Hide a Page” is listed before “Change the Syntax” because hiding a page is used more frequently, while choosing a syntax usually happens only when creating a page.
    • Another example: the standalone WYSIWYG editor, also under “Page”, has a very specific use case, so it should be listed lower in the tree.

I don’t understand this part @nikpetrenko . For me option 2 is the option that is the simplest to implement but it can only increase navigation time since the pages are no listed in the tree at all (you need to search in the LDs and if you don’t know what to look for, it’s less easy). Options 1 and 3 OTOH offer both nav in the tree and in LDs.

Thx

I think it is important to have direct access to the topics (e.g., how to) because the navigation tree is not going to scale (unless we propose a search and filter feature).
I’m expecting users to click on “how to” then filter for the topic they want to know.
A few pre-selected pages like “getting started” are also important for new users that are not sure where to start or what the interesting topics are.
So overall I’d rank the options in the following order (from preferred to least preferred):

  • Option 1 (assuming there are hardcoded top-level entries) because it feels difficult to identify what distinguishes the different kinds of topics from the page title.
  • Option 3
  • Option 2 because it is not highlighting existing domains at the root level.

Note that option 2 doesn’t highlight existing domains at the root. It only highlights a few (max 5) pages from all the domains for each type. Option 2 was made to have a fixed nav and make it easy to maintain. Readers need to use the LDs to navigate.

FYI the preference from the “Doc team”:

  • Eleni: Option 3

    Right after it would come option 1 as a preference, but I like option 3 more because it has less sub-levels.

  • Pauline: Option 3
  • Vincent: Option 1, because without the type in the nav we’re mixing different types of docs and it makes it harder for reader to understand what each link is about.
1 Like

Summary so far after posting XWiki.org Documentation Reorganization (batch 3) - #28 by vmassol :

  • Option 1: Vincent, Simon, Manuel
  • Option 2: Nikita
  • Option 3: Pauline, Eleni

Before XWiki.org Documentation Reorganization (batch 3) - #28 by vmassol (ie before the introduction of option 3):

  • Option 1: Lucas, Michael
  • Option 2: Simon, Manuel, Nikita, Gabriel but his comments seem to indicate he actually preferred option 1:
    • Having a navigation tree visible on each page. I’m imagining it being on the left side panel.

So taking all that into account, we can safely say that the contenders are options 1 and 3, and that option 2 is now the less chosen option.

What we would need to have is the new opinions of @CharpentierLucas and @MichaelHamann who previously chose option 1 but who could prefer option 3 now?

And of course would be nice to have opinions from committers who didn’t reply: @mflorea and @tmortagne for example.

Thx

For Option 1 of Navigation Tree (i.e by topic and then by type), each type that is under a topic needs to redirect to a Landing Page (see Proposal Landing Page and Continuation of Proposal Landing Pages). To do so, there are two options:

Option 1

Having 4 generic types (howto, explanation, reference, tutorials) that dynamically generate Landing Pages for the corresponding topic. For example: Howtos for users for the Page feature, Explanations for users for the Like feature.

@vmassol did a POC (see https://www.xwiki.org/xwiki/bin/view/XWikiOrg/DocumentationLandingPage/ ).

Pros:

  • Avoids creating so many landing pages (there will be 4 pages per topic and there are hundreds of topics).

Cons:

  • Readers lose where they are in the navigation tree.
  • Not a nice breadcrumb (check an example).

Option 2

Creating dedicated Landing Pages directly under each topic.

Pros:

  • Nice navigation and breadcrumb.

Cons:

  • Too many landing pages.
  • Readers can already filter from the LD on the topic Landing Page the type, for example check the LD on this Landing Page of a topic.

IMO the fact that readers can already filter by type in the LD of the topic Landing Page makes listing the type again in the navigation redundant, and to me this is generally a con of choosing the Option 1 Nav Tree, (but as you already know, I prefer Option 3 :slight_smile: ).

WDYT? Thanks!

This can be implemented I think (recognize the URL and highlight the right node in the nav).

Note: we haven’t started to implement the correct opening/closing of nav tree nodes nor the highlighting of the current node where you are. I’ll need help for this (@mflorea or anyone knowing javascript and the document tree enough).

2 Likes