Unverified Commit d548a6bd authored by Stéphane Adjemian (Charybdis)'s avatar Stéphane Adjemian (Charybdis)
Browse files

Use python packages from the package manager.

parent e7b08b72
*.zip
python/*
src/build/*
src/source/__pycache__/*
utils/__pycache__/*
\ No newline at end of file
src/source/_static/mathjax/*
\ No newline at end of file
......@@ -15,28 +15,18 @@
# You should have received a copy of the GNU General Public License
# along with Dynare. If not, see <http://www.gnu.org/licenses/>.
MATHJAX_VERSION = 2.7.5
SRC = $(wildcard src/source/*.rst)
.PHONY: all html pdf deps python mathjax
.PHONY: all html pdf
all: html pdf
html: deps src/build/html/index.html
html: src/build/html/index.html
src/build/html/index.html: $(SRC) src/source/conf.py
. python/bin/activate ; make -C src html
make -C src html
pdf: deps src/build/latex/dynare.pdf
pdf: src/build/latex/dynare.pdf
src/build/latex/dynare.pdf: $(SRC) src/source/conf.py
. python/bin/activate ; make -C src latexpdf
deps: python mathjax
python: python/bin/python3
python/bin/python3:
python3 -m venv python
. python/bin/activate ; pip3 install --upgrade pip ; pip3 install sphinx recommonmark sphinx_rtd_theme
make -C src latexpdf
......@@ -66,9 +66,6 @@ html_theme_options = {
'logo': 'dlogo.svg',
'logo_name': False,
'fixed_sidebar': True,
'sidebar_collapse': True,
'show_relbar_top': True,
'show_relbar_bottom': True,
'page_width': '100%',
}
......
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