-
Notifications
You must be signed in to change notification settings - Fork 43
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
#1932 Publish v13 Docs using mike #1967
Conversation
Signed-off-by: srikant <[email protected]>
Signed-off-by: srikant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made this comment elsewhere but it seems to have disappeared: Previously we had to check with our release manager (Anita Chiu) if it was OK to introduce a new package into Elyra Canvas. Have you mentioned this to Anita?
Also, the README will need to be updated with new instructions on what to run -- just like we did when mkdocs was introduced. |
Signed-off-by: srikant <[email protected]>
Signed-off-by: srikant <[email protected]>
Hi @tomlyn I have updated |
This looks good to me. My only thought is can we style the dropdown to have a black background? I think we should also get @matthoward366 's approval before merging it in. Matt, are you OK with this? I'm am still a little unsure how we are going to use this. It's no use to switch between v12 and v13 and it might be a very long time before we go to v14 so are we going to add a new entry to the drop down for every minor release of v13 (v13.1, v13.2, etc) ? Tagging @JesusGuerrero in case he has some input. |
Signed-off-by: srikant <[email protected]>
We wouldn't have doc versions for each minor release. I'm curious how this works in the future. When we do create a 14 version are there changes need in both 13 and 14 branches to make this work? |
Hi @matthoward366 When we create 14 version then only changes to one branch is enough. Only thing we need to change is in @tomlyn I have updated docs to include dropdown with black background. |
Would this be on main or the v13 branch? If we make changes in the v13 branch will that update the documentation? |
README.md
Outdated
mike set-default v13 | ||
|
||
# This command will create a folder named as v12.x in gh-pages branch. | ||
mike deploy --push --update-aliases v12.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to create initial setup in gh-pages
which will create a folder named v12.x
and place all the doc changes in it. So when we select on v12.x from dropdown it will fetch docs from this folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we won't have v12 docs should this be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this can be removed if there is no v12 docs. Should I remove this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think we should. @tomlyn do you agree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I have removed that from Readme.
It's still not clear to me how this is going to work for the different branches and how each branch documentation is going to maintained. |
@matthoward366 If we want to use mkdocs versioning for different branches we must have changes from this PR in all the branches with |
When we create a new v13 branch can you give me the steps needed? |
-If there is a new v13 branch which is derived from current main then no changes are needed in it as current main branch will already have -Changes should be made in main branch (v14) by updating so |
Hi @srikant-ch5 |
Signed-off-by: srikant <[email protected]>
Hi @tomlyn I have updated readme with |
Signed-off-by: srikant <[email protected]>
README.md
Outdated
# Test changes in local. | ||
mike serve | ||
|
||
# If above command doesn't reflect any changes made to docs please run below mkdocs command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you write this as: "If you are working on Elyra Canvas documentation content, you should run the following command, instead of the mike serve
command, to see your changes immediately reflected in the browser."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I have updated accordingly.
Signed-off-by: srikant <[email protected]>
Hi @tomlyn any update on this PR, any changes needs to be done here ? |
@srikant-ch5 It looks good to me but I think we should wait until @matthoward366 is happy. He is currently away and back on Tuesday June 4th. |
Signed-off-by: srikant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes: #1932 , #1895
Developer's Certificate of Origin 1.1