DocsPress 3.0 keeps your docs, their order and their addresses. What changes is the screen where you manage docs and the way the help center is built. This guide lists what to check after the update.
Before you update
- Update WordPress to 6.9 or later. On an older WordPress, DocsPress does not update to 3.0 and shows a message that names the version it needs.
- Back up your site, as before any major update.
- If your theme has a
docspressfolder with template files, read Themes with their own DocsPress templates below first.
What stays the same
- Every product, collection and article, in the same order.
- Article addresses. Links from search engines and other sites keep working.
- Heading links. An address that ends with
#a-headingstill opens that heading. - Your settings.
- The Yes and No vote counts on each article. You can still change them in DocsPress Options > Helpfulness in the editor.
- Comments on articles.
- Export as HTML.
What changes
The docs manager
Docs > All docs is a new screen. Products and collections are on the left, and the articles of the selected product are on the right, grouped by collection. You drag rows to reorder them, and every move can be undone. See Reorder, move and remove docs.
Products, collections and articles
The top level of your 2.x docs becomes products, and the level under it becomes collections. The sidebar shows two levels only. If you nested articles deeper than that, the deeper articles are listed under their collection, and their addresses stay the same.
The help center
The help center is now built from blocks and takes your theme’s fonts and colors. In a block theme you set the sidebar, the table of contents and the text width in the Site Editor. See Help center templates and block settings.
Feedback
Notes that readers write after a vote are now saved in Docs > Feedback, not only sent by email. Emails stay on, as in 2.x. See Collect and answer reader feedback.
Search
Search opens in a dialog with ⌘K or Ctrl+K and shows results from the current product first. See How search works.
Themes with their own DocsPress templates
In 2.x a theme could change the docs layout with its own copies of DocsPress template files, in a docspress folder inside the theme. DocsPress 3.0 still uses those files, and your docs keep the 2.x layout.
These template files are deprecated. When WP_DEBUG is on, WordPress shows a deprecation notice for them. The next major version of DocsPress removes support for them.
To move to the new help center, remove the docspress folder from your theme, or ask your theme’s author for an update. Then set the layout in the Site Editor.
Settings that no longer apply
Display Child Links, Display Number of Childs, Display Articles and Number of Articles work only with a theme’s own 2.x template files. The new help center always shows every article of a collection.
Leave a Reply