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

Configure multi-instance versioning #1116

Closed
pepopowitz opened this issue Aug 2, 2022 · 8 comments
Closed

Configure multi-instance versioning #1116

pepopowitz opened this issue Aug 2, 2022 · 8 comments
Assignees
Labels
component:docs Documentation improvements, including new or updated content dx Documentation infrastructure typically handled by the Camunda DX team epic:optimize-versions

Comments

@pepopowitz
Copy link
Collaborator

pepopowitz commented Aug 2, 2022

Epic: https://github.com/camunda/product-hub/issues/231
Prerequisite: #1115

Optimize versions are different than the versions of the other Camunda components. Docusaurus recommends using multiple instances of the docs plugin to enable users to see different versions for different docs.

Work to be done

Preparation (ahead of time)

Move docs over

  1. ✅ Create a "next" Optimize version

    1. feat: set up optimize docs instance and move one doc over #1166
      This moves a single doc into the new instance, including all configuration necessary to iteratively move more docs over afterward:
      • Add a second Optimize instance of the docs plugin
      • Add a second Optimize set of sidebars for the new instance.
      • Configure sidebars for consistent cross-plugin navigation
      • Move one doc (what-is-optimize) into new instance
      • Update links in documentation for the moved doc (and docs that reference it)
    2. ✅ Iteratively move remaining "next" Optimize docs over: feat: move "next" optimize docs into new optimize instance (subset #1) #1204 and feat: move remaining "next" optimize docs into new optimize instance (subset #2) #1214
  2. ✅ Create a "3.8.0" Optimize version

    1. feat: Extract Optimize v3.8.0 docs to new /optimize section #1234
      This will be merged into main all at once, because this is the current version of documentation and we will confuse people if we release it in pieces.
  3. chore: move exisiting Optimize docs into a components/ folder to make space for apis-clients/ and self-managed/ #1286
    For consistency with the new folders planned to move, we'll want to move all the existing Optimize docs into a /components/ folder.

    1. Move /optimize/* into /optimize/components/* for vNext
    2. Move /optimize_versioned_docs/version-3.8.0/* into /optimize_versioned_docs/version-3.8.0/* for v3.8.0
  4. ✅ Move Optimize docs from apis-clients & self-managed sections into Optimize instance

    1. ✅ vNext: feat: move next/apis-clients/optimize-api and next/self-managed/optimize-deployment into optimize instance #1293
      1. Move /docs/apis-clients/optimize-api/ docs into vNext
      2. Move /docs/self-managed/optimize-deployment/ docs into vNext
    2. ✅ v3.8.0: feat move 3.8.0/apis-clients/optimize-api and 3.8.0/self-managed/optimize-deployment into optimize instance #1300
      1. Move /docs/apis-clients/optimize-api/ docs into 3.8.0
      2. Move /docs/self-managed/optimize-deployment/ docs into 3.8.0
  5. Update release-procedure.md #1217

  6. ✅ Create a "3.7.0" Optimize version

Follow-ups/polish

POC

See #906 for a POC of this work.

Decision to make

What do we want to use as the root directory for the new section of documentation?

In #906, I used optimize as the root. It’s arbitrary, and we can choose whatever we want (except for something starting with docs since that is the main docs instance). (Update: we chose optimize.)

Background

This is Recommendation #1 in the Optimize Multi-Instance Documentation Proposal.

@pepopowitz pepopowitz added component:docs Documentation improvements, including new or updated content dx Documentation infrastructure typically handled by the Camunda DX team epic:optimize-versions labels Aug 2, 2022
@pepopowitz pepopowitz self-assigned this Aug 2, 2022
@akeller
Copy link
Member

akeller commented Sep 28, 2022

@pepopowitz wants a post mortem for this, and I 100% agree.

@pepopowitz
Copy link
Collaborator Author

@pepopowitz wants a post mortem for this, and I 100% agree.

Added to our 1:1 board 😅

@akeller
Copy link
Member

akeller commented Oct 20, 2022

@pepopowitz what work remains open that must be completed for this issue? I know other items have popped up but they seem outside of the scope of this epic.

(More context: I'm interested in pivoting our focus to the C7 SEO issues.)

@pepopowitz
Copy link
Collaborator Author

this is the last bit I consider part of the original work!

image

@pepopowitz
Copy link
Collaborator Author

Wait, nevermind -- I was struggling to find the Optimize apis-clients docs for 1.3....and it turns out it's because they don't exist.

So

THIS

IS

DONE!!!

@pepopowitz
Copy link
Collaborator Author

Before I close it -- how much do we care about these 2 issues? Are they worth creating issues for?

  • Make the "Components" item in the top nav active when in the Optimize docs
  • Make footer links include cross-instance docs ($docs$ skips over $optimize$ pages, and vice versa)

@akeller
Copy link
Member

akeller commented Oct 20, 2022

I think we can leave them here for context, no need to create new issues at this time.

I'm excited to celebrate all your great work with this 🎉

@pepopowitz
Copy link
Collaborator Author

👍

CLOSING AS COMPLETED

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:optimize-versions
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants