Skip to content

Commit d71681c

Browse files
authored
Merge pull request #509 from bashtage/update-gh-actions
MAINT: Ensure release docs build and deploy
2 parents 4a05a81 + 3181f84 commit d71681c

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

ci/push-docs-gh-pages.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ echo "Checking for tag"
1313
if [[ -n "${GIT_TAG}" ]]; then
1414
echo "Tag ${GIT_TAG} is defined"
1515
echo "Copy docs to root"
16-
echo "cp -r ${PWD}/doc/build/html/* ${PWD}/"
17-
cp -r "${PWD}/doc/build/html/*" "${PWD}"
16+
echo "cp -r ${PWD}/doc/build/html/. ${PWD}/"
17+
cp -r "${PWD}/doc/build/html/." "${PWD}/"
1818
else
1919
echo "Tag is ${GIT_TAG}. Not updating main documents"
2020
fi
@@ -25,8 +25,17 @@ ls ${PWD}/doc/build/html
2525
echo "Copy docs to devel"
2626
echo "cp -r ${PWD}/doc/build/html/. ${PWD}/devel/"
2727
cp -r "${PWD}/doc/build/html/." "${PWD}/devel/"
28+
echo "Remove build directory"
29+
echo "rm -rf ${PWD}/doc/build/"
30+
rm -rf ${PWD}/doc/build/
2831
echo "Add devel"
2932
git add devel/.
33+
echo "Add new HTML/JS/CSS"
34+
git add ./\*.html
35+
git add ./\*.js
36+
git add ./\*.css
37+
git add _sources/.
38+
git add _static/.
3039
echo "Change remote"
3140
git remote set-url origin https://bashtage:"${GH_PAGES_TOKEN}"@github.com/bashtage/linearmodels.git
3241
echo "Github Actions doc build after commit ${GITHUB_SHA::8}"

linearmodels/panel/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ class PanelData:
144144
should be converted to dummy variables
145145
drop_first : bool
146146
Flag indicating to drop first dummy category when converting
147-
copy: bool
147+
copy : bool
148148
Flag indicating whether to copy the input. Only has an effect when
149149
x is a DataFrame
150-
cast: bool
150+
cast : bool
151151
Flag indicating to case the data to double precision.
152152
153153
Notes

0 commit comments

Comments
 (0)