Skip to content

Commit 65ddb5e

Browse files
committed
docs
1 parent 2b93c41 commit 65ddb5e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,11 @@ The docs website is currently not automated. Follow these steps to regenerate it
250250
```bash
251251
npm run doc -w packages/neovim
252252
git checkout gh-pages
253-
mv -f packages/neovim/doc/assets/* assets/
254-
mv -f packages/neovim/doc/classes/* classes/
255-
mv -f packages/neovim/doc/functions/* functions/
256-
mv -f packages/neovim/doc/types/* types/
253+
shopt -s extglob
254+
git rm -r !(node_modules|packages)
257255
mv packages/neovim/doc/* .
258256
rm -r packages/
259-
git add *
257+
git add !(node_modules|packages)
260258
git commit -m 'publish docs'
261259
git push origin HEAD:gh-pages
262260
```

0 commit comments

Comments
 (0)