Compare commits

..

No commits in common. "3deea69d24a2e51d6a37cddbb298a1f82308fd7b" and "6b315b2f4493114aceddb13829f88f499d9913b0" have entirely different histories.

6 changed files with 3 additions and 84 deletions

View file

@ -118,7 +118,6 @@ $(CACHE_SLIDES_DIR)/%.mdpp.md: $(SLIDES_DIR)/%.mdpp
cd .marp && $(MAKE) theme.css
watch: ## run development server
$(MAKE) autoslide
pipenv run honcho start
autoslide:

View file

@ -1,4 +1,4 @@
FROM node:18-bullseye-slim
FROM node:bullseye-slim
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
RUN apt-get update \

View file

@ -1,49 +0,0 @@
p > img[alt*="center"] {
display: block;
margin-left: auto;
margin-right: auto;
}
hr {
display: none;
}
@page {
size: a4 portrait;
margin: 25mm 10mm 25mm 10mm;
counter-increment: page;
font-family: "Noto", sans-serif;
white-space: pre;
color: grey;
@top-left {
font-size: 70%;
content: 'Formation « Cloud & Enjeux »';
}
/*
@top-center {
content: string(chapter);
}*/
@top-right {
font-size: 70%;
/* content: 'SQLI INSTITUT (ASTON)'; */
/* content: 'AELION'; */
content: '';
}
@bottom-left {
font-size: 70%;
content: '2017-2022 © Glenn ROLLAND - Ne pas diffuser';
}
/*
@bottom-center {
content: string(chapter);
}*/
/*
@bottom-right {
font-size: 70%;
content: 'Page ' counter(page);
}*/
}

View file

@ -1,18 +0,0 @@
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex"
}
};
document$.subscribe(() => {
MathJax.typesetPromise()
})

View file

@ -55,8 +55,8 @@ markdown_extensions:
- pymdownx.highlight:
anchor_linenums: false
- pymdownx.inlinehilite
- codehilite:
guess_lang: true
# - codehilite:
# guess_lang: false
# pip install mdx_truly_sane_lists
- mdx_truly_sane_lists
@ -67,8 +67,6 @@ markdown_extensions:
#
# pip install pymdown-extensions
- pymdownx.superfences:
# - pymdownx.arithmatex:
# generic: true
# plugins: []
plugins:

View file

@ -3,7 +3,6 @@
# Set defaults
BASEDIR="$(pwd)"
BASEHASH="$(echo "$BASEDIR" |sha256sum |head -c7)"
ACTION="watch"
VERBOSITY="0"
DOCKER_IMAGE=glenux/teaching-boilerplate:latest
@ -105,17 +104,7 @@ fi
if [ "$VERBOSITY" -gt 0 ]; then
set -x
fi
DOCKER_NAME="gx-teaching-$BASEHASH"
DOCKER_CID="$(docker ps -f "name=$DOCKER_NAME" -q)"
if [ -n "$DOCKER_CID" ]; then
docker kill "$DOCKER_NAME"
fi
docker run -i $DOCKER_OPT_TTY \
--name "$DOCKER_NAME" \
--rm \
--shm-size=1gb \
-e "EXT_UID=$(id -u)" \
-e "EXT_GID=$(id -g)" \