Loading docs/prepare.sh +2 −1 Changes for docs/prepare.sh: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ sed -i \ # Inject 'toc' section (PDF only) find "${docs_path}/" -name '*.md' \ | while read -r file_path; do if ! grep -q '\[TOC\]' "${file_path}" \ if ! grep -A1 '^hide:$' "${file_path}" | grep -q '^ - toc$' \ && ! grep -q '\[TOC\]' "${file_path}" \ && ! grep -c '^## ' "${file_path}" | grep -q '^0$\|^1$' \ && ! grep -q '^<!-- documentation no-toc -->$' "${file_path}" \ && ! grep -q '^<!-- generated documentation section -->$' "${file_path}"; then Loading Loading
docs/prepare.sh +2 −1 Changes for docs/prepare.sh: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ sed -i \ # Inject 'toc' section (PDF only) find "${docs_path}/" -name '*.md' \ | while read -r file_path; do if ! grep -q '\[TOC\]' "${file_path}" \ if ! grep -A1 '^hide:$' "${file_path}" | grep -q '^ - toc$' \ && ! grep -q '\[TOC\]' "${file_path}" \ && ! grep -c '^## ' "${file_path}" | grep -q '^0$\|^1$' \ && ! grep -q '^<!-- documentation no-toc -->$' "${file_path}" \ && ! grep -q '^<!-- generated documentation section -->$' "${file_path}"; then Loading