From a57bdd25e3cfcf90fd87ac4108954742e75926b8 Mon Sep 17 00:00:00 2001 From: Kilian Lieret Date: Fri, 12 Jul 2024 14:33:57 -0400 Subject: [PATCH] Try with nested directory structure --- .github/workflows/build-docs.yaml | 3 +-- README.md | 7 +++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index 2cf4c40..f442809 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -17,7 +17,6 @@ jobs: - name: Check out website uses: actions/checkout@v4 with: - path: website-draft fetch-depth: 0 - name: Check out submissions uses: actions/checkout@master @@ -57,7 +56,7 @@ jobs: run: | tree -d ../../ - name: Building leaderboard - run: python leaderboard/create_leaderboard.py --input ../submissions --output docs/leaderboard_table.md + run: python leaderboard/create_leaderboard.py --input submissions --output docs/leaderboard_table.md - name: Build Documentation if: github.ref != 'refs/heads/main' run: mkdocs build diff --git a/README.md b/README.md index 8321981..d21b14c 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,12 @@ ## Building it ```bash +pip install -r requirements.txt +# Check out submissions and turn them into table +git clone https://github.com/scicode-bench/submissions.git ../submissions +./leaderboard/create_leaderboard.py --input ../submissions --output docs/leaderboard_table.md + +# Preview the website +mkdocs serve ``` \ No newline at end of file