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

graduation: Versionize the documents for every SDKs #3319

Closed
1 task
Tracked by #3283
Xuanwo opened this issue Oct 17, 2023 · 11 comments
Closed
1 task
Tracked by #3283

graduation: Versionize the documents for every SDKs #3319

Xuanwo opened this issue Oct 17, 2023 · 11 comments

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Oct 17, 2023

Currently, the documentation is only for the latest, which could cause confusion for the end users.

Tasks

@Xuanwo Xuanwo mentioned this issue Oct 17, 2023
11 tasks
@suyanhanx
Copy link
Member

I plan to take a snapshot of the website and deploy it on nightlies whenever we make a release.
It will be the place where we distribute historical documents. Also for the latest stable version.
Whereas our website defaults to displaying documents up to the unstable version, it means documents on the main branch are published directly to opendal.apache.org after each commit.

@Xuanwo
Copy link
Member Author

Xuanwo commented Oct 17, 2023

I plan to take a snapshot of the website and deploy it on nightlies whenever we make a release.

So it will be something like https://nightlies.apache.org/flink/flink-docs-release-1.19/?

Potential issues include the need to add a header redirecting users to our most recent documents, and providing links to previous versions of these documents. Do you have a strategy for addressing these concerns?

@suyanhanx
Copy link
Member

So it will be something like https://nightlies.apache.org/flink/flink-docs-release-1.19/?

Yes.

Potential issues include the need to add a header redirecting users to our most recent documents, and providing links to previous versions of these documents. Do you have a strategy for addressing these concerns?

It's easy to do this. Docusaurus has provided a convenient way to add the banner. We can also provide links or a page of documents' link list to past versions of the documentation.

@Xuanwo
Copy link
Member Author

Xuanwo commented Oct 17, 2023

Great, would you like to take over this issue?

@suyanhanx
Copy link
Member

Great, would you like to take over this issue?

Yep.

@suyanhanx
Copy link
Member

Over the past two days, I have been attempting to manually deploy the build of the website to the nightlies.
However, I encountered several strange issues, and I believe that manual deployment is not feasible.
Therefore, I plan to deploy the previous versions of our docs once the secrets are configured, using a temporary workflow.

@Xuanwo
Copy link
Member Author

Xuanwo commented Dec 11, 2023

Therefore, I plan to deploy the previous versions of our docs once the secrets are configured, using a temporary workflow.

We can start deploying since our next release. No bother to build the previous version.

@suyanhanx
Copy link
Member

We can start deploying since our next release. No bother to build the previous version.

Thank you. However, I will still consider this option.

I plan to deploy two copies for each version when we do release.
One will be named release-${version}, which will remain unchanged after deployment.
The other one will be named stable, and it will be overwritten when we do release. We need a place where users can quickly access our latest documentation version.

@Xuanwo
Copy link
Member Author

Xuanwo commented Dec 11, 2023

I plan to deploy two copies for each version when we do release.
One will be named release-${version}, which will remain unchanged after deployment.
The other one will be named stable, and it will be overwritten when we do release. We need a place where users can quickly access our latest documentation version.

Simple.

We can run the same deploy twice: one for tagged version, one for stable.

@Xuanwo
Copy link
Member Author

Xuanwo commented Dec 11, 2023

Let me add those logic inside #3739

@Xuanwo
Copy link
Member Author

Xuanwo commented Dec 12, 2023

The UI/UX work could be moved to other thread: #3742

@Xuanwo Xuanwo closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
@Xuanwo Xuanwo closed this as completed Dec 12, 2023
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

No branches or pull requests

2 participants