Skip to content

Commit b99adf4

Browse files
committed
backup docs
1 parent e8af203 commit b99adf4

13 files changed

Lines changed: 51 additions & 41 deletions

File tree

md/4_export_embed/dev_embed/dev_embed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The size of the exported patches are relatively small as only the ops which you
66
- In the Editor choose `Export` in the menu to open the export dialog
77
- Use one of the following export services to export your patch:
88

9-
- [Export a ZIP file](export_zip/export_zip)
9+
- [Export HTML](export_zip/export_zip)
1010
- [Export to github (pages)](export_github/export_github)
1111
- [Export and deploy to netlify](export_netlify/export_netlify)
1212
- [Export creating a standalone executable](export_exe/export_exe)

md/4_export_embed/dev_embed/export_standalone/export_standalone.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ Download the latest version of ["cables standalone"](https://dev.cables.gl/downl
99

1010
Install and/or open the standalone version, select "Open Patch" from the menu or the welcome screen, select
1111
the `.cables` file you just downloaded. Start patching!
12+
13+
## Import on cables.gl
14+
15+
Patches that have been exported as a full patch can be re-imported to cables.gl. To import a patch, go to the [import tab](/mydata#import)
16+
in the "My Data" section on cables.gl and upload the Zip created during export or manual backup.
17+
18+
Read more in the documentation on [importing patches](../../import/import) for further steps.

md/4_export_embed/dev_embed/export_zip/export_zip.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Export a ZIP file
1+
# HTML Export
22

3-
Select the "DOWNLOAD" option in the export dialog:
3+
Select the "Download HTML" option in the export dialog:
44

5-
![Button](../img/export_zip.png)
5+
![Button](../img/export_html.png)
66

77
If you just want to download your patch and put it on any webserver that you can upload files to, this
88
is your best option.
49.1 KB
Loading
-42 KB
Binary file not shown.

md/4_export_embed/import/import.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Importing patches
2+
3+
Cables lets you create new patches from exported patches that are a ["Patch" export](../dev_embed/export_standalone/export_standalone).
4+
This can be used to pick up work done in [cables standalone](/standalone) or be used as a way to back up different versions of one patch.
5+
6+
## Import
7+
8+
To import a patch, go to the [import tab](/mydata#import) in the "My Data" section on cables.gl and upload the Zip created during export or
9+
manual backup. Once successfully uploaded the import will:
10+
11+
- Create a new patch with "imported:" prefixed to the name
12+
- Copy all assets to the new directory and replace usages in ops of that patch
13+
- Migrate all "non core ops" to [Patch Ops](../../5_1_permissions/3_ops/ops) and update the patch
14+
- Show a link to open the new patch
15+
16+
You can now continue working on that patch. Be aware that this is a copy of the original patch, no changes made here will be reflected
17+
in the original patch at all.
18+
19+
All ops that belong to patches, users or teams have been renamed to patch ops of the new patch. If you
20+
want to propagate changes made to an op of (e.g.) a team, simply [rename](../../5_writing_ops/dev_renaming/dev_renaming) the op (back) to a team-op.
21+
This might be a good time to create a [new version](../../5_writing_ops/dev_renaming/dev_renaming) of the op.
-22.5 KB
Binary file not shown.
-34.1 KB
Binary file not shown.

md/4_export_embed/import_backups/img/create_backup.png renamed to md/4_export_embed/patch_backups/img/create_backup.png

File renamed without changes.
34.5 KB
Loading

0 commit comments

Comments
 (0)