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

adding workflow for major release doc updates #4000

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

anaxceron
Copy link
Collaborator

Describe your pull request here: Documenting the process for updating doc for a major Zowe release

List the file(s) included in this PR: major_release_workflow.md

After creating the PR, follow the instructions in the comments.

@anaxceron anaxceron added area: docs Documentation issue or issues that have documentation impact release: V3 Zowe V3 content review: doc Needs review by Doc Squad member labels Nov 14, 2024
@anaxceron anaxceron self-assigned this Nov 14, 2024
Copy link

😺 Thank you for creating this PR! To publish your content to Zowe Docs, follow these steps.

  • Add the label review: sme if an SME needs to check your content.
  • Identify your content topic with a label. (Examples: area: apiml, area: cli, area: install and config, etc.)
  • Specify the major Zowe release(s) for your content. (Examples: release: V1, release: V2, release: V3)
    • If adding content that needs to be removed from V3 documentation, add the V3 N/A tag.
  • Link any Doc Issues related to this PR.
  • Fix broken links found in your content areas.
  • Notify the SME to review this PR (if applicable).
  • Merge to the master branch if your PR updates content that is on the live site. Merge to docs-staging if your PR updates content for a future release.

1 similar comment
Copy link

😺 Thank you for creating this PR! To publish your content to Zowe Docs, follow these steps.

  • Add the label review: sme if an SME needs to check your content.
  • Identify your content topic with a label. (Examples: area: apiml, area: cli, area: install and config, etc.)
  • Specify the major Zowe release(s) for your content. (Examples: release: V1, release: V2, release: V3)
    • If adding content that needs to be removed from V3 documentation, add the V3 N/A tag.
  • Link any Doc Issues related to this PR.
  • Fix broken links found in your content areas.
  • Notify the SME to review this PR (if applicable).
  • Merge to the master branch if your PR updates content that is on the live site. Merge to docs-staging if your PR updates content for a future release.

Copy link

github-actions bot commented Nov 14, 2024

@github-actions github-actions bot temporarily deployed to pull request November 14, 2024 20:35 Inactive
Copy link
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The overall flow makes sense to me 🙏
left a few questions/comments just to try and understand a bit better the whole process 😋

release-handbook/major_release_workflow.md Show resolved Hide resolved
Comment on lines +37 to +40
- Archive the `/static` files:
1. Go to the `/static` folder.
2. Create an empty directory with the name of the previous version in `/static`. For example: `static/v3.5.x`.
3. Copy all contents of the `/static/stable` directory and paste them in the previous version's empty directory in the previous step. For example: `/static/v3.5.x`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to have these steps be done as part of the npm run <script> mentioned above?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk, but if so, we'd need dev help to look into, and implement, that.

2. Create an empty directory with the name of the previous version in `/static`. For example: `static/v3.5.x`.
3. Copy all contents of the `/static/stable` directory and paste them in the previous version's empty directory in the previous step. For example: `/static/v3.5.x`.

- Update a set of links in the archived documentation to ensure that they refer to the correct location:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to run the link checker locally?
That way we don't have to rely on manual link-verification 😋

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be run locally, but would require installing extra deps like Rust/cargo.

cargo install lychee
lychee --accept 403,406,429 --cache --fallback-extensions md --include-fragments --max-cache-age 1d --max-concurrency 2 --timeout 60 --verbose 'docs/**/*.md'


1. To do this, switch to the archived directory. In our example, that's `versioned_docs/version-v3.5.x`.

2. Update several locations in the archived docs to refer to the correct release, the 3.5 release (in our example case).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it sounds like these steps could also be moved into a script? 😋

release-handbook/major_release_workflow.md Show resolved Hide resolved
release-handbook/major_release_workflow.md Show resolved Hide resolved
Copy link
Member

@t1m0thyj t1m0thyj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @anaxceron - I don't have any comments to add to Fernando's 😋

@github-actions github-actions bot temporarily deployed to pull request November 18, 2024 17:02 Inactive
Copy link
Member

@traeok traeok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ana, LGTM

@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 16:49 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 19:52 Inactive
@anaxceron anaxceron merged commit a4bfeee into master Nov 19, 2024
3 of 4 checks passed
@anaxceron anaxceron deleted the anax-v3.0-majorrelease-docs branch November 19, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Documentation issue or issues that have documentation impact release: V3 Zowe V3 content review: doc Needs review by Doc Squad member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants