# Publish your content as a docs site

Once you’ve finished writing, editing, or importing your content, you can publish your work to the web as a docs site. Your docs will be published on the web and available to your selected audience.&#x20;

To get started, create a new docs site for your content to live on, or publish a space as a docs site.

### Create a docs site

To create a docs site, click the plus **+** icon next to Docs site in the sidebar on the left.

The content on your site comes from [spaces](https://gitbook.com/docs/~/changes/pfQHJq75QY5xMYvctdXP/content-editor/editor/content-structure/what-is-a-space) in your organization. When you create a new docs site, you can create a new space, or link an existing one.&#x20;

After linking a space, you'll be able to choose who can access your content once it’s published.

<figure><img src="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FjLVCWhp2ofQLicvMdCSI%2Fdocs-site.png?alt=media&#x26;token=76feeb34-609a-4270-819e-52f315f0aa99" alt=""><figcaption></figcaption></figure>

Alternatively, you can create a docs site from the space you want to publish by opening the space and clicking **Share** in the top-right corner of the window. Then choose **Publish as a docs site** in the share modal’s sidebar.&#x20;

From this menu, you can link your space to an existing docs site, or create a new one to publish your space on its own. It also shows any other docs site your space is already linked to.

### Delete or unpublish a docs site

To delete a docs site, you'll need to go into your site's settings. See [site-settings](https://gitbook.com/docs/~/changes/pfQHJq75QY5xMYvctdXP/published-documentation/site-settings "mention") for more information.

### Publish your content

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Public</strong></td><td>Publish your docs publicly to the web.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FCQBPIhMSPVHP7672ge5a%2F2.png?alt=media&#x26;token=7467eedd-3ffe-44f8-9a23-f22a6c22f365">2.png</a></td><td><a href="publish-your-content-as-a-docs-site/public-publishing">public-publishing</a></td></tr><tr><td><strong>Privately with share links</strong></td><td>Publish your docs using private links.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F8lPuRwL0PkE4A6pnaHXy%2F6.png?alt=media&#x26;token=846d9e6b-5232-4e3d-820d-f58e96ab9326">6.png</a></td><td><a href="publish-your-content-as-a-docs-site/share-links">share-links</a></td></tr><tr><td><strong>Visitor Authentication</strong></td><td>Protect your published docs with OAuth sign in.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F8mzqhjAq5fYyrEqNBPm3%2F9.png?alt=media&#x26;token=0a56a6cf-6359-4fcc-9fd5-901ab3ebb73f">9.png</a></td><td><a href="publish-your-content-as-a-docs-site/visitor-authentication">visitor-authentication</a></td></tr></tbody></table>

### Customize your docs

After you've published a site, you can customize your docs in multiple ways.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Set a theme</strong></td><td>Customize and add a theme.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fs2461xWRZB30g6iTVCVv%2F5.png?alt=media&#x26;token=174342c3-24d9-4bf3-9933-9658d1875e76">5.png</a></td><td><a href="customization/space-customization">space-customization</a></td></tr><tr><td><strong>Set a custom domain</strong></td><td>Set up a custom domain for your docs.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fm2aUIAM24NsNkKTrJRQC%2F8.png?alt=media&#x26;token=c016405a-07e8-4f46-b959-58f284067f49">8.png</a></td><td><a href="custom-domain">custom-domain</a></td></tr><tr><td><strong>Publish a variation</strong></td><td>Add multiple variations for your docs.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FVaXGxXRuJQgVrfwgng5V%2F1.png?alt=media&#x26;token=da1c06b8-c8c2-41d3-b03a-480151153bb2">1.png</a></td><td><a href="publish-multiple-spaces-on-one-site">publish-multiple-spaces-on-one-site</a></td></tr></tbody></table>

### Learn more

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Pricing</strong></td><td>Learn more about how pricing works for docs sites in GitBook.</td><td></td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FbOkb2Nd7Rj1JY3woDNxQ%2F12.png?alt=media&#x26;token=fed73968-59dd-4e48-a2c3-1b2374b039b1">12.png</a></td><td><a href="../account-management/plans">plans</a></td></tr><tr><td><strong>SEO</strong></td><td>Learn more about how SEO works for your published docs.</td><td></td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fzi2acchcSyoNic5EchYK%2F4.png?alt=media&#x26;token=118ae93e-f122-4b84-be11-0bcbc8365775">4.png</a></td><td><a href="seo">seo</a></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>
