mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* build up redirects for API docs hosting * build with all features and documenting config * fix warnings * can rustdoc please provide a way to modify the base url? I want to host the docs at /next/:crate_name, not at /:crate_name ffs * Don't clean URLs... what is rustdoc doing? * now it wants to work??? * build a next index page * unreleased docs banner * show coverage * remove ./ ??? * try 2? * api-docs/ not api-docs-public/ * please
56 lines
1.0 KiB
JSON
56 lines
1.0 KiB
JSON
{
|
|
"hosting": [
|
|
{
|
|
"target": "website",
|
|
"public": "website/build/",
|
|
"cleanUrls": true,
|
|
"redirects": []
|
|
},
|
|
{
|
|
"target": "api",
|
|
"public": "api-docs/dist/",
|
|
"redirects": [
|
|
{
|
|
"source": "/",
|
|
"destination": "https://docs.rs/yew",
|
|
"type": 302
|
|
},
|
|
{
|
|
"regex": "/(yew_((agent|router)?_?(macro)?))",
|
|
"destination": "https://docs.rs/:1",
|
|
"type": 302
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"target": "examples",
|
|
"public": "dist",
|
|
"rewrites": [
|
|
{
|
|
"source": "/router/**",
|
|
"destination": "/router/index.html"
|
|
},
|
|
{
|
|
"source": "/todomvc/**",
|
|
"destination": "/todomvc/index.html"
|
|
}
|
|
],
|
|
"redirects": [
|
|
{
|
|
"source": "/",
|
|
"destination": "https://yew.rs/getting-started/examples",
|
|
"type": 302
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"emulators": {
|
|
"hosting": {
|
|
"port": 5000
|
|
},
|
|
"ui": {
|
|
"enabled": true
|
|
}
|
|
}
|
|
}
|