Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Commit a3503c7

Browse files
authored
Merge pull request #2 from QuantEcon/add-temp-compilation
Temporary Compilation
2 parents bfd63bc + dfa8a04 commit a3503c7

File tree

669 files changed

+17
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

669 files changed

+17
-44
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_build/

Makefile

Lines changed: 4 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,53 +3,18 @@
33

44
# You can set these variables from the command line.
55
SPHINXOPTS =
6-
SPHINXBUILD = sphinx-build
7-
SPHINXPROJ = QuantEconlectures
8-
SOURCEDIR = .
6+
SPHINXBUILD = python -msphinx
7+
SPHINXPROJ = lecture-source-jl
8+
SOURCEDIR = rst_files
99
BUILDDIR = _build
1010

11-
#Check for make.lock file. If not equal then set BUILD = True
12-
ifeq ("$(wildcard ./make.lock)","")
13-
BUILD=TRUE
14-
else
15-
BUILD=FALSE
16-
endif
17-
1811
# Put it first so that "make" without argument is like "make help".
1912
help:
2013
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2114

2215
.PHONY: help Makefile
2316

24-
check_environment:
25-
ifeq ($(BUILD),FALSE)
26-
@echo "[ERROR] You cannot run make in the source directory"; exit 1
27-
else
28-
@true
29-
endif
30-
31-
setup: check_environment install_dependancies
32-
python build.py
33-
34-
install_dependancies: check_environment
35-
pip install --upgrade sphinxcontrib-tikz
36-
pip install --upgrade sphinxcontrib-bibtex
37-
38-
web: check_environment
39-
make html
40-
41-
# force jupyter to build using jupyter_conversion_mode="all"
42-
jupyter-all: check_environment
43-
sphinx-build -D jupyter_conversion_mode="all" -b jupyter "$(SOURCEDIR)" "$(BUILDDIR)/jupyter"
44-
45-
xelatexpdf: latex
46-
@echo "Running LaTeX files through xelatex to construct PDF with Unicode..."
47-
$(MAKE) PDFLATEX=xelatex -C $(BUILDDIR)/latex all-pdf
48-
$(MAKE) PDFLATEX=xelatex -C $(BUILDDIR)/latex all-pdf
49-
@echo "xelatex finished; the PDF files are in $(BUILDDIR)/latex."
50-
51-
5217
# Catch-all target: route all unknown targets to Sphinx using the new
5318
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
54-
%: Makefile check_environment
19+
%: Makefile
5520
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

README.md

Lines changed: 8 additions & 0 deletions
File renamed without changes.
File renamed without changes.

_static/code/aiyagari/aiyagari_compute_equilibrium.jl renamed to rst_files/_static/code/aiyagari/aiyagari_compute_equilibrium.jl

File renamed without changes.

_static/code/aiyagari/aiyagari_compute_equilibrium.py renamed to rst_files/_static/code/aiyagari/aiyagari_compute_equilibrium.py

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)