diff --git a/docs/docs.md b/docs/docs.md index 70ddd222b..5ea983610 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -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 ``` diff --git a/docs/routing-rules.md b/docs/routing-rules.md index 0785a949f..6e489d4b8 100644 --- a/docs/routing-rules.md +++ b/docs/routing-rules.md @@ -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