From 4644592d3ff8b07d9f5057f17d5fbb8106cb9da9 Mon Sep 17 00:00:00 2001 From: David Lukes Date: Sat, 28 Mar 2020 18:37:02 +0100 Subject: [PATCH] Revert author workaround It's not necessary, see https://github.com/mwouts/jupytext/issues/469. --- scripts/src2content.sh | 6 +----- src/rest.md | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/src2content.sh b/scripts/src2content.sh index 04d5287..4db6249 100755 --- a/scripts/src2content.sh +++ b/scripts/src2content.sh @@ -18,11 +18,7 @@ cd content find -iname \*.md -not -name LICENSE.md | while read in_path; do out_path=$( echo "$in_path" | sed 's/.md$/.ipynb/' ) if [ ! -f "$out_path" ] || [ $( mtime "$in_path" ) -gt $( mtime "$out_path" ) ]; then - if [ "$( basename "$in_path" )" == rest.md ]; then - jupytext --execute "$in_path" --output "$out_path" --update-metadata '{"author": "Rudolf Rosa"}' - else - jupytext --execute "$in_path" --output "$out_path" - fi + jupytext --execute "$in_path" --output "$out_path" fi rm -f "$in_path" done diff --git a/src/rest.md b/src/rest.md index 73daf49..4fd1ba6 100644 --- a/src/rest.md +++ b/src/rest.md @@ -1,6 +1,6 @@ --- -author: Rudolf Rosa jupyter: + author: Rudolf Rosa jupytext: text_representation: extension: .md