Commit df3c7f6b authored by Richard Glosner's avatar Richard Glosner
Browse files

Merge branch '96-fix-formatting-script' into 'dux'

Resolve "fix formatting script"

See merge request inject/inject-docs!173
parents c9f145fb 54b921fe
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -18,6 +18,14 @@ ______________________________________________________________________

## 4.0.1 (Frontend)

- toolbar moved to the right side in the trainee view for better accessibility
- fixed an issue where the email overlay in instructor view would close unexpectedly
- added information about the recipients for emails in the instructor TODO-list
- when switching between teams in instructor view, the same page now remains selected
    (e.g., emails, questionnaires)

## 4.0.1 (Frontend)

- toolbar moved to the right side in the trainee view for better accessibility
- fixed an issue where the email overlay in instructor view would close unexpectedly
- added information about the recipients for emails in the instructor TODO-list
+9 −2
Original line number Diff line number Diff line
#!/usr/bin/env bash
mdformat README.md ./docs --no-validate --number

# the formatter replaces '---' with the '______...' but it is required to stay due to mkdocs yaml directives
# Check for toolchain version of 'sed'
# The formatter replaces '---' with the '______...' but this is required to stay due to mkdocs yaml directives
if sed --version 2>/dev/null | grep -q 'GNU'; then
  # GNU sed (Linux)
  find ./docs -type f -name "*.md" -exec sed -i 's/^______________________________________________________________________$/---/' {} +
else
  # Assumed BSD sed (macOS, FreeBSD, etc.)
  find ./docs -type f -name "*.md" -exec sed -i '' 's/^______________________________________________________________________$/---/' {} +
fi