打包好的livecode,版本v-46
This commit is contained in:
1
docs/advanced/custom-settings.html.md
Normal file
1
docs/advanced/custom-settings.html.md
Normal file
@@ -0,0 +1 @@
|
||||
# Custom Settings
|
||||
11
docs/advanced/custom-settings/index.html
Normal file
11
docs/advanced/custom-settings/index.html
Normal file
File diff suppressed because one or more lines are too long
13
docs/advanced/index.html
Normal file
13
docs/advanced/index.html
Normal file
File diff suppressed because one or more lines are too long
8
docs/advanced/index.html.md
Normal file
8
docs/advanced/index.html.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Advanced Topics {#advanced-topics-custom-content-top}
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items.filter(item => item.docId !== 'languages/index')}/>
|
||||
```
|
||||
30
docs/advanced/services.html.md
Normal file
30
docs/advanced/services.html.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Services
|
||||
|
||||
LiveCodes (being a client-side app) uses multiple services (for example for authentication, sharing, module resolution, etc).
|
||||
|
||||
These services are [defined here](https://github.com/live-codes/livecodes/tree/develop/src/livecodes/services).
|
||||
|
||||
Some of the services are not supported on [self-hosted](../features/self-hosting.html.md) deploys and are either replaced by other compatible services or require you to provide an alternative service.
|
||||
|
||||
Examples:
|
||||
|
||||
- The [share](../features/share.html.md) service in [self-hosted](../features/self-hosting.html.md) apps uses [dpaste](https://dpaste.com/) for short URLs, which are [**deleted after 365 days**](https://dpaste.com/help).
|
||||
- [Firebase configuration](https://github.com/live-codes/livecodes/tree/develop/src/livecodes/services/firebase.ts) for authentication.
|
||||
|
||||
:::info
|
||||
|
||||
LiveCodes [sponsors](../sponsor.html.md) (Bronze sponsors and above) get access to managed custom services.
|
||||
|
||||
:::
|
||||
|
||||
If you [self-host](../features/self-hosting.html.md) your app and need to change any of these services, start by following the [guide described there](../features/self-hosting.html.md).
|
||||
|
||||
Then, edit the services you want (in [`src/livecodes/services`](https://github.com/live-codes/livecodes/tree/develop/src/livecodes/services)). The used services need to have the same interface.
|
||||
|
||||
The app then needs to be re-built using the command:
|
||||
|
||||
```shell
|
||||
npm run build
|
||||
```
|
||||
|
||||
The built app is in `build` directory. This can be hosted on any static file server.
|
||||
25
docs/advanced/services/index.html
Normal file
25
docs/advanced/services/index.html
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user