stylehub.cloud

Publishing and unpublishing

On this page

A manual is a draft until you press Publish. Publishing puts it on its address, in the API and in analytics. Unpublishing takes it back off, and deletes nothing.

Published is not the same as public

Who may open a published manual is a separate setting: everyone, only people with the link, only the team, or only somebody with the password. See Who may see a manual.

What publishing changes

The public page
The address serves the manual instead of a notice saying it is not published yet.
The API
{slug}.json, {slug}/tokens.json and {slug}.pdf answer. An unpublished manual is a 404 there, whatever token is sent. See the API documentation (opens in a new tab).
The sitemap
The brand hub lists the manual for search engines, if it is public and indexing is allowed. See Search engines and the head of a page.
Analytics
Page views, section reads and file clicks are counted from a published page only. See Analytics.
History
A version of the manual is written every time it is published.

The editor, the asset library, the team, the design settings, Device preview and the PDF you download from the manual page all work the same whether the manual is published or not. You can hand somebody a PDF of a manual nobody outside the team can reach. See PDF export.

What a visitor sees while it is a draft

The address already answers, with a short page carrying the brand name: Not published yet, and under it [Brand] is still working on this brand hub. It will appear here once they publish it.

Nothing about the manual is shown: not the title, not the description, not the social image. The page asks search engines not to index it. Under the notice are Build yours free and See what it does, on every plan.

The team sees the same notice

Being signed in does not open a draft at its public address. To read a manual before it is published, use the editor or Device preview, which shows it as the editor holds it, hidden sections included, at phone, tablet and desktop widths.

Publishing, step by step

WhereDashboard, Brand manual

  1. Open the manual. The line under the title reads Draft, followed by live at and the address.
  2. Check the address is the one you want. Changing it later leaves the old one pointing nowhere. See Addresses.
  3. Read it as a visitor will, with Device preview. Sections with the Hidden badge will not be on the public page.
  4. Choose who may see it, under Settings and then Visibility. The default is Public.
  5. Press Publish.

The page is live from that moment. The line under the title reads Published followed by the visibility, the button becomes Unpublish, and Preview opens what a visitor sees. If the manual reviews changes before they go live, pressing Publish publishes everything that was waiting. See Reviewing changes before they go live. To check it worked, open the address in a browser that is not signed in. Domains (opens in a new tab) also lists every manual with its address and says which are drafts.

Hiding single sections

In the editor, a section menu offers Hide from the public page or Show on the public page, and a hidden section wears a Hidden badge. A new section is on the public page by default. A hidden section is left out of the page, the print view, the PDF, the API and the analytics, and stays in the editor. Publishing does not un-hide anything, and hiding every section does not unpublish the manual.

Who is let in once it is published

ModeWhat it means
PublicAnyone can find and view it.
UnlistedOnly people with the link. Hidden from search.
PrivateNot shown publicly. Team views it in the app.
Password protectedPublic link, but a password is required.

Password protection is part of the paid plans. Only a public manual is offered to search engines: Allow search engines (Google indexing) is shown on a public manual only, and on the other three the page reads Search engines are kept out of a page that is not public.

Changing visibility needs the right to publish

Making a public manual private, putting a password on it or hiding it from search is refused to somebody who may edit but not publish, even though the rest of the settings form saves normally.

Publishing writes a version

Each publish takes a snapshot you can compare against and restore from, labeled by how it came about.

Automatic, on publish
The manual is live, and this is what it looked like when it was published.
Published
The manual reviews changes before they go live, so this version is exactly what the public page shows.

The activity log records Published or Unpublished with the title, who did it and when. See History and versions.

Unpublishing

WhereDashboard, Brand manual

Press Unpublish and the manual is a draft again. Nothing is deleted: sections, files, settings, address and version history stay as they were, and Publish puts the same page back.

  • The public address serves the Not published yet notice.
  • The API answers 404 on all three addresses for this manual.
  • The manual drops out of the sitemap and its page asks not to be indexed, so it leaves search results when the engine next looks.
  • Nothing more is counted in analytics. Earlier counts stay.
  • On Domains (opens in a new tab) the manual is badged Draft and loses its Open link. The address is still shown and can still be copied.

What happens to the address

The address stays yours. A manual keeps its subdomain while it is a draft, nobody else can claim it, and it is not handed to another manual of the brand. It is freed when you clear the field yourself or delete the manual.

On a brand subdomain or a verified custom domain, the root serves the primary manual. Unpublish it and the root shows the notice, even if other manuals of that brand are published on their own paths. A non-primary manual read at /its-slug serves the same notice once it is a draft. See Addresses and Custom domains.

Who may publish

Publishing and unpublishing are one permission, Publish and unpublish. Somebody without it does not see the button at all.

Built-in roleMay publish and unpublish
OwnerYes
AdminYes
EditorYes
ViewerNo

A role you build yourself may publish if you give it that permission. See Roles and Custom roles.

Plans

Every plan publishes, on a free address, with the full manual and the API. The plan limits how many manuals you can have: 1 per brand on Free, 10 on Pro and 100 on Business, across 1, 5 and 25 brands. Password protection, an end date, your own domain and white labeling are paid. See Plans and limits.

A downgrade never takes a page down

What is over the limit is frozen, which means read only: the page keeps serving the whole manual and still exports, and an upgrade lifts the freeze at once. A frozen manual can be neither published nor unpublished. See What a downgrade freezes.

Things that surprise people

An empty published manual
Publishing with every section hidden gives visitors a page with the brand frame and no content. Check Device preview first.
Preview is not the draft
Preview opens the public address, which on a draft is the notice. Device preview shows what you are working on.
Deleting is not unpublishing
Unpublishing keeps everything and is reversible in one press. Deleting a manual removes it permanently, along with its sections and its history.
An end date is not an unpublish
A manual with an end date stays published. After that day its page says the manual is no longer available, and the API answers 410. An end date is part of the paid plans.
Publishing twice
Publishing a manual that is already published does nothing and writes no second version.

Still stuck? Write to hello@stylehub.cloud and say which page you were on.

Publishing and unpublishing - Stylehub