Skip to content

Commit df947d7

Browse files
committed
update doc builder
1 parent fcabb2a commit df947d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/mkdocs.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# Next we run make.bat to build docs
55
# Finally we push to GitHub following doc builds
66
# Need to check that we are in the correct directory
7-
# input module name
87
base_dir="$(realpath "$0")"
98
file_location="$(dirname "$base_dir")"
109
modules_location="$(dirname "$file_location")"
@@ -20,7 +19,7 @@ if [ ! -f docs/source/modules.rst ]
2019
python -m m2r README.md changelog.md .github/CONTRIBUTING.md --overwrite
2120
mv .github/CONTRIBUTING.rst README.rst changelog.rst docs/source
2221

23-
echo "Building docs for" "$1"
22+
echo "Building docs for" "$(dirname "$file_location")"
2423
./make.bat html
2524
echo -e "\e[0;36m All done, commit latest changes if you wish."
2625
echo -e "\e[0;36m If there were errors or warnings, delete modules.rst and ensure index.rst exists before trying again."

0 commit comments

Comments
 (0)