Search Unity

Feedback Improve "switch to" functionality

Discussion in 'Documentation' started by Peter77, Jul 4, 2019.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    The Script reference provides a link to an older version of it. For example, if you open this page:
    https://docs.unity3d.com/ScriptReference/AssetPostprocessor.html

    You see in the upper left "Version: 2019.1 (switch to 2018.4)", as shown in the image below.
    upload_2019-7-4_13-23-59.png


    If I press the "2018.4" link, it does not forward to the same documentation page I had open. In this case, it does not forward to the AssetPostprocessor.html file but the "Welcome" page.

    Please add functionality to open the same page as opened earlier, but in the other documentation version.
     
    joshcamas likes this.
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,435
    the 'other versions' dropdown seems to do that correctly, so certainly should be possible to add
     
    Peter77 likes this.
  3. jo-unity

    jo-unity

    Unity Technologies

    Joined:
    Mar 27, 2019
    Posts:
    33
    Hey @Peter77 I'm from the docs team at Unity and we are aware this functionality doesn't work as expected! We're currently working on a fix for this one so it will work as expected very soon.

    In the meantime you can put
    /2018.4/Documentation
    in the URL after unity3d.com and before
    /Manual/
    e.g.

    https://docs.unity3d.com/Manual/IL2CPP.html goes to
    https://docs.unity3d.com/2018.4/Documentation/Manual/IL2CPP.html

    Not the most elegant of workarounds but it saves you from having to navigate from the welcome screen.

    Hope that helps and thanks for your feedback.
     
    Peter77 likes this.
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    Hi joapet,

    thanks for keeping us in the loop and the workaround. I'm looking forward to the fix!
     
  5. Adrian

    Adrian

    Joined:
    Apr 5, 2008
    Posts:
    1,066
    @jo-unity Just noticed the new version drop down in the docs, much improved over the previous global links and the slow drop down inside the pages!

    However, it would be much better if it would be immediately apparent which versions link to the same page and which versions redirect you to the index (i.e. for which versions the current page is available).

    I tried out this simple user CSS and this makes it much easier to check for which versions something is available:
    Code (csharp):
    1. .otherversionscontent a[href$="index.html"] {
    2.   color: #ccc;
    3. }