Commit 8277a783 authored by Matthieu Boileau's avatar Matthieu Boileau

Move reveal.js and skeleton to nbcourse dir

parent a34dc246
[submodule "reveal.js"]
path = reveal.js
path = nbcourse/reveal.js
url = https://github.com/hakimel/reveal.js.git
branch = 3.7.0
......@@ -3,7 +3,7 @@ from distutils.dir_util import copy_tree
from pathlib import Path
SKEL_PATH = Path(__file__).parents[1] / Path("skeleton")
SKEL_PATH = Path(__file__).parent / Path("skeleton")
def initialize():
......
......@@ -76,8 +76,8 @@ class NbCourse:
self.conf['pages']['path'] = Path(self.conf['pages']['dir'])
self.conf['output_path'] = Path(self.conf['output_dir'])
if self.conf['local_reveal']:
nbcourse_libdir = Path(__file__).parents[1]
self.conf['reveal_path'] = nbcourse_libdir / Path('reveal.js')
self.conf['reveal_path'] = Path(__file__).parent / \
Path('reveal.js')
self.notebooks = tuple(self.conf['nb']['path'].glob('*-*.ipynb'))
if user_conf and not self.notebooks:
log.error("""
......
......@@ -6,7 +6,6 @@ authors = ["Matthieu Boileau <matthieu.boileau@math.unistra.fr>"]
license = "MIT"
keywords = ["jupyter", "nbconvert"]
repository = "https://gitlab.math.unistra.fr/boileau/nbcourse"
include = ["reveal.js/**/*", "skeleton/**/*"]
readme = "README.md"
[tool.poetry.dependencies]
......
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