Commit 5075cd2e authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Correction de l'URL relative de reveal.js.

parent f8c109e6
const readdirp = require("readdirp");
const { extname } = require("path");
const {
extname,
dirname,
posix: { relative }
} = require("path");
module.exports = grunt => {
const PUBLIC_HOST = process.env.PUBLIC_HOST || "localhost";
......@@ -60,6 +64,7 @@ module.exports = grunt => {
"--toc",
`--toc-depth=${TOC_DEPTH}`,
`--slide-level=${SLIDE_LEVEL}`,
`--variable=revealjs-url:${relative(dirname(pres), "./reveal.js")}`,
"--variable=theme:irstea",
"--variable=history:true",
env === "dev" &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment