Skip to content

Commit

Permalink
Make createDocs robust
Browse files Browse the repository at this point in the history
  • Loading branch information
cibinjoseph committed Apr 13, 2020
1 parent bf3a484 commit ba8e21f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion createDocs.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#!/bin/bash
rm -rf docs/src
ford -p ford_input ford_input.md
if [[ $* == '--help' ]] || [[ $* == '-h' ]]; then
echo 'Usage createDocs.sh [OPTION]'
echo 'Generate documentation using FORD.'
echo
echo ' -h, --help Display help'
echo ' -d, --debug Generate docs without search'
elif [[ $* == '--debug' ]] || [[ $* == '-d' ]]; then
ford -p ford_input --no-search ford_input.md
else
ford -p ford_input ford_input.md
fi
4 changes: 2 additions & 2 deletions ford_input.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ fpp_extensions: fpp
docmark: !
display: public
source: false
graph: true
graph: false
search: true
print_creation_date: true
print_creation_date: false
extra_filetypes:

A purely Fortran based unit testing framework derived from the original [Fortran Unit Test Framework (FRUIT)](https://sourceforge.net/projects/fortranxunit/).<br/>
Expand Down

0 comments on commit ba8e21f

Please sign in to comment.