Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2293

Antora spike (Docs SEO and accessibility)

XMLWordPrintable

    • 2021 Week 25-27 (from Jun 21), 2021 Week 34-36 (from Aug 23)
    • 5
    • Undefined
    • NEW
    • NEW

      Motivation:

      1) Chunked (google search) vs in-document search
      – A single page docs html is great because ctrl-f to find a keyword on it works well
      – A single page docs html is terrible because google can't rank the "pinned entities" section for keywords like "optaplanner pin entities"
      – A single page docs html analytics doesn't tell us which sections they are reading
      – Antora induces a static-website-friendly search box across chunked pages. Basically it generates an index during the build and a client-side javascript script makes it work. That's better than ctrl-f.

      2) Every release, we have a new url (including the version number) for the docs. They don't have a "canonical link" head meta html entry that points to the "latestFinal" symbolic link, because some google advise (matt cuffs) said that might not be a good idea (the answer was very unclear). Learn from Antora projects how they deal with that - I am sure that they figured this out already.

      Requirements:

      • Do not harm old versions on https://docs.optaplanner.org/ - those urls must still work
        Goal:
      • Automate publishing antora build docs to docs.optaplanner.org as part of the release
      • Minimize impact on www.optaplanner.org
      • Make it clear in antora's docs website header that this is not the optaplanner website, but the optaplanner docs website (and link back of course).
        Unless they can share the nav bar? (I doubt it)

      Suggestions how to tackle this issue:

      Build these websites locally:

      Ideally, the use of antora is just a maven plugin in the pom.xml like asciidoc is, part of the -Dfull build. I am not sure if that is possible.

        1. screenshot-1.png
          91 kB
          Geoffrey De Smet

              rsynek@redhat.com Radovan Synek (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: