The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
check doc links on PRs (#63041)
Jeff Bruemmer2970fc027f9c
diff --git a/.github/workflows/docs-links.yml b/.github/workflows/docs-links.ymlindex 5202328aa0e..662e515d35e 100644--- a/.github/workflows/docs-links.yml+++ b/.github/workflows/docs-links.yml@@ -1,62 +1,36 @@name: Check doc linkson:- repository_dispatch:+ pull_request:+ paths:+ - "docs/**"workflow_dispatch:- schedule:- - cron: "0 0 * * 0" # Weekly on Sundays at midnight UTCjobs:link-checker:name: Check documentation linksruns-on: ubuntu-latest- timeout-minutes: 15+ timeout-minutes: 5permissions:- issues: writecontents: readsteps:- name: Checkout repositoryuses: actions/checkout@v4with:- fetch-depth: 0+ sparse-checkout: |+ docs+ .lychee++ - name: Cache lychee+ uses: actions/cache@v3+ with:+ path: ~/.cache/lychee+ key: lychee-${{ runner.os }}-${{ hashFiles('.lychee/config.toml') }}- name: Run link checkerid: link-checkuses: lycheeverse/lychee-action@v2with:- fail: false+ fail: trueargs: docs --config ./.lychee/config.toml --offlineformat: markdown-- - name: Create issue for broken links- if: steps.link-check.outputs.exit_code != 0- uses: peter-evans/create-issue@v5- with:- title: "Documentation Link Checker Report - $(date +'%Y-%m-%d')"- body: |- The documentation link checker found broken or problematic links in- the docs directory.-- ${{ steps.link-check.outputs.stdout }}- labels: "Type:Documentation"- assignees: jeff-bruemmer-- - name: Workflow summary- if: always()- run: |- if [ "${{ steps.link-check.outputs.exit_code }}" == "0" ]; then- echo "## ✅ Link Check Passed" >> $GITHUB_STEP_SUMMARY- echo "All documentation links are working correctly." >> \- $GITHUB_STEP_SUMMARY- else- echo "## ❌ Broken Links Found" >> $GITHUB_STEP_SUMMARY- echo "The link checker found broken or problematic links in the" >> \- $GITHUB_STEP_SUMMARY- echo "documentation." >> $GITHUB_STEP_SUMMARY- echo "A GitHub issue has been created to track the problems." >> \- $GITHUB_STEP_SUMMARY- echo "" >> $GITHUB_STEP_SUMMARY- echo "**Check the issue for details on which links need to be" >> \- $GITHUB_STEP_SUMMARY- echo "fixed.**" >> $GITHUB_STEP_SUMMARY- fidiff --git a/.lychee/config.toml b/.lychee/config.tomlindex 15b619b67f5..e8abb409742 100644--- a/.lychee/config.toml+++ b/.lychee/config.toml@@ -2,4 +2,4 @@ accept = ["200..=204", "429"]exclude_path = ["docs/embedding/sdk"]no_progress = trueinclude_fragments = true-verbose = "info"\ No newline at end of file+verbose = "error"\ No newline at end of filediff --git a/docs/cloud/accounts-and-billing.md b/docs/cloud/accounts-and-billing.mdindex 861e9e77807..4df999cc79b 100644--- a/docs/cloud/accounts-and-billing.md+++ b/docs/cloud/accounts-and-billing.md@@ -14,7 +14,7 @@ Managing billing and accounts in the Metabase Store.## Try out a free 14-day trial of Pro-If you're on a [Starter](/product/starter) cloud plan, you can try out [all the features of Metabase Pro](/product/pro) for free for 14 days with no commitment.+If you're on a [Starter](https://www.metabase.com/product/starter) cloud plan, you can try out [all the features of Metabase Pro](https://www.metabase.com/product/pro) for free for 14 days with no commitment.If you want to stick with Pro, you'll have the chance to upgrade. Otherwise, your plan will automatically switch back to Starter.@@ -62,7 +62,7 @@ To cancel a Starter or Pro plan directly in the Metabase Store:1. Log in to your Metabase [Store account](https://store.metabase.com).2. Go to **Instances**.-3. Under the instance with the subscription that you want to cancel, click **Cancel subscription and delete instance**. If you're on an Enterprise plan, you'll need to [contact support](/help-premium).+3. Under the instance with the subscription that you want to cancel, click **Cancel subscription and delete instance**. If you're on an Enterprise plan, you'll need to [contact support](https://www.metabase.com/help-premium).## Update payment information@@ -93,7 +93,7 @@ Note that you cannot switch back to monthly billing until your annual cycle has## W-9 form requests-See Metabase's updated [W9 form](/files/2024_W9_signed.pdf).+See Metabase's updated [W9 form](https://www.metabase.com/files/2024_W9_signed.pdf).## Update your Tax ID@@ -109,7 +109,7 @@ The primary account holder should request a name change by emailing [billing@met## Reset your Admin password-If you need to reset your Admin password, [contact support](/help-premium).+If you need to reset your Admin password, [contact support](https://www.metabase.com/help-premium).## Change your company name@@ -142,7 +142,7 @@ If you need to change your primary account holder, for example if your primary a## Move from Metabase Cloud to self-hosting Metabase-If you're on Metabase Cloud but need to switch to hosting Metabase yourself, [contact us](/help-premium) and we'll give you a backup of your application database that you can use to restore Metabase on your own infrastructure.+If you're on Metabase Cloud but need to switch to hosting Metabase yourself, [contact us](https://www.metabase.com/help-premium) and we'll give you a backup of your application database that you can use to restore Metabase on your own infrastructure.## Further readingdiff --git a/docs/cloud/cloud-vs-self-hosting.md b/docs/cloud/cloud-vs-self-hosting.mdindex c997f8e3766..cdac182ad39 100644--- a/docs/cloud/cloud-vs-self-hosting.md+++ b/docs/cloud/cloud-vs-self-hosting.md@@ -10,7 +10,7 @@ layout: new-docs# Metabase Cloud versus self-hosting-We have a post that goes into more depth on [why Metabase Cloud might be right for you](/blog/why-metabase-cloud), but here's a (nonexhaustive) table listing some of the differences between Metabase Cloud and self-hosting Metabase.+We have a post that goes into more depth on [why Metabase Cloud might be right for you](https://www.metabase.com/blog/why-metabase-cloud), but here's a (nonexhaustive) table listing some of the differences between Metabase Cloud and self-hosting Metabase.| | Self-hosted OSS | Metabase Cloud || ------------------------------ | ----------------------------------- | ------------------ |@@ -38,7 +38,7 @@ There are some cases where you _should_ self-host.- You have some regulations that stipulate how you run your software (like HIPAA).- You want to run a custom build of Metabase. That is, you’re running a fork of Metabase (OSS or the Enterprise/Pro version) so you can add your own customizations to the software, and you have the engineering resources to tank that level of overhead.- You want to use a community or custom driver. We only support [official databases](../databases/connecting.md#connecting-to-supported-databases) on Metabase Cloud, because we need to be able to vouch for their quality and help you with problems in a production context.-- You need an air-gapped environment, usually for regulatory compliance, or if you’re running your own three-letter-agency… If you’re not sure if you need an air-gapped environment, you don’t need an air-gapped environment. If you do need an air-gap, we have an [air-gap offering as well](/product/air-gapping) (just not for Cloud, obviously).+- You need an air-gapped environment, usually for regulatory compliance, or if you’re running your own three-letter-agency… If you’re not sure if you need an air-gapped environment, you don’t need an air-gapped environment. If you do need an air-gap, we have an [air-gap offering as well](https://www.metabase.com/product/air-gapping) (just not for Cloud, obviously).Otherwise, you're better off having us handle all of the overhead so you can focus on your business. The official support alone is probably worth it.@@ -46,7 +46,7 @@ Otherwise, you're better off having us handle all of the overhead so you can focMetabase also has a paid version that ships with all of the bells and whistles (SSO, row-level permissions, customization, and a lot more). Plans with this version include:-- [Metabase Pro](/product/pro)-- [Metabase Enterprise](/product/enterprise)+- [Metabase Pro](https://www.metabase.com/product/pro)+- [Metabase Enterprise](https://www.metabase.com/product/enterprise)You can self-host this paid version, or have have us host it for you on Metabase Cloud for no additional cost. We don't charge more because we believe you'll have such a better experience that it'll be easier for us to support you.diff --git a/docs/cloud/how-billing-works.md b/docs/cloud/how-billing-works.mdindex 2bd26ae3512..ebc9d03cda2 100644--- a/docs/cloud/how-billing-works.md+++ b/docs/cloud/how-billing-works.md@@ -19,18 +19,18 @@ When you sign up for a paid Metabase plan on our website, you can elect to pay iBoth billing frequencies include a flat monthly or annual payment, and bill additional [user accounts](#what-counts-as-a-user-account) each month on a prorated basis (or quarterly, if you're [paying by invoice](#how-invoicing-works-for-pro-plans)).-Companies with large number of users can talk to sales about our [Enterprise plan](/sales/), which includes more options and discounts.+Companies with large number of users can talk to sales about our [Enterprise plan](https://www.metabase.com/sales/), which includes more options and discounts.## How monthly billing works-Though we bill you monthly, we calculate how much you owe each day. So, say you're on the [Starter plan](/pricing/). Your monthly bill would include:+Though we bill you monthly, we calculate how much you owe each day. So, say you're on the [Starter plan](https://www.metabase.com/pricing/). Your monthly bill would include:- $85 flat payment for the month. This payment additionally covers the first five people who use your Metabase that month. If you have fewer than five people using your Metabase, your bill will still be $85 that month.- Each additional person costs \$5, prorated for how many days their [accounts were available](#what-counts-as-a-user-account) that month. So if an account only existed for the last 10 days of your 30 day billing period, you'd only be charged for those 10 days, not for the full 30 days. Same goes if you deactivated an account prior to the end of the billing period, you'll only be charged for the days when the account was available for use during that billing period. Basically, you only ever pay for all accounts in your Metabase that haven't been deactivated yet.## How annual billing works-Paying up front for a year will save you 10%. So, again let's use the [Starter plan](/pricing/) as an example. With annual billing, you will:+Paying up front for a year will save you 10%. So, again let's use the [Starter plan](https://www.metabase.com/pricing/) as an example. With annual billing, you will:- Have an annual payment of $918. That payment additionally covers five user accounts. This flat payment is made up front; it's not billed monthly. If you have fewer than five accounts, you still pay $918 for the year.- For each additional user account above those first five user accounts, you'll be billed at $54, prorated for the year. So, for example, if you start out with just the first five accounts that are included in the initial $918 annual payment, then decide to add another user account six months into your annual billing cycle, you'll only be charged $27 dollars for that account, as you'll only need to pay for the remaining six months. When the annual billing cycle repeats, you'll be charged $918 for the first five users, plus \$54 for that additional user (and any other additional users you've added in the interim).diff --git a/docs/cloud/limitations.md b/docs/cloud/limitations.mdindex 8a2ae7c79a0..8e9d64564ca 100644--- a/docs/cloud/limitations.md+++ b/docs/cloud/limitations.md@@ -12,7 +12,7 @@ redirect_from:# Limitation of Metabase Cloud-There are some limitations that could impact your migration to Metabase Cloud. These limitations apply to all [Metabase Cloud plans](/pricing/).+There are some limitations that could impact your migration to Metabase Cloud. These limitations apply to all [Metabase Cloud plans](https://www.metabase.com/pricing/).## Metabase Cloud only supports official databasesdiff --git a/docs/cloud/migrate/cloud-to-self-hosted.md b/docs/cloud/migrate/cloud-to-self-hosted.mdindex 85b920d080e..115b46381c8 100644--- a/docs/cloud/migrate/cloud-to-self-hosted.md+++ b/docs/cloud/migrate/cloud-to-self-hosted.md@@ -15,7 +15,7 @@ section: MigrateMigration from Metabase Cloud to self-hosted will keep all of your questions, dashboards, people, settings --- everything in your existing Metabase.-To migrate, you'll need to [contact our success team](/help-premium) to get a snapshot of your Metabase's [application database](../../installation-and-operation/migrating-from-h2.md#metabases-application-database). This application database contains information about all the settings, questions, dashboards, models, users, etc from your Metabase Cloud instance. The application database is distinct from any of the databases you have connected to your Metabase. You'll need to host your own PostgreSQL database and import your data by restoring from this snapshot of your application database.+To migrate, you'll need to [contact our success team](https://www.metabase.com/help-premium) to get a snapshot of your Metabase's [application database](../../installation-and-operation/migrating-from-h2.md#metabases-application-database). This application database contains information about all the settings, questions, dashboards, models, users, etc from your Metabase Cloud instance. The application database is distinct from any of the databases you have connected to your Metabase. You'll need to host your own PostgreSQL database and import your data by restoring from this snapshot of your application database.## Preparing to migrate from cloud to self-hosted@@ -31,7 +31,7 @@ A self-hosted Metabase comes with a built-in H2 application database (H2 is a fiWe recommend using PostgreSQL as your application database, but you can use MySQL or MariaDB as well. Before starting the migration from Metabase Cloud, [configure the application database](../../installation-and-operation/configuring-application-database.md) for your self-hosted instance.-For more on why you should use PostgreSQL as your application database, check out [How to run Metabase in production](/learn/metabase-basics/administration/administration-and-operation/metabase-in-production).+For more on why you should use PostgreSQL as your application database, check out [How to run Metabase in production](https://www.metabase.com/learn/metabase-basics/administration/administration-and-operation/metabase-in-production).### If you're on a Pro plan, you'll need to switch to a self-hosted Pro plan@@ -42,7 +42,7 @@ If you're migrating from a Metabase Cloud Pro plan to a self-hosted Pro plan, yo## How to migrate from Metabase Cloud to a self-hosted instance-1. **Request a snapshot of your application database** for your Metabase Cloud instance by [contacting our Success Engineering team](/help-premium).+1. **Request a snapshot of your application database** for your Metabase Cloud instance by [contacting our Success Engineering team](https://www.metabase.com/help-premium).Currently, you can't generate the snapshot yourself. A Metabase Success Engineer will generate a snapshot for you and email a link to download your snapshot from the Metabase Store.diff --git a/docs/cloud/migrate/guide-pre-50.md b/docs/cloud/migrate/guide-pre-50.mdindex 2de96a01343..b451ec75049 100644--- a/docs/cloud/migrate/guide-pre-50.md+++ b/docs/cloud/migrate/guide-pre-50.md@@ -67,7 +67,7 @@ Before executing the migration script, you may need to set the environment variaThe script will upload your application data to your new Metabase Cloud instance. If all goes well, the script will print `Done!`.-If anything goes sideways, follow any prompts the script outputs. If you're still stuck, [send us an email](/help/) and we'll help you troubleshoot.+If anything goes sideways, follow any prompts the script outputs. If you're still stuck, [send us an email](https://www.metabase.com/help/) and we'll help you troubleshoot.## After migrating to Metabase Clouddiff --git a/docs/cloud/migrate/guide.md b/docs/cloud/migrate/guide.mdindex 5dae804fc99..a1e078d6983 100644--- a/docs/cloud/migrate/guide.md+++ b/docs/cloud/migrate/guide.md@@ -52,7 +52,7 @@ Once the snapshot upload completes:While Metabase prepping the migration, click on the **Go to Metabase Store** button to sign in to or set up your account.-Choose your plan: [Starter](/product/starter) or [Pro](/product/pro). You can choose monthly or annual billing (annual will save you 10%).+Choose your plan: [Starter](https://www.metabase.com/product/starter) or [Pro](https://www.metabase.com/product/pro). You can choose monthly or annual billing (annual will save you 10%).Choose your deployment: you can specify your DNS alias and select your hosting region.@@ -93,4 +93,4 @@ If you were self-hosting via a third-party, be sure to clean up and cancel any s## Need help?-If you run into any trouble, just [send us an email](/help/).+If you run into any trouble, just [send us an email](https://www.metabase.com/help/).diff --git a/docs/cloud/storage.md b/docs/cloud/storage.mdindex 5152827da29..f16580d1f3a 100644--- a/docs/cloud/storage.md+++ b/docs/cloud/storage.md@@ -50,7 +50,7 @@ Current customers can add storage through the Metabase Store:## Metabase Cloud Storage pricing-Pricing depends on how much data you need to store. See the Storage section on our [pricing page](/pricing/).+Pricing depends on how much data you need to store. See the Storage section on our [pricing page](https://www.metabase.com/pricing/).## Increasing Metabase Cloud Storagediff --git a/docs/dashboards/introduction.md b/docs/dashboards/introduction.mdindex 9c87233d408..56699bc7adf 100644--- a/docs/dashboards/introduction.md+++ b/docs/dashboards/introduction.md@@ -311,7 +311,7 @@ If your Metabase administrator has enabled [public sharing](../embedding/public--Public links can be viewed by anyone, even if they don't have access to Metabase. You can also use the public embedding code to embed your question or dashboard in a simple web page or blog post. Check out examples of simple apps with embedded dashboards in our [embedding-reference-apps repository](https://github.com/metabase/embedding-reference-apps). To learn more about [embedding](../embedding/introduction.md), check out our article on [How to use Metabase to deliver analytics to your customers](/learn/metabase-basics/embedding/overview), as well as an article on how to combine branding, Single Sign-On, full app embedding, and row and column security to deliver [multi-tenant, self-service analytics](https://www.metabase.com/learn/metabase-basics/embedding/multi-tenant-self-service-analytics).+Public links can be viewed by anyone, even if they don't have access to Metabase. You can also use the public embedding code to embed your question or dashboard in a simple web page or blog post. Check out examples of simple apps with embedded dashboards in our [embedding-reference-apps repository](https://github.com/metabase/embedding-reference-apps). To learn more about [embedding](../embedding/introduction.md), check out our article on [How to use Metabase to deliver analytics to your customers](https://www.metabase.com/learn/metabase-basics/embedding/overview), as well as an article on how to combine branding, Single Sign-On, full app embedding, and row and column security to deliver [multi-tenant, self-service analytics](https://www.metabase.com/learn/metabase-basics/embedding/multi-tenant-self-service-analytics).## Exporting results from a dashboarddiff --git a/docs/databases/sync-scan.md b/docs/databases/sync-scan.mdindex 80395892549..db4cc958c9d 100644--- a/docs/databases/sync-scan.md+++ b/docs/databases/sync-scan.md@@ -115,7 +115,7 @@ To use this endpoint, you must pass a string via the `MB_API_KEY` environment vaWe created the `notify` endpoint so that people could tell their Metabase to sync after an [ETL operation](https://www.metabase.com/learn/grow-your-data-skills/data-landscape/etl-landscape) finishes.-See our [API docs](/docs/latest/api.html).+See our [API docs](../api.html).## How database syncs workdiff --git a/docs/embedding/securing-embeds.md b/docs/embedding/securing-embeds.mdindex 4df001e691a..6ad26c43254 100644--- a/docs/embedding/securing-embeds.md+++ b/docs/embedding/securing-embeds.md@@ -162,7 +162,7 @@ For code samples, see the [static embedding reference app](https://github.com/me## Interactive embedding authenticates and authorizes people in one flow-Interactive embedding integrates with SSO ([JWT](/docs/latest/people-and-groups/authenticating-with-jwt) or [SAML](/docs/latest/people-and-groups/authenticating-with-saml)) to authenticate and authorize people in one flow. The auth integration makes it easy to map user attributes (such as a person's role or department) to granular levels of data access, including:+Interactive embedding integrates with SSO ([JWT](../people-and-groups/authenticating-with-jwt.md) or [SAML](../people-and-groups/authenticating-with-saml.md) to authenticate and authorize people in one flow. The auth integration makes it easy to map user attributes (such as a person's role or department) to granular levels of data access, including:- [Tables](../permissions/data.md)- [Rows](../permissions/row-and-column-security.md#row-level-security-filter-by-a-column-in-the-table)@@ -250,5 +250,5 @@ When Customer 1 logs in, they'll see a different filtered version of the Account## Further reading- [Configuring permissions for different customer schemas](../permissions/embedding.md)-- [Why interactive embedding?](/blog/why-full-app-embedding)-- [The five stages of embedding grief](/learn/grow-your-data-skills/analytics/embedding-mistakes)+- [Why interactive embedding?](https://www.metabase.com/blog/why-full-app-embedding)+- [The five stages of embedding grief](https://www.metabase.com/learn/grow-your-data-skills/analytics/embedding-mistakes)diff --git a/docs/questions/visualizations/table.md b/docs/questions/visualizations/table.mdindex 142c4cbc8e8..551c673ebef 100644--- a/docs/questions/visualizations/table.md+++ b/docs/questions/visualizations/table.md@@ -290,7 +290,7 @@ You can set as many rules on a table as you want, and change the order in which## Adding tables to dashboards-When you add a table to a dashboard, you can add [custom destinations](../../dashboards/interactive.md#custom-destinations) to individual columns, wire up filter widgets, and more. To see an example of a table used in a dashboard, check out our article on [building a record lookup tool with Metabase](/learn/metabase-basics/querying-and-dashboards/dashboards/build-a-record-lookup-tool).+When you add a table to a dashboard, you can add [custom destinations](../../dashboards/interactive.md#custom-destinations) to individual columns, wire up filter widgets, and more. To see an example of a table used in a dashboard, check out our article on [building a record lookup tool with Metabase](https://www.metabase.com/learn/metabase-basics/querying-and-dashboards/dashboards/build-a-record-lookup-tool).## Table pagination on dashboard cards