-
Notifications
You must be signed in to change notification settings - Fork 968
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
3,368 additions
and
1,273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,9 @@ Gemfile.lock | |
vendor/bundle | ||
external | ||
|
||
## NPM | ||
node_modules | ||
|
||
## PROJECT::SPECIFIC | ||
.rbx | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,21 @@ | ||
# Faraday Website | ||
# Faraday Docs | ||
|
||
This is the root directory of the [Faraday Website][website]. | ||
If you want to apply changes to it, please test it locally using `Jekyll`. | ||
Faraday Docs are powered by [Docsify](https://docsify.js.org/#/). | ||
|
||
Here is how: | ||
## Development | ||
|
||
```bash | ||
# Navigate into the /docs folder | ||
$ cd docs | ||
|
||
# Install Jekyll dependencies, this bundle is different from Faraday's one. | ||
$ bundle install | ||
### Setup | ||
|
||
# Run the Jekyll server with the Faraday website | ||
$ bundle exec jekyll serve | ||
From the Faraday project root, run the following: | ||
|
||
# The site will now be reachable at http://127.0.0.1:4000/faraday/ | ||
```bash | ||
npm install # this will install the necessary dependencies | ||
``` | ||
|
||
On newer Ruby versions (>= 3.0) `eventmachine` needs a little help to find OpenSSL 1.1 to get compiled (see <https://github.com/eventmachine/eventmachine/issues/936>). If you're using homebrew on macOS, you can do this: | ||
### Running the Docs Locally | ||
|
||
To preview your changes locally, run the following: | ||
|
||
```bash | ||
brew install openssl@1.1 | ||
bundle config build.eventmachine --with-openssl-dir=$(brew --prefix openssl@1.1) | ||
bundle install | ||
npm run docs | ||
``` | ||
|
||
[website]: https://lostisland.github.io/faraday |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.