changgyhub / leetcode_101

LeetCode 101:力扣刷题指南
8.69k stars 1.17k forks source link

Transform LeetCode 101 into an Interactive Multi-Language Docusaurus Site #95

Open noworneverev opened 1 week ago

noworneverev commented 1 week ago

Transform LeetCode 101 into an Interactive Multi-Language Docusaurus Site

Thank you for creating this excellent LeetCode ebook! I’ve transformed it into an interactive website using Docusaurus to make it more accessible and user-friendly.

Main Features 🚀

  1. Internationalization (i18n): English and Traditional Chinese (translation by GPT-4o).
  2. Search Functionality: Quickly find the content you need.

The site also includes a logo generated with GPT-4o.

Hosting the Site 🌐

To host the site using GitHub Pages:

  1. Modify docusaurus.config.ts:
    const config: Config = {
     // ...
     organizationName: "changgyhub";
     url: "https://changgyhub.github.io/";
     // ...
     }
  2. Add a repository secret: GH_TOKEN.
  3. Push changes to deploy the site at: https://changgyhub.github.io/leetcode_101

For reference, I’ve hosted a demo version here: https://noworneverev.github.io/leetcode_101/

Thanks again for your efforts in creating this fantastic resource! 🙌