Commit Graph

2 Commits

Author SHA1 Message Date
Alexey Milovidov
5182b60026 Fixed newlines in .rst files before code blocks [#CLICKHOUSE-2].
for i in $(find . -name '*.rst'); do grep -F -q '.. code-block:: ' $i && cat $i | sed -r -e 's/$/<NEWLINE>/' | tr -d '\n' | sed -r -e 's/([^>])<NEWLINE>.. code-block::/\1<NEWLINE><NEWLINE>.. code-block::/g' | sed -r -e 's/<NEWLINE>/\n/g' > ${i}.tmp && mv ${i}.tmp ${i}; done
2017-06-13 23:35:07 +03:00
Ivan Blinkov
51b8b19cc2 Less confusing directory structure (docs -> doc/reference/) 2017-05-31 20:55:09 +04:00