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

Add release process for versioned docs. #6

Merged
merged 3 commits into from
Aug 28, 2023
Merged

Conversation

bgravenorst
Copy link
Contributor

Add instructions to release the documentation when using versioning.

@vercel
Copy link

vercel bot commented Jul 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 0:53am

Copy link
Contributor

@alexandratran alexandratran left a comment

Choose a reason for hiding this comment

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

Some style feedback (the instructions look good).

docs/contribute/doc-release-process.md Outdated Show resolved Hide resolved
docs/contribute/doc-release-process.md Outdated Show resolved Hide resolved
The following instructions are for documentation that uses the Docusaurus versioning system.

:::info
Currently, only the Teku documentation utilizes versioning, supporting just two versions: `stable` and `development`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Currently, only the Teku documentation utilizes versioning, supporting just two versions: `stable` and `development`.
Currently, only the Teku documentation uses versioning, supporting just two versions: `stable` and `development`.

docs/contribute/doc-release-process.md Outdated Show resolved Hide resolved
docs/contribute/doc-release-process.md Outdated Show resolved Hide resolved
Comment on lines 114 to 116
Lastly, we'll cleanup the documentation directory by deleting the previous stable docs. For this example it means:

1. In the `versioned_docs` directory, delete the `version-23.6.2` folder
Copy link
Contributor

@alexandratran alexandratran Jul 31, 2023

Choose a reason for hiding this comment

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

Suggested change
Lastly, we'll cleanup the documentation directory by deleting the previous stable docs. For this example it means:
1. In the `versioned_docs` directory, delete the `version-23.6.2` folder
Lastly, clean up the documentation directory by deleting the previous stable docs. For this example it means:
1. In the `versioned_docs` directory, delete the `version-23.6.2` folder.

1. In the `versioned_docs` directory, delete the `version-23.6.2` folder
2. In the `versioned_sidebars` directory, delete the `version-23.6.2-sidebars.json` file.

Create your pull request. You can perform a final check using the Preview link that gets created for your PR.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Create your pull request. You can perform a final check using the Preview link that gets created for your PR.
Create your pull request. You can perform a final check using the preview link generated for your PR.


# Documentation release process

The following instructions are for documentation that uses the Docusaurus versioning system.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The following instructions are for documentation that uses the Docusaurus versioning system.
The following instructions are for documentation that uses the [Docusaurus versioning system](https://docusaurus.io/docs/next/versioning).

:::

A new stable version of the documentation is released when a new version of the software is released.
In the following example we'll release the `23.6.3` version of the documentation (from `23.6.2`).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
In the following example we'll release the `23.6.3` version of the documentation (from `23.6.2`).
In the following steps, we'll release the `23.6.3` version of the documentation (from `23.6.2`) as an example.

Comment on lines 22 to 24
### 1. Create a new version of the documentation:

Create a new documentation version by running the following command:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
### 1. Create a new version of the documentation:
Create a new documentation version by running the following command:
### 1. Create a new version of the documentation
Create a new version by running the following command in the documentation repository:

Signed-off-by: bgravenorst <[email protected]>
@bgravenorst bgravenorst merged commit 8fa1899 into main Aug 28, 2023
7 checks passed
@bgravenorst bgravenorst deleted the addReleaseProcess branch August 28, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants