Skip to content

Commit

Permalink
Revert author workaround
Browse files Browse the repository at this point in the history
It's not necessary, see mwouts/jupytext#469.
  • Loading branch information
dlukes committed Mar 28, 2020
1 parent eb27cc2 commit 4644592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions scripts/src2content.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/rest.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
author: Rudolf Rosa
jupyter:
author: Rudolf Rosa
jupytext:
text_representation:
extension: .md
Expand Down

0 comments on commit 4644592

Please sign in to comment.