Repository: gradio-app/gradio

Issue:
CSS glitch in docs
### Describe the bug

Weird formatting for one of the example buttons

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Reproduction

https://gradio.app/docs/#request

### Screenshot

<img width="1074" alt="Screen Shot 2022-12-15 at 5 58 52 PM" src="https://user-images.githubusercontent.com/9021060/207878696-3d9fc101-b884-4dd6-9ccd-75836ac8cb35.png">


### Logs

```shell
N/A
```


### System Info

```shell
N/A
```


### Severity

annoying
Navigation issues with Component Helpers in docs
### Describe the bug

Navigation behaves weird with short sections 

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Reproduction

https://gradio.app/docs/#update

### Screenshot

![Recording 2022-12-13 at 16 16 13](https://user-images.githubusercontent.com/9021060/207880123-d83b3d0e-901e-48e7-b96a-647e145dd130.gif)


### Logs

```shell
N/A
```


### System Info

```shell
N/A
```


### Severity

annoying


Discussion:

Resolving patch:
diff --git a/gradio/blocks.py b/gradio/blocks.py
--- a/gradio/blocks.py
+++ b/gradio/blocks.py
@@ -354,15 +354,17 @@ def __get__(self, instance, type_):
         return descr_get(instance, type_)
 
 
+set_documentation_group("component-helpers")
+
+
 @document()
 def update(**kwargs) -> dict:
     """
-    Updates component properties.
+    Updates component properties. When a function passed into a Gradio Interface or a Blocks events returns a typical value, it updates the value of the output component. But it is also possible to update the properties of an output component (such as the number of lines of a `Textbox` or the visibility of an `Image`) by returning the component's `update()` function, which takes as parameters any of the constructor parameters for that component.
     This is a shorthand for using the update method on a component.
     For example, rather than using gr.Number.update(...) you can just use gr.update(...).
     Note that your editor's autocompletion will suggest proper parameters
     if you use the update method on the component.
-
     Demos: blocks_essay, blocks_update, blocks_essay_update
 
     Parameters:
@@ -397,6 +399,9 @@ def change_textbox(choice):
     return kwargs
 
 
+set_documentation_group("blocks")
+
+
 def skip() -> dict:
     return update()
 
diff --git a/gradio/routes.py b/gradio/routes.py
--- a/gradio/routes.py
+++ b/gradio/routes.py
@@ -537,7 +537,6 @@ class Request:
     query parameters and other information about the request from within the prediction
     function. The class is a thin wrapper around the fastapi.Request class. Attributes
     of this class include: `headers`, `client`, `query_params`, and `path_params`,
-
     Example:
         import gradio as gr
         def echo(name, request: gr.Request):
@@ -551,6 +550,8 @@ def __init__(self, request: fastapi.Request | None = None, **kwargs):
         """
         Can be instantiated with either a fastapi.Request or by manually passing in
         attributes (needed for websocket-based queueing).
+        Parameters:
+            request: A fastapi.Request
         """
         self.request: fastapi.Request = request
         self.kwargs: Dict = kwargs


Test patch: