Skip to content

Commit

Permalink
Merge pull request #8272 from RasaHQ/fix-sanic-docs-link
Browse files Browse the repository at this point in the history
Fix sanic docs link
  • Loading branch information
koaning authored Mar 22, 2021
2 parents dcaa921 + 2a6ebf0 commit 941a2a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docs/connectors/custom-connectors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ the host and port with the appropriate values from your running Rasa X or Rasa O
## The `blueprint` method

The `blueprint` method
needs to create a [sanic blueprint](https://sanic.readthedocs.io/en/stable/sanic/blueprints.html#blueprints)
needs to create a [sanic blueprint](https://sanicframework.org/en/guide/best-practices/blueprints.html#overview)
that can be attached to a sanic server.
Your blueprint should have at least the two routes: `health` on the route `/`,
and `receive` on the route `/webhook` (see example custom channel below).
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/http-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ By default, the HTTP server runs as a single process. You can change the number
of worker processes using the `SANIC_WORKERS` environment variable. It is
recommended that you set the number of workers to the number of available CPU cores
(check out the
[Sanic docs](https://sanic.readthedocs.io/en/stable/sanic/deploying.html#workers)
[Sanic docs](https://sanicframework.org/en/guide/deployment/running.html#workers)
for more details). This will only work in combination with the
`RedisLockStore` (see [Lock Stores](./lock-stores.mdx).

Expand Down Expand Up @@ -118,3 +118,4 @@ The following is an example payload for a JWT token:
```

To create and encode the token, you can use tools such as the [JWT Debugger](https://jwt.io/), or a Python module such as [PyJWT](https://pyjwt.readthedocs.io/en/latest/).

2 changes: 1 addition & 1 deletion docs/docs/migration-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ model before trying to use it with this improved version.
* The `--num_threads` parameter was removed from the `run` command. The
server will always run single-threaded, but will now run asynchronously. If you want to
make use of multiple processes, feel free to check out the [Sanic server
documentation](https://sanic.readthedocs.io/en/stable/sanic/deploying.html#running-via-gunicorn).
documentation](https://sanicframework.org/en/guide/deployment/running.html#gunicorn).

* To avoid conflicts in script parameter names, connectors in the `run` command now need to be specified with
`--connector`, as `-c` is no longer supported. The maximum history in the `rasa visualize` command needs to be
Expand Down

0 comments on commit 941a2a9

Please sign in to comment.