Skip to content

Guide website revamp #403

@thibaudcolas

Description

@thibaudcolas

The guide website is showing its age, there are a number of tech debt issues that have been accumulating and even if they were all addressed there are a few aspects of the setup that I think warrant a rethink. Could use feedback!

Translations

We just don’t have the resources currently to translate the site. We need to overhaul how this is set up so it’s more realistic for the site to be multilingual. This can mean switching over to automated translations with manual review (#273), or making improvements to wagtail-localize (#269), or redesigning the site so it would work better with only some of the pages translated (could have a standalone guide page per language rather than expecting 1:1 translations).

As-is, this issue manifests itself with a combined version + language switcher where almost none of the languages are actually relevant.

Versioning

Turns out over time versions accumulate, and over three years of the site’s existence we’re now at 12 versions! This works pretty well but along the way I’ve noted a few things that make our current approach cumbersome:

  • Some parts of the site don’t need versioning. In particular Releases, About, Contributing, and the homepage. As-is, it’s not possible to skip versioning for those pages.
  • Most pages really don’t change that much between versions. For most content we would be fine with a "changed in Wagtail x.y" note
  • There’s no system in place to unpublish versions.
  • Versioning screenshots of the UI is tricky, requiring multiple copies of the images which are hard to maintain

This plus translations issues surfaces again in the combined version + translation switcher which has become very unwieldy.

Other

Misc other issues that get in the way of updating the site’s content and opening up access to others:


Structure overhaul

All of the above makes me think it’s time for a rethink? I see three options, from most complex to simplest:

  • Update wagtail-localize or Wagtail itself to have support for other dimensions than "locale". That way the site could have its pages along two dimensions, locale and version. Still the same complexity but easier to maintain / support if it’s not just a hack on the one site.
  • Switch to vanilla translations with locales only, with versions becoming sub-sections of the content.
  • Switch to vanilla translations with locales only, with versioned content moved as a series of "upgrade notes" within the one page.

I’m leaning towards that last simplest option, as I expect we make UI changes incrementally enough in the CMS that we could draft content (and pick images) that convey the last two years’ worth of upgrades clearly enough. Those "new/changed in version X" disclaimers could also be managed via StreamField blocks metadata and image metadata.

I expect for translations in particular, if we kept the 1:1 model, it’d be dramatically simpler to only have to worry about translating one page and keeping it up-to-date, rather than one page across multiple versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions