Skip to content

Commit

Permalink
Improve mkdocs setp info
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua committed Sep 10, 2024
1 parent a272311 commit 0c0896e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,22 @@ Refer to the

Install `python` and `pipx`, for example with brew.

Install mkdocs-material and all required dependencies:
Install `mkdocs-material` and all required dependencies in the `mkdocs-material`
virtual environment for Python:

```shell
pipx install --include-deps mkdocs-material
```
pipx install --install-deps mkdocs-material

Add plugins to the virtual environment:

```shell
pipx inject --include-deps mkdocs-material cairosvg
```

Start the local site in the project root folder:

```
```shell
cd trino-gateway
mkdocs serve
```
Expand Down
2 changes: 1 addition & 1 deletion docs/routing-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ condition: 'request.getHeader("X-Trino-Client-Tags") contains "label=foo"'

If no rules match, then request is routed to adhoc.

### TrinoRequestUser
[](){#trino-request-user}

This class attempts to extract the user from a request. In order, it attempts

Expand Down

0 comments on commit 0c0896e

Please sign in to comment.