From 94f2ef6e8d59fd68b91a7d25fd96fb0d1ef83872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Tue, 28 Jan 2020 23:43:01 +0100 Subject: [PATCH] Make Notebook ready for PDF output without code --- measurement-data/.gitignore | 1 + ...nt Analysis.ipynb => Analog_Measurement_Analysis.ipynb} | 0 measurement-data/hidecode.tplx | 7 +++++++ 3 files changed, 8 insertions(+) rename measurement-data/{Analog Measurement Analysis.ipynb => Analog_Measurement_Analysis.ipynb} (100%) create mode 100644 measurement-data/hidecode.tplx diff --git a/measurement-data/.gitignore b/measurement-data/.gitignore index 20377d5..ba08da5 100644 --- a/measurement-data/.gitignore +++ b/measurement-data/.gitignore @@ -1 +1,2 @@ .ipynb_checkpoints/* +*.pdf diff --git a/measurement-data/Analog Measurement Analysis.ipynb b/measurement-data/Analog_Measurement_Analysis.ipynb similarity index 100% rename from measurement-data/Analog Measurement Analysis.ipynb rename to measurement-data/Analog_Measurement_Analysis.ipynb diff --git a/measurement-data/hidecode.tplx b/measurement-data/hidecode.tplx new file mode 100644 index 0000000..bb3b946 --- /dev/null +++ b/measurement-data/hidecode.tplx @@ -0,0 +1,7 @@ + ((*- extends 'article.tplx' -*)) + +((* block input_group *)) + ((*- if cell.metadata.get('nbconvert', {}).get('show_code', False) -*)) + ((( super() ))) + ((*- endif -*)) +((* endblock input_group *))