Skip to content

Releases: Zanger67/WikiLeet

Moved data management to external repo

20 Jul 06:43
Compare
Choose a tag to compare
  • Moved .json and .pkl files retaining to LeetCode question details (e.g. AC rates, slugs, related topics, etc.) to a separate repo found here to reduce cluttering commit log with general maintenance commits from queries.
  • Added icons

External data repo: https://github.com/Zanger67/leetcode-question-data

LeetCode solutions markdown wiki generator

20 Jul 02:12
Compare
Choose a tag to compare

A tool that links to your GitHub repo of LeetCode solutions. WikiLeet parses the files found in my-submissions/ and converts it into a navigable README, with options to view your journey sorted by question, category, topic, most recent, and others!

Setup

  1. In your repo on github.com, click on Actions and ensure that actions are enabled for this repo. Then in your repo create a folder
  2. Create a .github/workflows/ folder/directory in your repo.
./project root
└── .github
    └── workflows
  1. Create a main.yml file in this folder
./project root
└── .github
    └── workflows
        └── main.yml
  1. Paste the following code into the file. Make sure to insert your own LeetCode username!
name: '[Updating markdown files]'

on:
    # Allows for munual runs of workflow
    workflow_dispatch:

    # Default whenever a new code file is pushed to the main branch
    push:
        branches:
            - main
        paths:
            - 'my-submissions/**'

permissions:
    contents: write

jobs:
    build:
        runs-on: ubuntu-latest
        
        steps:
            - name: Call and run markdown generator
              uses: Zanger67/WikiLeet@main
              with:
                # Insert your LeetCode username here!
                username: Zanger