kamranahmedse / developer-roadmap

Interactive roadmaps, guides and other educational content to help developers grow in their careers.
https://roadmap.sh
Other
297.67k stars 39.18k forks source link

Underlying details of roadmap-renderer ? #1641

Closed genshinw closed 2 years ago

genshinw commented 2 years ago

Hi, I very like the beautiful roadmap, I want to know how to impl such svg clickable roadmap. Do you have any plan to make the roadmap-renderer to public? Thanks very much.

dekadentno commented 2 years ago

Please @kamranahmedse think about making the roadmap renderer public. We'll be able to implement custom and interactive roadmaps for our colleagues. Roadmaps do not have to be strictly related to the world of development and this tool would help everyone who wants to implement something like that.

Edit: I really like the feature where the user clicks on a particular item and the details open on the right side. Examples of what can be built in case the author decides to release roadmap-renderer to the public:

dekadentno commented 2 years ago

@genshinw here's a temporary solution I found: checkout to an commit that is made before the author decided to make the roadmap-renderer private, and simply continue from there.

git checkout 83933b9df610a0737779bf6ffd125be6df5347df

That commit happened at Aug 28, 2022.

genshinw commented 2 years ago

@dekadentno Thank you very much!But after checkout this 83933b9 version, I haven't find the render dir in lib. Where did I go wrong?

image
dekadentno commented 2 years ago

@genshinw I am not entirely sure what happened. If I were you, I would just find the "Add roadmap-renderer package" commit on the master branch from Aug 28, 2022 and go back in time one commit at a time and find the one that works locally.

https://github.com/kamranahmedse/developer-roadmap/commits/master?after=ed9222c172e3ddf20bd386ca1491f2a5d880e147+69&branch=master&qualified_name=refs%2Fheads%2Fmaster

kamranahmedse commented 2 years ago

Thank you for opening the issue. I am in the process of rewriting bits of the project. The roadmap renderer has been taken out from the codebase into a separate package. It needs to be cleaned up and be made feature complete before we make it public. However, you should be able to install the dependencies now.