git add metadata/*.automatic_metadata
fi
status=\$(git status -s)
- n_updates=\$(printf "$status" | grep -vE '^\?\?' | wc -l)
+ n_updates=\$(printf "\$status" | grep -vE '^\?\?' | wc -l)
if [ "\$n_updates" -gt 0 ]; then
git commit -a -m 'Update metadata'
fi
The article title is derived in .md files from a first line prefixed with `%`,
while all other headings are treated as sub-headings. In .rst files, the title
is derived from a heading that must be at the top of the document, and be of an
-adornment style (such as underlining with `=`) that must be used only once in
-it.
+adornment style (such as underlining with `=`) used only once in it.
+
+Symbolic links in public/ to removed article pages are currently not removed.