Skip to content

Commit

Permalink
Merge branch 'writer:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
anant-writer authored Jul 18, 2024
2 parents b92e804 + 6f7a03c commit 6c7c643
Show file tree
Hide file tree
Showing 54 changed files with 2,140 additions and 692 deletions.
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs
5 changes: 3 additions & 2 deletions docs/framework/custom-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ Note the inclusion of the imported `ws_max_size` setting. This is important for

Fine-tuning Uvicorn allows you to set up SSL, configure proxy headers, etc, which can prove vital in complex deployments.

Use server setup hook
If you want to disable server setup hook, you should use `enable_server_setup`:

```python
asgi_app = writer.serve.get_asgi_app(app_path, mode, enable_server_setup=True)
asgi_app = writer.serve.get_asgi_app(app_path, mode, enable_server_setup=False)
```

## Multiple apps at once
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/framework/public/components/timeinput.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
412 changes: 412 additions & 0 deletions docs/framework/release-notes-generator.mdx

Large diffs are not rendered by default.

158 changes: 158 additions & 0 deletions docs/mint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
{
"$schema": "https://mintlify.com/schema.json",
"name": "Starter Kit",
"logo": {
"dark": "/logo/dark.svg",
"light": "/logo/writer_logo.svg"
},
"favicon": "../favicon.svg",
"colors": {
"primary": "#0D9373",
"light": "#07C983",
"dark": "#0D9373",
"anchors": {
"from": "#0D9373",
"to": "#07C983"
}
},
"tabs": [
{
"name": "Framework",
"url": "framework"
},
{
"name": "Components",
"url": "docs/components"
}
],
"navigation": [
{
"group": "Getting started",
"pages": [
"framework/introduction",
"framework/quickstart",
"framework/ai-module"
]
},
{
"group": "Guides",
"pages": [
"framework/application-state",
"framework/event-handlers",
"framework/builder-basics",
"framework/handling-inputs",
"framework/backend-driven-ui",
"framework/stylesheets",
"framework/frontend-scripts",
"framework/custom-components",
"framework/authentication"
]
},
{
"group": "Tutorials",
"pages": [
"framework/chat-assistant",
"framework/social-post-generator",
"framework/product-description-generator",
"framework/release-notes-generator"
]
},
{
"group": "Deployment",
"pages": [
"framework/deploy-with-docker",
"framework/testing"
]
},
{
"group": "Advanced",
"pages": [
"framework/repeater",
"framework/backend-initiated-actions",
"framework/page-routes",
"framework/sessions",
"framework/custom-server",
"framework/state-schema"
]
},
{
"group": "Layout",
"pages": [
"components/column",
"components/columns",
"components/header",
"components/horizontalstack",
"components/section",
"components/separator",
"components/sidebar",
"components/step",
"components/steps",
"components/tab",
"components/tabs"
]
},
{
"group": "Content",
"pages": [
"components/avatar",
"components/chatbot",
"components/dataframe",
"components/heading",
"components/icon",
"components/image",
"components/link",
"components/message",
"components/metric",
"components/plotlygraph",
"components/tags",
"components/text",
"components/vegalitechart",
"components/videoplayer"
]
},
{
"group": "Input",
"pages": [
"components/checkboxinput",
"components/dateinput",
"components/dropdowninput",
"components/fileinput",
"components/multiselectinput",
"components/numberinput",
"components/radioinput",
"components/ratinginput",
"components/selectinput",
"components/sliderinput",
"components/switchinput",
"components/textareainput",
"components/textinput"
]
},
{
"group": "Other",
"pages": [
"components/button",
"components/html",
"components/pagination",
"components/repeater",
"components/reuse",
"components/timer",
"components/webcamcapture"
]
},
{
"group": "Embed",
"pages": [
"components/googlemaps",
"components/mapbox",
"components/pdf",
"components/iframe"
]
}
],
"footerSocials": {
"x": "https://x.com/mintlify",
"github": "https://github.com/mintlify",
"linkedin": "https://www.linkedin.com/company/mintsearch"
}
}
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"type": "module",
"scripts": {
"preview": "cd docs; mintlify dev",
"preview": "mintlify dev",
"test": "jest",
"codegen": "node codegen/generator_components_pages.mjs"
},
Expand Down
154 changes: 0 additions & 154 deletions mint.json

This file was deleted.

21 changes: 21 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6c7c643

Please sign in to comment.