Skip to content

Commit

Permalink
Update site generation (#2240)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelcarmena committed Feb 10, 2021
1 parent 2a12a20 commit 236b593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/libraries/how-to-run-the-website-in-your-local-server.md
Expand Up @@ -53,7 +53,7 @@ bundle install --gemfile Gemfile --path vendor/bundle
bundle exec jekyll serve -s docs
```

This will install any needed dependencies locally, and will use it to launch the complete website in [127.0.0.1:4000/docs](http://127.0.0.1:4000/docs) so you can open it with a standard browser.
This will install any needed dependencies locally, and will use it to launch the complete website in [127.0.0.1:4000](http://127.0.0.1:4000) so you can open it with a standard browser.

If you get an error while installing the Ruby gem _http_parser_, check if the path to your Arrow directory contains spaces. According to this [issue](https://github.com/tmm1/http_parser.rb/issues/47), the installation with spaces in the path is currently not working.

Expand All @@ -62,5 +62,5 @@ If you get an error while installing the Ruby gem _http_parser_, check if the pa
Test for broken links in documentation using

```sh
wget --spider -r -nd -nv -l 5 http://127.0.0.1:4000/docs/
wget --spider -r -nd -nv -l 5 http://127.0.0.1:4000
```
2 changes: 0 additions & 2 deletions scripts/repository-run-website.sh
Expand Up @@ -9,8 +9,6 @@ ARROW_LIB=$(echo $1 | cut -d- -f1-2)


checkAndDownload arrow-site
perl -pe "s/\/docs//g" -i $BASEDIR/arrow-site/docs/_data/features.yml

addArrowDocs $BASEDIR/${ARROW_LIB}/settings.gradle
$BASEDIR/arrow/scripts/project-build-doc.sh ${ARROW_LIB}
removeArrowDocs $BASEDIR/${ARROW_LIB}/settings.gradle
Expand Down

0 comments on commit 236b593

Please sign in to comment.