> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nextd.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish

> Publish and share your Nextd projects online with custom domains and continuous updates

## Overview

Nextd's publishing feature allows you to easily share your projects online, whether with friends, colleagues, or potential users. This feature supports continuous iteration, allowing you to update published websites at any time and connect custom domains.

## Publishing Steps

<Steps>
  <Step title="Start the Publishing Process">
    Find and click the **Publish** button in the top-right corner of the project interface.
  </Step>

  <Step title="Begin Deployment">
    Select the **Publish** option from the dropdown menu to start the deployment process.

    <Info>
      The entire deployment process typically takes about one minute to complete.
    </Info>
  </Step>

  <Step title="Get the Published Link">
    After deployment is complete, the system will display your project's published link through a popup window.
  </Step>

  <Step title="Share Your Project">
    Share the obtained link with other users so they can access your project.
  </Step>

  <Step title="Update Published Content">
    When you make changes to your project, you need to use the **Update** option in the publish dropdown menu to push new changes to the published website.
  </Step>
</Steps>

## Important Reminders

<Warning>
  Always perform a security review before publishing. Published applications will be accessible to anyone with the link.
</Warning>

Please carefully check before publishing:

* Whether sensitive information is included
* Whether there are security vulnerabilities in the code
* Whether the project is ready for public access

<Tip>
  Published applications can be accessed by anyone with the link. Please ensure your project content is suitable for public display.
</Tip>

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="What should I do if I encounter errors while publishing?" icon="triangle-exclamation">
    Publishing errors are usually caused by potential issues during the build process. It's recommended to check whether there are syntax errors or dependency issues in the project code.

    <Tip>
      Check the console logs for detailed error messages to help diagnose the issue.
    </Tip>
  </Accordion>

  <Accordion title="Will changes to the project be automatically published?" icon="arrows-rotate">
    No. Changes will not be automatically pushed to the published website. You need to manually click the **Update** button to push new changes.

    <Warning>
      Always remember to update your published site after making changes to ensure users see the latest version.
    </Warning>
  </Accordion>

  <Accordion title="How can I change the published link?" icon="link">
    You can change the published link by renaming the project. The link will automatically adjust based on the new project name.
  </Accordion>

  <Accordion title="How can I unpublish a project?" icon="trash">
    There is currently no direct "unpublish" option. If you need to completely remove a published project, you need to delete the entire project.

    <Warning>
      Deleting a project is permanent and cannot be undone. Make sure to backup your work before deletion.
    </Warning>
  </Accordion>
</AccordionGroup>

## Best Practices

<CardGroup cols={3}>
  <Card title="Pre-publishing Checklist" icon="check">
    * Ensure all features are working properly
    * Remove or hide sensitive data
    * Test user interface responsiveness
    * Verify the availability of all links and resources
  </Card>

  <Card title="Ongoing Maintenance" icon="wrench">
    * Regularly update published content
    * Monitor user feedback
    * Fix discovered issues promptly
  </Card>

  <Card title="Performance Optimization" icon="gauge-high">
    * Optimize image and resource file sizes
    * Ensure fast loading times
    * Test performance on different devices
  </Card>
</CardGroup>

<Note>
  By properly using Nextd's publishing feature, you can efficiently share your project results with others and maintain continuous improvement and updates to your projects.
</Note>
