Skip to content

Commit

Permalink
v8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
christianp committed Nov 14, 2024
1 parent 5dbfcb3 commit d88c384
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
everything: update_tests docs

VERSION=8.0
VERSION=8.1

NUMBAS_EDITOR_PATH ?= ../editor
JSDOC_TEMPLATE_PATH ?= ../numbas-jsdoc-template
Expand Down
2 changes: 1 addition & 1 deletion bin/numbas.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from zipfile import ZipFile, ZipInfo


NUMBAS_VERSION = '8.0'
NUMBAS_VERSION = '8.1'


namespaces = {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions schema/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
<link rel="stylesheet" href="schema_doc.css">
<script src="schema_doc.js" defer></script>

<title>Numbas exam schema v8.0</title>
<title>Numbas exam schema v8.1</title>
</head>
<body id="root">
<header>
<h1>Numbas exam schema v8.0</h2>
<h1>Numbas exam schema v8.1</h2>
</header>
<main>
<div class="intro">
<p><a href="https://www.numbas.org.uk">Numbas</a> <code>.exam</code> files are JSON objects, with an additional comment line at the start describing the version of the format used.</p>
<p>The line for the current version should look like this:</p>
<pre>// Numbas version: finer_feedback_settings</pre>
<p>The rest of the file should consist of a single JSON object, matching the following schema.</p>
<p><a href="exam_schema.8.0.json">Download the schema in JSON-Schema format</a></p>
<p><a href="exam_schema.8.1.json">Download the schema in JSON-Schema format</a></p>
</div>

<article class="schema open">
Expand Down
2 changes: 1 addition & 1 deletion schema/make_schema.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import jinja2

version = '8.0'
version = '8.1'
migration_version = 'finer_feedback_settings'

with open(f'exam_schema.{version}.json') as f:
Expand Down

0 comments on commit d88c384

Please sign in to comment.