|
435 | 435 | "SLAM service": "/services/slam/",
|
436 | 436 | "frame": "/services/frame-system/",
|
437 | 437 | "Viam app": "https://app.viam.com/",
|
438 |
| - "organization settings page": "/cloud/organizations/", |
439 |
| - "image tags": "/fleet/dataset/#image-tags", |
| 438 | + "organization settings page": "/manage/reference/organize/", |
| 439 | + "image tags": "/data-ai/ai/create-dataset/#label-your-images", |
440 | 440 | "API key": "/fleet/cli/#authenticate",
|
441 |
| - "board model": "/components/board/#configuration" |
| 441 | + "board model": "/dev/reference/apis/components/board/" |
442 | 442 | }
|
443 | 443 |
|
444 | 444 | ## Language-specific resource name overrides:
|
@@ -617,7 +617,7 @@ def link_data_types(sdk, data_type_string):
|
617 | 617 |
|
618 | 618 | ## Link matching text, used in write_markdown():
|
619 | 619 | ## NOTE: Currently does not support formatting for link titles
|
620 |
| -## (EXAMPLE: bolded DATA tab here: https://docs.viam.com/appendix/apis/data-client/#binarydatabyfilter) |
| 620 | +## (EXAMPLE: bolded DATA tab here: https://docs.viam.com/dev/reference/apis/data-client/#binarydatabyfilter) |
621 | 621 | def link_description(format_type, full_description, link_text, link_url):
|
622 | 622 |
|
623 | 623 | ## Supports 'md' link styling or 'html' link styling.
|
@@ -1830,23 +1830,23 @@ def write_markdown(type, names, methods):
|
1830 | 1830 | if type == 'component':
|
1831 | 1831 | ## Replace underscores, and convert generic_component to just generic:
|
1832 | 1832 | resource_adjusted = resource.replace('generic_component', 'generic').replace('_','-')
|
1833 |
| - proto_anchor_link = '/appendix/apis/components/' + resource_adjusted + '/#' + proto_link |
| 1833 | + proto_anchor_link = '/dev/reference/apis/components/' + resource_adjusted + '/#' + proto_link |
1834 | 1834 | elif type == 'service' and resource in ['base_remote_control', 'motion', 'navigation', 'slam', 'vision']:
|
1835 |
| - proto_anchor_link = '/appendix/apis/services/' + resource.replace('base_remote_control', 'base-rc') + '/#' + proto_link |
| 1835 | + proto_anchor_link = '/dev/reference/apis/services/' + resource.replace('base_remote_control', 'base-rc') + '/#' + proto_link |
1836 | 1836 | elif type == 'service' and resource == 'data_manager':
|
1837 |
| - proto_anchor_link = '/appendix/apis/services/data/#' + proto_link |
| 1837 | + proto_anchor_link = '/dev/reference/apis/services/data/#' + proto_link |
1838 | 1838 | elif type == 'service' and resource == 'generic_service':
|
1839 |
| - proto_anchor_link = '/appendix/apis/services/generic/#' + proto_link |
| 1839 | + proto_anchor_link = '/dev/reference/apis/services/generic/#' + proto_link |
1840 | 1840 | elif type == 'service' and resource == 'mlmodel':
|
1841 |
| - proto_anchor_link = '/appendix/apis/services/ml/#' + proto_link |
| 1841 | + proto_anchor_link = '/dev/reference/apis/services/ml/#' + proto_link |
1842 | 1842 | elif type == 'app' and resource == 'app':
|
1843 |
| - proto_anchor_link = '/appendix/apis/fleet/#' + proto_link |
| 1843 | + proto_anchor_link = '/dev/reference/apis/fleet/#' + proto_link |
1844 | 1844 | elif type == 'app' and resource in ["billing", "mltraining"]:
|
1845 |
| - proto_anchor_link = '/appendix/apis/' + resource.replace('mltraining','ml-training') + '-client/#' + proto_link |
| 1845 | + proto_anchor_link = '/dev/reference/apis/' + resource.replace('mltraining','ml-training') + '-client/#' + proto_link |
1846 | 1846 | elif type == 'app' and resource in ["data", "dataset", "data_sync"]:
|
1847 |
| - proto_anchor_link = '/appendix/apis/data-client/#' + proto_link |
| 1847 | + proto_anchor_link = '/dev/reference/apis/data-client/#' + proto_link |
1848 | 1848 | elif type == 'robot':
|
1849 |
| - proto_anchor_link = '/appendix/apis/' + resource + '/#' + proto_link |
| 1849 | + proto_anchor_link = '/dev/reference/apis/' + resource + '/#' + proto_link |
1850 | 1850 |
|
1851 | 1851 | ## Fetch just the first sentence from the proto_override_file (first text string terminated by '.\n'), ignoring hugo
|
1852 | 1852 | ## shortcodes like alerts ('{{%.*%}}.*{{% \[a-b].* %}}'), which precede some override files' (proto descriptions')
|
|
0 commit comments