Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13260 [Doc] Host different released versions of the documentation + version switcher
  3. ARROW-14496

[Docs] Ensure links to non-sphinx parts of the docs are relative instead of absolute

    XMLWordPrintableJSON

Details

    Description

      Currently we have some hardcoded links in the sphinx toctree to other parts of the docs (eg to <https://arrow.apache.org/docs/c_glib/, or https://arrow.apache.org/docs/r/).

      That means that for the versioned docs, those links still are absolute links, and not pointing to the versioned ones.

      For those parts of the docs that we include in the versioning (so those that are hosted in the github pages, which is the case for C/GLib, js and R, and not the case for C#, Go, Rust, Julia, Matlab and Ruby), we should see if we can trick sphinx in creating a relative url (which in principle only is possible for internal links to another part of the sphinx docs).

      https://stackoverflow.com/questions/27979803/external-relative-link-in-sphinx-toctree-directive has some potential ideas

      See also thread on github issue: https://github.com/sphinx-doc/sphinx/issues/701#issuecomment-659062227

      Attachments

        Issue Links

          Activity

            People

              jorisvandenbossche Joris Van den Bossche
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 50m
                  4h 50m