File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 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
87base_dir=" $( realpath " $0 " ) "
98file_location=" $( dirname " $base_dir " ) "
109modules_location=" $( dirname " $file_location " ) "
@@ -20,7 +19,7 @@ if [ ! -f docs/source/modules.rst ]
2019python -m m2r README.md changelog.md .github/CONTRIBUTING.md --overwrite
2120mv .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
2524echo -e " \e[0;36m All done, commit latest changes if you wish."
2625echo -e " \e[0;36m If there were errors or warnings, delete modules.rst and ensure index.rst exists before trying again."
You can’t perform that action at this time.
0 commit comments