Skip to content

Commit

Permalink
gluonbook to d2lzh
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang committed Jan 2, 2019
1 parent e44ae30 commit c86bbc2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 845 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: html

build/%.ipynb: %.md build/env.yml $(wildcard gluonbook/*)
build/%.ipynb: %.md build/env.yml $(wildcard d2lzh/*)
@mkdir -p $(@D)
cd $(@D); python ../utils/md2ipynb.py ../../$< ../../$@

Expand All @@ -19,7 +19,7 @@ FRONTPAGE = $(wildcard $(FRONTPAGE_DIR)/*)
FRONTPAGE_DEP = $(patsubst %, build/%, $(FRONTPAGE))

IMG_NOTEBOOK = $(filter-out $(FRONTPAGE_DIR), $(wildcard img/*))
ORIGIN_DEPS = $(IMG_NOTEBOOK) $(wildcard data/* gluonbook/*) environment.yml README.md
ORIGIN_DEPS = $(IMG_NOTEBOOK) $(wildcard data/* d2lzh/*) environment.yml README.md
DEPS = $(patsubst %, build/%, $(ORIGIN_DEPS))

PKG = build/_build/html/d2l-zh.zip
Expand Down
2 changes: 1 addition & 1 deletion build/env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ dependencies:
- recommonmark==0.4.0
- https://github.com/mli/notedown/tarball/master
- https://s3-us-west-2.amazonaws.com/szha-experiments/mxnet_cu92-1.4.0b20181219-py2.py3-none-manylinux1_x86_64.whl
- gluonbook==0.8.10
- d2lzh==0.8.10
- jieba==0.39
- awscli
File renamed without changes.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ dependencies:
- pandas=0.23.2
- pip:
- mxnet==1.5.0b20181215
- gluonbook==0.8.10
- d2lzh==0.8.10
Loading

0 comments on commit c86bbc2

Please sign in to comment.