-
Notifications
You must be signed in to change notification settings - Fork 10
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
docs site version name (label) display in url and also in dropdown of versions #29
Comments
Sorry I forget to respond, but started working on it form morning |
@devopstoday11 website issue fixed. The main problem you mention is url issue from social media. |
Now we have to update the latestDocVersion in two places
check this url - https://tf-intelops-docs.netlify.app/1.0.1/compage/6-contribution/ and try that copied link in a new tab. intelops-docs.mp4 |
@devopstoday11 did you checked this? |
sorry, I just checked this. Please resubmit PR to chandu branch. I want to check in my local before merging to main branch. @tfsojon |
@devopstoday11 Submitted new PR. sorry for the previous PR. |
@tfsojon |
Ok, will do something with this. |
@devopstoday11 updated - https://tf-intelops-docs.netlify.app/1.0.0/compage/3-installation/ |
@tfsojon , yes that is what I wanted. Awesome. Thank you. |
@tfsojon @tfsumon , This is how topics are arranged currently in the Docs site code base - So in the UI when the docs site is launched, there is no need to have a single global version for all topics, which is what currently is. We a visitor clicks on a certain topic and when the relevant Topic's documentation page is opened, there that Topic's version should be should in the drop down (latest, 1.0.1, 1.0.0, etc.). |
Requirement explained in this video @tfsumon
|
@tfsumon , update on this? |
Hello @devopstoday11! I'm currently working on resolving issue #252 within the IntelOps website repository. Once I've completed this ongoing task, my next focus will be on resolving this issue - intelops/website#252 Please be aware that task #29 will require a significant amount of time and effort. It involves restructuring the entire content of the website and modifying the Hugo code that handles content based on various conditions. |
@tfsumon , Let me know if you have started this modification task - #29 (comment) or not. I need to plan accordingly. If you haven't started I can assign this to my internal developer if anyone is free otherwise I can still leave it assigned to you. This is a priority, blocking the publishing of our new docs. |
I will start it after finishing website related task #252. |
oh ok. |
I disagree with 3 week's timeline. @tfsumon |
@tfsumon , Did you talk to Mehedi and internal team members? What's the new ETA on this task? |
Sure, I've talked to my team, and I'll have it ready for you by October 18th, within a week. |
Hello @devopstoday11! I've made some modifications to the versioning feature and created a PR #71. Could you please review it and provide your feedback? Thank you! |
@tfsumon |
Fixed Conflict Please check latest Pr #73 |
@tfsumon , |
@tfsumon , |
@tfsumon , |
I tried that already, still didn't work. @tfsumon I pushed my local changes to my branch "chandu". Take the code from there. That branch has the new structure functionality you provided and the folders I played with. Use it to do your testing please. |
Okay, thank you for your clarification. I'm thoroughly reviewing it to the best of my ability. |
Hello @devopstoday11, I would appreciate some clarification on the following questions:
I kindly request your insights on these matters. |
If it's possible, creating a video to explain these points would help me understand better. Your visual explanation would be really useful. |
@tfsumon , "For now, page url will be copied as as they are. In the future, if I find a suitable solution, I will implement it." -- this we still need it since we have to update the URL in several other areas where we use docs links in marketing materials and social media postings. @tfsojon has done this in previous versioning implementations. Please talk to him about how he did that and take the same approach. Other things are looking fine so far. Thank you. @tfsumon |
Sojon used Netlify to redirect users, but in that case, the 'latest_version' was the same, which made it feasible. However, I've got a solution . I'll work on implementing it today and will keep you updated. |
Hello @devopstoday11 ! I've implemented the most recent changes and submitted a PR Kindly review it and provide your feedback. Thank you! |
@tfsumon , does this include the redirection feature too? |
yes. |
@tfsumon , |
I've tested the main repo code locally, and it works well. Can you share more details about this issue? @devopstoday11 |
@tfsumon , yes it is weird. When I tested in my local, that search didn't work. I just tested on the live docs site, it is working. I guess it is fine now. |
explained the issue here -
https://www.loom.com/share/79a5434464b24c87a29a34305178acb8
@tfsojon
Currently for the latest version of docs - the URL is like this https://docs.intelops.ai/1.0.0/compage/1-docs-structure/
For the latest version docs only - the URL should have the version name in it instead of the version number, something like this https://docs.intelops.ai/latest/compage/1-docs-structure/
label parameter I explained in the video - new parameters to use for latest version doc in .md file : -
version_name: "latest"
display_version_name: "true"
The text was updated successfully, but these errors were encountered: