diff --git a/dodo.py b/dodo.py
index 4cad201a..618000ac 100644
--- a/dodo.py
+++ b/dodo.py
@@ -47,7 +47,8 @@ def get_pygments(target, theme):
"""body {
background-color: var(--nb-background-color-%s);
color-scheme: %s;
- }\n""" % (theme, theme)
+ }\n"""
+ % (theme, theme)
+ pygments.formatters.get_formatter_by_name(
"html", style=f"a11y-high-contrast-{theme}"
).get_style_defs()
@@ -80,6 +81,7 @@ def task_copy(notebooks, configurations, target):
notebooks = list(map(Path, notebooks))
configurations = list(map(Path, configurations))
styles = list(TEMPLATES.glob("*.css"))
+ scripts = list(TEMPLATES.glob("*.js"))
targets = [NB / x.name for x in notebooks]
def readme(target, ext, title):
@@ -103,6 +105,13 @@ def readme(target, ext, title):
targets=[HTML / x.name for x in styles],
uptodate=list(map(Path.exists, targets)),
)
+ yield dict(
+ name="scripts",
+ clean=True,
+ actions=[(cp, (x, HTML / x.name)) for x in scripts],
+ targets=[HTML / x.name for x in scripts],
+ uptodate=list(map(Path.exists, targets)),
+ )
targets = [CONFIGS / x.name for x in configurations]
yield dict(
name="configurations",
diff --git a/nbconvert_html5/templates/semantic-forms/activity-log.html.j2 b/nbconvert_html5/templates/semantic-forms/activity-log.html.j2
new file mode 100644
index 00000000..14ceab17
--- /dev/null
+++ b/nbconvert_html5/templates/semantic-forms/activity-log.html.j2
@@ -0,0 +1,11 @@
+
+ activity log
+
+
+
+
time
+
message
+ {# all forward behaviors should be reversible except code execution #}
+ {#
action
#}
+
+
\ No newline at end of file
diff --git a/nbconvert_html5/templates/semantic-forms/activity-log.j2.html b/nbconvert_html5/templates/semantic-forms/activity-log.j2.html
new file mode 100644
index 00000000..a5bbf05e
--- /dev/null
+++ b/nbconvert_html5/templates/semantic-forms/activity-log.j2.html
@@ -0,0 +1,12 @@
+
\ No newline at end of file
diff --git a/nbconvert_html5/templates/semantic-forms/aside-dl.html.j2 b/nbconvert_html5/templates/semantic-forms/aside-dl.html.j2
new file mode 100644
index 00000000..e69de29b
diff --git a/nbconvert_html5/templates/semantic-forms/base.html.j2 b/nbconvert_html5/templates/semantic-forms/base.html.j2
index 77e59c57..01f24854 100644
--- a/nbconvert_html5/templates/semantic-forms/base.html.j2
+++ b/nbconvert_html5/templates/semantic-forms/base.html.j2
@@ -4,12 +4,10 @@ the base template defines notebook independent components.
an accessible base template provides a substrate to progressively enchance
the notebook experiennce from browse to edit/focus mode.
#}
-
{%- extends 'semantic-forms/displays.j2.html' -%}
{% from 'celltags.j2' import celltags %}
{% set title = nb.metadata.get('title', resources['metadata']['name']) | escape_html_keep_quotes %}
-
{%- block header -%}
@@ -29,8 +27,6 @@ the notebook experiennce from browse to edit/focus mode.
-
-
{%- endblock head -%}
{%- block html_head_js_mathjax -%}{%- endblock html_head_js_mathjax -%}
@@ -50,57 +46,56 @@ the notebook experiennce from browse to edit/focus mode.
{# site authors with include their site specific headers in this region. #}
{# a subsequent tab stop will indicate to keyboard and AT users that there are
accessibility settings that can be toggled. #}
-
+ {% include "semantic-forms/settings.html.j2" %}
- {# this is the main section, but we want landmark navigation to go to the first cell in
- the notebook. the extending template will define the location of the main content. #}
-
-
+
+ {% include "semantic-forms/schema-dl.html.j2" %}
+
{# a notebook begins as a static document that can progressively
add features like run time computation. #}
-
{# skip to top is needed for long notebooks.
it is difficult to access for keyboard users. #}
- {% include "semantic-forms/settings.html.j2" %}
+
+ {# '' #}