diff --git a/advanced/subpath/vercel.mdx b/advanced/subpath/vercel.mdx index 859395776..de4825471 100644 --- a/advanced/subpath/vercel.mdx +++ b/advanced/subpath/vercel.mdx @@ -23,8 +23,14 @@ following configuration to your `vercel.json` file. } ``` + + Vercel configuration for docs subpath + + For more information, you can also refer to Vercel's offical guide on rewrites: [Project Configuration: Rewrites](https://vercel.com/docs/projects/project-configuration#rewrites) + + \ No newline at end of file diff --git a/api-playground/overview.mdx b/api-playground/overview.mdx index c222ffedf..a7a5a95e0 100644 --- a/api-playground/overview.mdx +++ b/api-playground/overview.mdx @@ -8,8 +8,14 @@ icon: 'play' The API playground is an interactive environment to make requests and preview an API endpoint. + + API Playground Interface + + Autogenerating API pages with OpenAPI will automatically generate API playground. Read more about using OpenAPI with Mintlify [here](/api-playground/openapi). + + \ No newline at end of file diff --git a/content/components/images.mdx b/content/components/images.mdx new file mode 100644 index 000000000..c6a4a8822 --- /dev/null +++ b/content/components/images.mdx @@ -0,0 +1,49 @@ +# Images + +Images are an essential part of creating engaging and informative content. This guide will help you understand how to work with images effectively in your project. + +## Adding Images + +To add an image to your content, you can use either Markdown or HTML syntax: + +### Markdown Syntax +```markdown +![Alt text](/path/to/image.jpg) +``` + +### HTML Syntax +```html +Alt text +``` + +## Best Practices + +1. **Always include alt text**: Provide descriptive alternative text for accessibility. +2. **Optimize image sizes**: Compress images before uploading to improve load times. +3. **Use appropriate formats**: Choose the right format (JPG, PNG, WebP) based on your needs. +4. **Responsive images**: Consider using responsive image techniques for different screen sizes. + +## Image Dimensions + +- Keep images at a reasonable size that fits your layout +- Consider using standard aspect ratios +- Avoid uploading extremely large images that need to be scaled down + +## Supported Formats + +The following image formats are supported: +- JPG/JPEG +- PNG +- GIF +- WebP +- SVG + +## Tips for Image Optimization + +1. Compress images before uploading +2. Choose the appropriate format for your use case +3. Consider lazy loading for better performance +4. Use descriptive file names +5. Store images in the appropriate directory structure + +For more specific implementation details or advanced image handling techniques, please refer to our advanced guides. \ No newline at end of file diff --git a/content/components/steps.mdx b/content/components/steps.mdx index 09700a488..c916d2bb2 100644 --- a/content/components/steps.mdx +++ b/content/components/steps.mdx @@ -6,6 +6,10 @@ icon: 'arrow-progress' Steps are the best way to display a series of actions of events to your users. You can add as many steps as desired. + + Example of the Steps component showing three numbered steps with titles and content + + These are instructions or content that only pertain to the first step. @@ -70,4 +74,4 @@ Steps are the best way to display a series of actions of events to your users. Y The size of the step titles. One of `p`, `h2` and `h3`. - + \ No newline at end of file diff --git a/integrations/analytics/logrocket.mdx b/integrations/analytics/logrocket.mdx index 702de184b..e008bbb6c 100644 --- a/integrations/analytics/logrocket.mdx +++ b/integrations/analytics/logrocket.mdx @@ -4,10 +4,14 @@ title: "LogRocket" Add the following to your `mint.json` file to send analytics to LogRocket. + + LogRocket Analytics Dashboard + + ```json Analytics options in mint.json "analytics": { "logrocket": { "apiKey": "required" } } -``` +``` \ No newline at end of file diff --git a/integrations/analytics/pirsch.mdx b/integrations/analytics/pirsch.mdx index e4b3e3085..66af87ebf 100644 --- a/integrations/analytics/pirsch.mdx +++ b/integrations/analytics/pirsch.mdx @@ -6,6 +6,10 @@ Add the following to your `mint.json` file to send analytics to Pirsch. You can get your site ID from Settings \> Developer \> Identification Code. + + Pirsch dashboard settings showing where to find the site ID + + ```json Analytics options in mint.json @@ -25,3 +29,4 @@ You can get your site ID from Settings \> Developer \> Identification Code. ``` + \ No newline at end of file diff --git a/integrations/analytics/posthog.mdx b/integrations/analytics/posthog.mdx index b78cabb18..cb8b930d7 100644 --- a/integrations/analytics/posthog.mdx +++ b/integrations/analytics/posthog.mdx @@ -36,3 +36,7 @@ You only need to include `apiHost` if you are self-hosting PostHog. We send even ## Session Recordings You need to add the URL for your docs website to Posthog's "Authorized domains for recordings" before you can receive session recordings. The option to add your URL is in Posthog's project settings. + + + PostHog Authorized Domains Settings + \ No newline at end of file diff --git a/integrations/privacy/osano.mdx b/integrations/privacy/osano.mdx index ded3d2d59..00f3db41e 100644 --- a/integrations/privacy/osano.mdx +++ b/integrations/privacy/osano.mdx @@ -24,4 +24,8 @@ The `SOURCE` can be found as the `src` value in the code snippet generated by Os ```html Code snippet from Osano