@@ -99,31 +99,6 @@ Tornado is run using it's own builtin server rather than an external WSGI or ASG
99
99
server.
100
100
101
101
102
- Server Configuration Options
103
- ----------------------------
104
-
105
- IDOM's various server implementations come with ``Options `` that can be passed to their
106
- respective ``configure() `` functions. Those which are common amongst the options are:
107
-
108
- - ``url_prefix `` - prefix all routes configured by IDOM
109
- - ``redirect_root `` - whether to redirect the root of the application to the IDOM view
110
- - ``serve_static_files `` - whether to server IDOM's static files from it's default route
111
-
112
- You'd then pass these options to ``configure() `` in the following way:
113
-
114
- .. code-block ::
115
-
116
- configure(app, MyComponent, Options(...))
117
-
118
- To learn more read the description for your chosen server implementation:
119
-
120
- - :class: `idom.server.fastapi.Options `
121
- - :class: `idom.server.flask.Options `
122
- - :class: `idom.server.sanic.Options `
123
- - :class: `idom.server.starlette.Options `
124
- - :class: `idom.server.tornado.Options `
125
-
126
-
127
102
Running IDOM in Debug Mode
128
103
--------------------------
129
104
@@ -168,6 +143,31 @@ Errors will be displayed where the uppermost component is located in the view:
168
143
.. idom :: _examples/debug_error_example
169
144
170
145
146
+ Server Configuration Options
147
+ ----------------------------
148
+
149
+ IDOM's various server implementations come with ``Options `` that can be passed to their
150
+ respective ``configure() `` functions. Those which are common amongst the options are:
151
+
152
+ - ``url_prefix `` - prefix all routes configured by IDOM
153
+ - ``redirect_root `` - whether to redirect the root of the application to the IDOM view
154
+ - ``serve_static_files `` - whether to server IDOM's static files from it's default route
155
+
156
+ You'd then pass these options to ``configure() `` in the following way:
157
+
158
+ .. code-block ::
159
+
160
+ configure(app, MyComponent, Options(...))
161
+
162
+ To learn more read the description for your chosen server implementation:
163
+
164
+ - :class: `idom.server.fastapi.Options `
165
+ - :class: `idom.server.flask.Options `
166
+ - :class: `idom.server.sanic.Options `
167
+ - :class: `idom.server.starlette.Options `
168
+ - :class: `idom.server.tornado.Options `
169
+
170
+
171
171
Embed in an Existing Webpage
172
172
----------------------------
173
173
0 commit comments