Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
af914ea
Remove wrong note
Didayolo May 5, 2026
c1920af
OIDC updates from #2183 - Ensure username for OIDC accounts fit into …
ihsaan-ullah May 16, 2026
d06f24e
Add description in dropdown selector (edit phase > select tasks) (#2340)
Didayolo May 16, 2026
8edb3d2
Merge pull request #2362 from codalab/task-message
Didayolo May 16, 2026
70463f2
switch to zensical since mkdocs 1 is unmaintained and mkdocs 2 is ...…
Mar 5, 2026
d16118b
remove some mkdocs traces, update workflow to use zensical instead of…
Mar 5, 2026
eb6fdac
update the documentation to use system font instead of google fonts
Mar 6, 2026
274a454
rebase and update branch with new documentation
Mar 9, 2026
ecc6591
remove mkdocs.yml; update zensical.toml
Mar 9, 2026
5f9727b
rebase; add mike for versioning; change workflows to include mike
May 5, 2026
6da5538
Merge pull request #2233 from codalab/documentation_zensical
Didayolo May 18, 2026
ea61786
reorganzing and cleaning of compute worker
ihsaan-ullah Mar 26, 2026
9e7e65e
minor updates
ihsaan-ullah Mar 26, 2026
5b95ab4
updates to compute worker to avoid duplicating submission during inge…
ihsaan-ullah Mar 31, 2026
d9ae6e3
comments added for clarity
ihsaan-ullah Apr 1, 2026
479a787
spacing fixed
ihsaan-ullah Apr 1, 2026
9bbc49c
comments added for clarity, empty line removed
ihsaan-ullah Apr 1, 2026
5b81089
Correct error message
Didayolo Apr 17, 2026
f4b6cd7
Update prepare
Didayolo Apr 17, 2026
0aefea1
create output dir if does not exist and some minor fixes to container…
ihsaan-ullah May 2, 2026
b7ec7d1
try/except converted to if else for unpacking task_results
ihsaan-ullah May 19, 2026
a0430dc
Merge pull request #2303 from codalab/compute_worker_submission_dupli…
Didayolo May 19, 2026
e7ebb48
Bump idna from 3.13 to 3.15 in /compute_worker
dependabot[bot] May 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
473 changes: 257 additions & 216 deletions compute_worker/compute_worker.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions compute_worker/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion documentation/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ wheels/
# Virtual environments
.venv

uv.lock

site/*
.python-version
1 change: 0 additions & 1 deletion documentation/.python-version

This file was deleted.

20 changes: 3 additions & 17 deletions documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,12 @@ To build the docs locally, you will have to first install [uv](https://github.co
Once that is done, you can run the following commands (while inside this folder):

```bash
uv sync # You only need to run this once, it will download all the necessary python packages
PDF=1 uv run mkdocs serve -a localhost:8888 # This will build the site and serve it on localhost:8888
uv sync --frozen # You only need to run this once, it will download all the necessary python packages
uv run zensical serve -a localhost:8888 # This will build the site and serve it on localhost:8888
```

Open [localhost:8888](http://localhost:8888/) in your browser and you will see the docs. Every changes you make will rebuild the documentation.
You can remove the `PDF=1` environement variable if you want to speed up the build process, but you will not generate the related PDF.


### Versioning
We use the [mike](https://github.com/jimporter/mike) plugin to preserve multiple version of the docs.

To use it, you can run the following command:
```bash
PDF=1 uv run mike deploy -u dev # This will create the site and push the changes in the gh-pages branch
uv run mike serve -a localhost:8888 # Serve the site on localhost:8888
```
Check the official Github page of the plugin for more information on how it works.

## Images and Assets
Images and assets are saved in the `_attachments` folder closest to the documentation file that calls for the image. If an image is used in multiple different places, then it should be put in `_attachements` folder in the `docs/` root directory.

## Github workflow
We have Github workflows set up to automatically rebuild the docs when the `develop` branch receives changes, and when a new tag is created for the `master` branch.
Images and assets are saved in the `_attachments` folder closest to the documentation file that calls for the image. If an image is used in multiple different places, then it should be put in `_attachements` folder in the `docs/` root directory.
6 changes: 0 additions & 6 deletions documentation/main.py

This file was deleted.

177 changes: 0 additions & 177 deletions documentation/mkdocs.yml

This file was deleted.

4 changes: 2 additions & 2 deletions documentation/overrides/partials/copyright.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
{% endif %}
{% if not config.extra.generator == false %}
Made with
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
Material for MkDocs
<a href="https://zensical.org/" target="_blank" rel="noopener">
Zensical
</a>
{% endif %}
</div>
14 changes: 7 additions & 7 deletions documentation/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[project]
name = "codabench-mkdocs"
name = "documentation"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.14"
dependencies = [
"mike>=2.1.3",
"mkdocs-glightbox>=0.4.0",
"mkdocs-material>=9.6.15",
"mkdocs-open-in-new-tab>=1.0.8",
"mkdocs-to-pdf>=0.10.1",
"mike",
"zensical>=0.0.24",
]

[tool.uv.sources]
mike = { git = "https://github.com/squidfunk/mike.git" }
Loading