Skip to content

Commit 3b82b38

Browse files
cubercslmeisterT
authored andcommitted
docs: specify externalid and shortname is optional
Document that external ID and shortname are optional key in domjudge-problem.ini metadata file. This was implemented in e316344 but is not documented. Closes #2633. Signed-off-by: cubercsl <[email protected]>
1 parent 597e622 commit 3b82b38

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

doc/manual/problem-format.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,16 @@ interface):
4444
- ``special_compare`` - executable id of a special compare script
4545
- ``points`` - number of points for this problem (defaults to 1)
4646
- ``color`` - CSS color specification for this problem
47-
48-
The basename of the ZIP-file will be used as the problem short name (e.g. "A").
49-
All keys are optional. If they are present, the respective value will be
50-
overwritten; if not present, then the value will not be changed or a default
51-
chosen when creating a new problem. Test data files are added to set of test
52-
cases already present. Thus, one can easily add test cases to a configured
53-
problem by uploading a zip file that contains only testcase files. Any jury
54-
solutions present will be automatically submitted when ``allow_submit`` is
55-
``1`` and there's a team associated with the uploading user.
47+
- ``externalid`` - the external id of the problem
48+
- ``short-name`` - the short name of the problem
49+
50+
The basename of the ZIP-file will be used as the problem external id and short
51+
name (e.g. "A"). All keys are optional. If they are present, the respective
52+
value will be overwritten; if not present, then the value will not be changed
53+
or a default chosen when creating a new problem. Test data files are added to
54+
set of test cases already present. Thus, one can easily add test cases to a
55+
configured problem by uploading a zip file that contains only testcase files.
56+
Any jury solutions present will be automatically submitted when ``allow_submit``
57+
is ``1`` and there's a team associated with the uploading user.
5658

5759
.. _ICPC problem package specification: https://icpc.io/problem-package-format/spec/problem_package_format

0 commit comments

Comments
 (0)