Compare commits
No commits in common. "3deea69d24a2e51d6a37cddbb298a1f82308fd7b" and "6b315b2f4493114aceddb13829f88f499d9913b0" have entirely different histories.
3deea69d24
...
6b315b2f44
6 changed files with 3 additions and 84 deletions
1
Makefile
1
Makefile
|
@ -118,7 +118,6 @@ $(CACHE_SLIDES_DIR)/%.mdpp.md: $(SLIDES_DIR)/%.mdpp
|
||||||
cd .marp && $(MAKE) theme.css
|
cd .marp && $(MAKE) theme.css
|
||||||
|
|
||||||
watch: ## run development server
|
watch: ## run development server
|
||||||
$(MAKE) autoslide
|
|
||||||
pipenv run honcho start
|
pipenv run honcho start
|
||||||
|
|
||||||
autoslide:
|
autoslide:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:18-bullseye-slim
|
FROM node:bullseye-slim
|
||||||
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
|
|
|
@ -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);
|
|
||||||
}*/
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
window.MathJax = {
|
|
||||||
tex: {
|
|
||||||
inlineMath: [["\\(", "\\)"]],
|
|
||||||
displayMath: [["\\[", "\\]"]],
|
|
||||||
processEscapes: true,
|
|
||||||
processEnvironments: true
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
ignoreHtmlClass: ".*|",
|
|
||||||
processHtmlClass: "arithmatex"
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
document$.subscribe(() => {
|
|
||||||
|
|
||||||
|
|
||||||
MathJax.typesetPromise()
|
|
||||||
})
|
|
|
@ -55,8 +55,8 @@ markdown_extensions:
|
||||||
- pymdownx.highlight:
|
- pymdownx.highlight:
|
||||||
anchor_linenums: false
|
anchor_linenums: false
|
||||||
- pymdownx.inlinehilite
|
- pymdownx.inlinehilite
|
||||||
- codehilite:
|
# - codehilite:
|
||||||
guess_lang: true
|
# guess_lang: false
|
||||||
|
|
||||||
# pip install mdx_truly_sane_lists
|
# pip install mdx_truly_sane_lists
|
||||||
- mdx_truly_sane_lists
|
- mdx_truly_sane_lists
|
||||||
|
@ -67,8 +67,6 @@ markdown_extensions:
|
||||||
#
|
#
|
||||||
# pip install pymdown-extensions
|
# pip install pymdown-extensions
|
||||||
- pymdownx.superfences:
|
- pymdownx.superfences:
|
||||||
# - pymdownx.arithmatex:
|
|
||||||
# generic: true
|
|
||||||
|
|
||||||
# plugins: []
|
# plugins: []
|
||||||
plugins:
|
plugins:
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
# Set defaults
|
# Set defaults
|
||||||
BASEDIR="$(pwd)"
|
BASEDIR="$(pwd)"
|
||||||
BASEHASH="$(echo "$BASEDIR" |sha256sum |head -c7)"
|
|
||||||
ACTION="watch"
|
ACTION="watch"
|
||||||
VERBOSITY="0"
|
VERBOSITY="0"
|
||||||
DOCKER_IMAGE=glenux/teaching-boilerplate:latest
|
DOCKER_IMAGE=glenux/teaching-boilerplate:latest
|
||||||
|
@ -105,17 +104,7 @@ fi
|
||||||
if [ "$VERBOSITY" -gt 0 ]; then
|
if [ "$VERBOSITY" -gt 0 ]; then
|
||||||
set -x
|
set -x
|
||||||
fi
|
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 \
|
docker run -i $DOCKER_OPT_TTY \
|
||||||
--name "$DOCKER_NAME" \
|
|
||||||
--rm \
|
|
||||||
--shm-size=1gb \
|
--shm-size=1gb \
|
||||||
-e "EXT_UID=$(id -u)" \
|
-e "EXT_UID=$(id -u)" \
|
||||||
-e "EXT_GID=$(id -g)" \
|
-e "EXT_GID=$(id -g)" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue