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

Migrate to Docusaurus #236

Open
qwertyvipul opened this issue Mar 11, 2023 · 4 comments
Open

Migrate to Docusaurus #236

qwertyvipul opened this issue Mar 11, 2023 · 4 comments

Comments

@qwertyvipul
Copy link

The current site misses out on a few important features now standard across modern documentation sites. Such as:

  1. Sidebar for quick navigation between pages and better context of the site heirarchy,
  2. Previous and next link to pages,
  3. Fixed TOC on top right for better context of current position in the page content hierarchy, and
  4. Search

This causes significant inconvenience to developers browsing the site, especially when in need for quick reference. Proposing to migrate from Metalsmith to Docusaurus as it provides the above features out of the box along with many others.

I tried this migration with my fork, and was able to do it with minimal changes in the existing markdown contents and without breaking the existing links and redirects. Refer:

  1. Resulting site
  2. Changelog

I will go ahead a raise a PR for the migration without Search feature. Read here for the Docusaurus search support.

@qwertyvipul
Copy link
Author

cc @hegemonic

@oleksandr-dukhovnyy
Copy link

Almost created the same PR.
Indeed, upgrading to a more modern look greatly optimizes the user experience.
I just spent over 10 minutes trying to verify that, for example, the @complexity parameter does not exist. To do this, I had to dig through the entire site.

If the effort is really small, then it's worth doing!

@qwertyvipul
Copy link
Author

@Aleksandr-JS-Developer it's a one time effort. I have already created this non-breaking PR and the resulting site would be as good as the current one w.r.t existing experience, plus it will also have the additional features mentioned in the issue except search. However, I haven't been able to get any response from the maintainers, thus stuck with a pending PR.

@KeJunMao
Copy link

KeJunMao commented Jul 7, 2023

try this https://github.com/kejunmao/jsdoc

preview: https://vjsdoc.netlify.app/

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

3 participants