Skip to content

Commit

Permalink
Merge branch 'develop' into i18n/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Mar 6, 2025
2 parents bdc47c6 + f40e4f2 commit 0c46f1a
Show file tree
Hide file tree
Showing 286 changed files with 17,469 additions and 20,192 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ Also, all questions are [welcomed](https://github.com/live-codes/livecodes/discu

## Specific Topics

- [Adding Languages](./docs/docs/contribution/adding-languages.md)
- [Release](./docs/docs/contribution/release.md)
- [i18n](./docs/docs/contribution/i18n.md)
- [Adding Languages](./docs/docs/contribution/adding-languages.mdx)
- [Release](./docs/docs/contribution/release.mdx)
- [i18n](./docs/docs/contribution/i18n.mdx)

## Funding

Expand Down
3 changes: 0 additions & 3 deletions docs/babel.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions docs/docs/about.md → docs/docs/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Feature requests and bug reports are received on the [GitHub repo](https://githu

Contributions are most welcome. Please open an issue on the GitHub repo to discuss your potential contribution before submitting a pull request.

Reach out to us using this [contact form](./contact.md).
Reach out to us using this [contact form](./contact.mdx).

Please consider [sponsoring LiveCodes](./sponsor.md) to support its maintenance and continued development.
Please consider [sponsoring LiveCodes](./sponsor.mdx) to support its maintenance and continued development.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ LiveCodes (being a client-side app) uses multiple services (for example for auth

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.md) deploys and are either replaced by other compatible services or require you to provide an alternative service.
Some of the services are not supported on [self-hosted](../features/self-hosting.mdx) deploys and are either replaced by other compatible services or require you to provide an alternative service.

Examples:

- The [share](../features/share.md) service in [self-hosted](../features/self-hosting.md) apps uses [dpaste](https://dpaste.com/) for short URLs, which are [**deleted after 365 days**](https://dpaste.com/help).
- The [share](../features/share.mdx) service in [self-hosted](../features/self-hosting.mdx) 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.md) (Bronze sponsors and above) get access to managed custom services.
LiveCodes [sponsors](../sponsor.mdx) (Bronze sponsors and above) get access to managed custom services.

:::

If you [self-host](../features/self-hosting.md) your app and need to change any of these services, start by following the [guide described there](../features/self-hosting.md).
If you [self-host](../features/self-hosting.mdx) your app and need to change any of these services, start by following the [guide described there](../features/self-hosting.mdx).

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.

Expand Down
8 changes: 5 additions & 3 deletions docs/docs/bookmarklet.md → docs/docs/bookmarklet.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Bookmarklet

LiveCodes allows [importing code](./features/import.md) from a [wide variety of sources](./features/import.md#sources).
LiveCodes allows [importing code](./features/import.mdx) from a [wide variety of sources](./features/import.mdx#sources).

Instead of manually copy/pasting URLs to import, adding **"Edit in LiveCodes"** bookmarklet to the browser bookmarks bar can be a more convenient way. It opens LiveCodes in a new window and imports the current webpage URL.

Expand All @@ -9,7 +9,9 @@ Instead of manually copy/pasting URLs to import, adding **"Edit in LiveCodes"**
Drag this link to the browser bookmarks bar:

<div
dangerouslySetInnerHTML={{__html: `<a href='javascript:(()=>{window.open("https://livecodes.io/?x="+encodeURIComponent(location.href),"_blank");})();'>Edit in LiveCodes</a>`}}
dangerouslySetInnerHTML={{
__html: `<a href='javascript:(()=>{window.open("https://livecodes.io/?x="+encodeURIComponent(location.href),"_blank");})();'>Edit in LiveCodes</a>`,
}}
/>

<br />
Expand All @@ -29,4 +31,4 @@ https://github.com/bradtraversy/50projects50days/tree/master/expanding-cards

Then click on the bookmarklet.

LiveCodes playground should open in a new window and [import](./features/import.md) the directory files (each file in the appropriate editor). It just works!
LiveCodes playground should open in a new window and [import](./features/import.mdx) the directory files (each file in the appropriate editor). It just works!
Loading

0 comments on commit 0c46f1a

Please sign in to comment.