From 46865153b445a5059ed57c74ef64027ba3af7823 Mon Sep 17 00:00:00 2001 From: Nick Cernera Date: Thu, 20 Feb 2025 11:08:06 -0500 Subject: [PATCH] feat: add snippets for doclinks --- .vscode/markdown.code-snippets | 9 +++++++++ package.json | 2 +- pages/01-overview/01-introduction.md | 5 +---- 3 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .vscode/markdown.code-snippets diff --git a/.vscode/markdown.code-snippets b/.vscode/markdown.code-snippets new file mode 100644 index 00000000..3cc29c13 --- /dev/null +++ b/.vscode/markdown.code-snippets @@ -0,0 +1,9 @@ +{ + "Documentation Link": { + "prefix": "doclink", + "body": [ + "{% doclink to=\"${1|overview_introduction,overview_architecture,overview_api_reference,getting_started_first_steps,getting_started_first_steps_cli_quickstart,getting_started_first_steps_existing_cluster,getting_started_how_to_use,getting_started_how_to_use_mgmt_cluster,getting_started_how_to_use_rbac,getting_started_how_to_use_scm_connection,getting_started_how_to_use_workload_cluster,getting_started_how_to_use_controllers,getting_started_how_to_use_pr_automation,getting_started_how_to_use_microservice,getting_started_how_to_use_pipelines,getting_started_advanced_config,getting_started_advanced_config_sandboxing,getting_started_advanced_config_network_configuration,getting_started_advanced_config_private_ca,plural_features_continuous_deployment,plural_features_continuous_deployment_deployment_operator,plural_features_continuous_deployment_git_service,plural_features_continuous_deployment_helm_service,plural_features_continuous_deployment_global_service,plural_features_k8s_upgrade_assistant,plural_features_stacks_iac_management,plural_features_stacks_iac_management_customize_runners,plural_features_stacks_iac_management_pr_workflow,plural_features_stacks_iac_management_manual_runs,plural_features_stacks_iac_management_local_execution,plural_features_stacks_iac_management_custom_stacks,plural_features_stacks_iac_management_auto_cancellation,plural_features_stacks_iac_management_service_contexts,plural_features_service_catalog,plural_features_service_catalog_creation,plural_features_service_catalog_contribution_program,plural_features_kubernetes_dashboard,plural_features_plural_ai,plural_features_plural_ai_setup,plural_features_plural_ai_architecture,plural_features_plural_ai_cost,plural_features_pr_automation,plural_features_pr_automation_crds,plural_features_pr_automation_testing,plural_features_pr_automation_pipelines,plural_features_service_templating,plural_features_service_templating_templating_filters,plural_features_projects_and_multi_tenancy,plural_features_notifications,faq_security,faq_plural_oidc,faq_certifications,faq_paid_tiers,resources_release_notes|}\" %}${2:Link Text}{% /doclink %}" + ], + "description": "Insert a doclink with route ID autocompletion" + } +} \ No newline at end of file diff --git a/package.json b/package.json index fa6755f5..de755df4 100644 --- a/package.json +++ b/package.json @@ -114,4 +114,4 @@ "resolutions": { "@types/react": "18.3.3" } -} \ No newline at end of file +} diff --git a/pages/01-overview/01-introduction.md b/pages/01-overview/01-introduction.md index 52df6415..ae896f0b 100644 --- a/pages/01-overview/01-introduction.md +++ b/pages/01-overview/01-introduction.md @@ -34,7 +34,4 @@ We also maintain a catalog of open source applications like Airbyte, Airflow, et You can also define your own internal catalogs and vendors can share catalogs of their own software. It is meant to be a standard interface to support developer self-service for virtually any infrastructure provisioning workflow. -The full docs are available under {% doclink to="plural_features_service_catalog_overview" %}Service Catalog{% /doclink %}. - - - +The full docs are available under {% doclink to="plural_features_service_catalog_overview" %}Service Catalog{% /doclink %}. \ No newline at end of file