Skip to content
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

🛑 BLOCKED 🛑 Archive older versions to external static sites #1173

Closed
13 tasks done
pepopowitz opened this issue Aug 17, 2022 · 9 comments
Closed
13 tasks done

🛑 BLOCKED 🛑 Archive older versions to external static sites #1173

pepopowitz opened this issue Aug 17, 2022 · 9 comments
Assignees
Labels
component:docs Documentation improvements, including new or updated content dx Documentation infrastructure typically handled by the Camunda DX team epic:archive-old-versions epic:build-time kind/cleanup Issues related with clean-up the documentation

Comments

@pepopowitz
Copy link
Collaborator

pepopowitz commented Aug 17, 2022

We should archive older versions of our docs, into separate static sites.

Why?

Each time we add a new version to our docs, it impacts our build time -- it's a bunch more files that docusaurus needs to turn into pages. The recommendation from docusaurus, and what their docs do, is to archive old versions to separate static sites. You can see this in their version selector, which contains a section of "archived versions":

image

Implementation considerations

  • We should call older versions something other than "archived" in our UI.
    • Decision: we shall call them "unsupported."
  • We support releases for 18 months, so anything older than that is fair game for archiving.
  • Do we want to build old versions from source files, in case we need to update in the case of security exploits or other important reasons?
    • Decision: we will build them from source, with each unsupported version in its own branch, fully isolated from the other versions.
  • If we keep the source, can we leave them in the repo but have docusaurus not build them for every build?
    • See above decision.
  • Docusaurus does not hang on to old source, they remove it. They rely on the fact that Netlify creates immutable unique URLs for every build, and they capture a URL for older versions.

Progress

Tasks

Preview Give feedback
  1. hold
  2. dx epic:archive-old-versions kind/enhancement
    pepopowitz
  3. dx epic:archive-old-versions kind/enhancement
    pepopowitz
  4. component:docs dx epic:archive-old-versions
    pepopowitz
  5. 8 of 8
    dx epic:archive-old-versions kind/cleanup
    pepopowitz
  6. dx epic:archive-old-versions kind/enhancement
    pepopowitz
  7. 9 of 9
    dx epic:archive-old-versions kind/cleanup
    pepopowitz
  8. 10 of 10
    dx epic:archive-old-versions kind/cleanup
    pepopowitz
  9. 8 of 8
    dx epic:archive-old-versions kind/cleanup
    pepopowitz
  10. 8 of 8
    dx epic:archive-old-versions kind/cleanup
    pepopowitz
  11. 12 of 12
    dx epic:archive-old-versions hold kind/cleanup
    pepopowitz
  12. 7 of 7
    component:docs dx epic:archive-old-versions kind/cleanup
    pepopowitz
@pepopowitz pepopowitz added kind/cleanup Issues related with clean-up the documentation component:docs Documentation improvements, including new or updated content dx Documentation infrastructure typically handled by the Camunda DX team labels Aug 17, 2022
@pepopowitz pepopowitz self-assigned this Aug 17, 2022
@pepopowitz pepopowitz moved this to 🆕 Inbox in Developer Experience Aug 17, 2022
@akeller
Copy link
Member

akeller commented Aug 18, 2022

This will likely get promoted to a Product Hub Epic.

@akeller akeller moved this from 🆕 Inbox to 📋 Backlog in Developer Experience Aug 22, 2022
@akeller
Copy link
Member

akeller commented Aug 22, 2022

Before I move this to an epic, I'd like to get this question answered:

We should look at docusaurus to see what they do with their archived versions. I know they aren't in the same repo...but maybe they are in their own repo somewhere?

I'll also socialize the "archived" language with legal and the C8 Stakeholder meeting.

@pepopowitz
Copy link
Collaborator Author

I updated the PR body, but re: docusaurus and how they handle archived sites, they explain it here. They don't hang on to the old source -- they capture the immutable URL from that specific release of the docs, and put that in the nav bar.

@pepopowitz
Copy link
Collaborator Author

What that means for us is....we can't look at docusaurus as a model for this. As far as I'm aware we don't have an immutable URL for every deployment. If we need to be able to update old versions, we'll need to come up with our own model for preserving old source, removing it from the current build, and being able to regenerate the old version docs.

@akeller
Copy link
Member

akeller commented Aug 25, 2022

We got a thumbs up from the C8 Stakeholder attendees this morning, but we'll need to do two things:

  • Determine supported versions (we support 1.3 and 8.0, but moving forward we will support versions for 18 months)
  • Decide on terminology ("Archive" wouldn't work for us)

Three things if you want to count "scheduling" this work, which is more of a question for you @pepopowitz. When would you like to consider this work?

@akeller akeller moved this from 📋 Backlog to 🔖 Ready in Developer Experience Sep 20, 2022
@akeller
Copy link
Member

akeller commented Oct 12, 2022

Given the 30-45 min build times we saw getting the release out for 8.1/3.9.0, this will be critical by Q1. It's annoying now. I'll move this into an epic for future planning.

@akeller akeller changed the title Archive older versions to external static sites [EPIC] Archive older versions to external static sites Oct 12, 2022
@akeller
Copy link
Member

akeller commented Oct 12, 2022

Please continue conversation on https://github.com/camunda/product-hub/issues/499.

@akeller akeller closed this as completed Oct 12, 2022
@akeller akeller moved this from 🔖 Ready to ✅ Done in Developer Experience Oct 12, 2022
@pepopowitz
Copy link
Collaborator Author

@akeller I'm reopening this, and attaching it as a line item for the product-hub issue. The product-hub issue became more broad, but this is still a specific tactical change we will want to prioritize & consider making.

@pepopowitz pepopowitz reopened this Apr 13, 2023
@pepopowitz pepopowitz changed the title [EPIC] Archive older versions to external static sites Archive older versions to external static sites Apr 13, 2023
@pepopowitz pepopowitz moved this to 🔖 Ready in Developer Experience Apr 17, 2023
@pepopowitz pepopowitz moved this from 🔖 Ready to 🏗 In Progress in Developer Experience May 15, 2023
@pepopowitz
Copy link
Collaborator Author

I'm closing this issue. There is one blocked version remaining, but it is tracked on its own. For all intents and purposes, this epic is complete.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Developer Experience Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:docs Documentation improvements, including new or updated content dx Documentation infrastructure typically handled by the Camunda DX team epic:archive-old-versions epic:build-time kind/cleanup Issues related with clean-up the documentation
Projects
Archived in project
Development

No branches or pull requests

2 participants