From cf305b4920523e787f7d649b6373129e262c3259 Mon Sep 17 00:00:00 2001 From: Tue Herlau <tuhe@dtu.dk> Date: Tue, 7 Sep 2021 00:42:36 +0200 Subject: [PATCH] Citation information --- README.md | 14 +++++++++++--- docs/mkdocs.py | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 395f91f..552d9f8 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ The file `cs101report1.py` is just an ordinary, non-obfuscated file which they c | | | |_ __ _| |_| | \/_ __ __ _ __| | ___ | | | | '_ \| | __| | __| '__/ _` |/ _` |/ _ \ | |_| | | | | | |_| |_\ \ | | (_| | (_| | __/ - \___/|_| |_|_|\__|\____/_| \__,_|\__,_|\___| v0.0.3, started: 07/09/2021 00:38:16 + \___/|_| |_|_|\__|\____/_| \__,_|\__,_|\___| v0.0.3, started: 07/09/2021 00:42:25 Week 4: Looping (use --help for options) Question 1: Test the cluster analysis method @@ -82,7 +82,7 @@ Question 4: Test the fermentation rate question * q4.4) fermentationRate([20.1, 19.3, 1.1, 18.2, 19.7, ...], 18.2, 20) = 19.500 ?..................................PASS * q4) Total.................................................................................................... 10/10 -Total points at 00:38:16 (0 minutes, 0 seconds)....................................................................40/40 +Total points at 00:42:25 (0 minutes, 0 seconds)....................................................................40/40 Provisional evaluation --------- ----- q1) Total 10/10 @@ -171,5 +171,13 @@ Please contact me and we can discuss your specific concerns. # Citing ```bibtex - +@online{unitgrade, + title={Unitgrade (0.0.3): \texttt{pip install unitgrade}}, + url={https://lab.compute.dtu.dk/tuhe/unitgrade}, + urldate = {2021-09-07}, + month={9}, + publisher={Technical University of Denmark (DTU)}, + author={Tue Herlau}, + year={2021}, +} ``` \ No newline at end of file diff --git a/docs/mkdocs.py b/docs/mkdocs.py index 4c71730..589d74a 100644 --- a/docs/mkdocs.py +++ b/docs/mkdocs.py @@ -5,7 +5,7 @@ import subprocess if __name__ == "__main__": from jinjafy.bibliography_maker import make_bibliography - make_bibliography("../setup.py", "./") + bibtex = make_bibliography("../setup.py", "./") out = subprocess.check_output("python --version").decode("utf-8") @@ -16,7 +16,7 @@ if __name__ == "__main__": out = out.replace("[0m", "") env = jinja2.Environment() - data = {'out': out} + data = {'out': out, 'bibtex': bibtex} with open('README.jinja.md', 'r') as f: output = env.from_string(f.read()).render(data) -- GitLab