makefile: remove [[link]] -> [link](url) conversion logic

all links in documentation have been converted to standard markdown link syntax
This commit is contained in:
nodiscc 2017-07-04 21:30:50 +02:00
parent 366247c84c
commit 8bf94136e1

View file

@ -198,12 +198,6 @@ doxygen: clean
# - convert GitHub-flavoured relative links to standard Markdown # - convert GitHub-flavoured relative links to standard Markdown
# - generate html documentation with mkdocs # - generate html documentation with mkdocs
htmlpages: htmlpages:
# Rename local [[links]] to regular links.
@for file in `find doc/md/ -maxdepth 1 -name "*.md"`; do \
sed -e "s/\[\[\(.*\)\]\]/[\1](\1)/g" "$$file" > doc/md/tmp.md; \
mv doc/md/tmp.md $$file; \
done
python3 -m venv venv/ python3 -m venv venv/
bash -c 'source venv/bin/activate; \ bash -c 'source venv/bin/activate; \
pip install mkdocs; \ pip install mkdocs; \