Publish your docs
Publishing in Specway has two parts: whether the site is public, and which version of your edits visitors see.
Make the site public
Importing an API with Publish Docs makes your docs site public straight away.
To turn the site on or off later, use the switch on the Overview tab of API Docs, or in Settings > General. It reads Published or Unpublished. While a site is unpublished, its address returns a "not found" page.
Publish your edits
Changes you make in the visual editor are saved as a draft as you go. Visitors do not see them until you publish.
- Click Edit Site to open the editor.
- Make your changes. The toolbar shows Unpublished changes while you have a draft.
- Click Publish, then Publish changes.
Each publish is saved in the version history. See Version history.
Show or hide one API
If your site has more than one API, you can hide one without unpublishing the whole site. Open the API from the APIs tab and turn off Publish to Docs ("Show this API in your public documentation site").
Take the site offline
In the editor, click Publish, then Unpublish site. Or switch the site to Unpublished in Settings > General.