-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: "table of contents" consistency #3796
Comments
Another difference between B and C is that each section in b, the Tabular File Ingest Page, has it's own page, which might be a ideal. |
On reflection, I believe option C to be the clear best choice for our docs for two reasons:
This approach is supported by this article on technical writing and its attendant presentation. I'd be comfortable going forward with these changes without having to specifically UX test them. |
I just made pull request #3854 and moved this issue to Code Review at https://waffle.io/IQSS/dataverse I also set up a Jenkins job that polls the branch behind that pull request every hour and puts an HTML version at http://guides.dataverse.org/en/3796-guides-table-of-contents/ |
@dlmurphy and I discussed pull request #3854 as of da2cda4 and he plans to think about and potentially work on moving the content of small pages such as http://guides.dataverse.org/en/3796-guides-table-of-contents/user/tabulardataingest/stata.html into their parent page. Sometimes it's nice to be able to glance at a URL to see where I am but for me We also discussed how http://guides.dataverse.org/en/3796-guides-table-of-contents/api/native-api.html is quite long and how it would be nice to break up the Native API page into separate pages, similar to how the Search API has room to breathe on its own page. This is out of scope for now and we're already tracking this issue at #2174. There's sort of question of if long pages are the enemy or not. http://guides.dataverse.org/en/3796-guides-table-of-contents/user/dataset-management.html is long but we're ok with that for now. |
Re: long pages as enemy, my feeling is that the ideal page is long enough to explore all relevant aspects of one discrete issue. If that means that a page is somewhat long, then that's OK; users can always use in-browser search or the table of contents/page headings to find the particular aspect of that issue that's most relevant to them. In rare cases where a page like this is unreasonably long, I think it's alright to break it up into two pages if there's an intuitive and sensible way to split it conceptually. In my opinion, there's no hard-line rule on this; it's something that needs to be evaluated on a case-by-case basis. |
(I'm currently working on altering the layout of the Tabular Data File Ingest user guide page to get it to conform with the "Option C" format I laid out in the original post) Edit: While experimenting with this altered layout, I opted not to do this after all. Made more minor formatting changes to make the page fit with the rest of the guides. |
Added labels to tables of contents and repositioned them below intro blurbs. Added info on how to do this to Developer Documentation guide. Made assorted small formatting changes for consistency.
-Added a label to all within-page tables of contents - "On this Page:" |
@dlmurphy "On this page" doesn't make much sense for a PDF or an ePub. Please check out the screenshot below from http://guides.dataverse.org/en/3796-guides-table-of-contents/Dataverse.pdf Note that we don't advertise the fact that we create PDF and ePub versions of the guides, but we'd like to some day, which is why #2148 is still open. I like your idea of adding a word or phrase to explain what the box is. Maybe we could the word "Contents" like Wikipedia does: |
@dlmurphy I figured out how to define a variable in 2739c72 and changed it everywhere with Here's where dataverse/doc/sphinx-guides/source/conf.py Line 431 in 2739c72
Sphinx calls these "substitutions" and here are there docs on it:
|
Oh, and to be clear, I changed "On this page:" to contents to be more PDF-friendly. However, if @dlmurphy or others want a different word or phrase, you are welcome to change it in |
That's a great point about the epub and pdf versions. I'm fine with using "Contents:" as the label. |
make table of contents consistent #3796
There are currently three different formatting choices we use for dealing with lengthy pages throughout all of our guides. These differing solutions are inconsistently applied, and create confusion when navigating the guides. Here are the three formatting options we've used:
Option A. No table of contents. This can be problematic for longer pages. Without any navigational aid, a user can get lost in all of the headings and subheadings.
Option B. A landing page of only the table of contents, with subpages displayed in the left navigation bar.
Option C. A table of contents box displayed at the top of the page, with the page's full content beneath it.
I believe that we need to choose one format and use it consistently throughout the guides so users don't have to figure out three different ways of navigating them. I believe that option C is the best of the three, but I would like to include this question in a future usability test to get users' input.
The text was updated successfully, but these errors were encountered: