Table of Contents
Testing Customizations with .dev
Customize the look and feel of your docs without breaking anything in production with .dev.
Knowledge Bases look best when they're customized to fit your brand and style. Luckily HelpDocs has a ton of customization options to change the look and feel of your docs 🦄✨
While big changes to the look and feel of your docs are super fun they can also be kinda stressful. Especially if your docs are already live to customers. Breaking things in production's never fun 😭
.dev
gives you a way to preview changes to some of your Knowledge Base settings (especially custom code) without making those changes live to users right away.
You can create custom HTML templates or test out CSS and JavaScript without impacting your users. Then when it's perfect you can ship your changes all at once 🎉
.dev
feature on your HelpDocs planMaking non-live changes with .dev
There's two places in Settings you can make changes to your code without affecting your live Knowledge Base:
- Brand
- Code
In areas where you're able to use .dev
you'll see an Enable .dev button in the navigation.
If a setting is part of .dev
we'll highlight that with a little badge or a callout with a descriptive message. Any changes you make to settings without a badge or callout will affect the live version of your docs.
- Head to
- Settings > Brand for Brand changes
- Settings > Code for Code changes
- Click .dev Disabled in the top right navigation
- Click Enable .dev to enable it in the app
- Make any changes you want to areas that're marked as part of
.dev
Right now the Settings that're part of.dev
are Primary Color & Template in Settings > Brand and CSS, Javascript, and HTML in Settings > Code
Promoting .dev changes to the live version
Fixed that pesky CSS issue? ✅ Got your template looking just so? ✅ You're ready to go live!
Once you're happy with the changes you've made using .dev
you'll need to promote the changes to your live Knowledge Base. Only then will they be visible to your users.
Don't worry there's no need to copy/paste things here. You can promote all your changes at once with a couple clicks.
- Click .dev Enabled ✨
- Select Promote .dev changes to live version
- Read the warning. I know your changes are awesome. I know you probably hate warnings. But it's useful I promise 👀Promoting your changes from
.dev
to your live Knowledge Base will overwrite all live settings that're part of.dev
with the staging versions you've been working on. This includes any fields of.dev
'able settings that you've left empty. Be sure you really wanna do this before you move forward. - Hit Save Changes
Restoring .dev from live version
You can populate .dev
with all your live Knowledge Base settings in a couple clicks. This is especially useful when you're just getting started with .dev
or if you've made any terrible errors with your customizations (happens to the best of us 😩). Here's how 👇
- Click .dev Enabled ✨
- Choose Restore .dev from live version
- Read this warning too. I know you probably learned from the warning before. And you're excited to make your changes. I know warnings still kinda suck. But it's there for your protection 👷This will permanently overwrite your
.dev
changes with settings from your live Knowledge Base. Once you hit Save we can't recover your old.dev
changes. - Hit Save Changes
Previewing changes on your .dev subdomain
The whole point of .dev
is so you can see your changes without pushing them live. But how do you see them? With our handy Preview .dev changes button of course!
- Click the dropdown arrow next to the Disable .dev button
- Hit Preview .dev changes
- You'll be taken to
<yourdomain>.helpdocs.dev
where you'll see all your articles and categories as normal plus all the settings changes you've made with.dev
🎉
.dev subdomain visibility
Using .dev
will not affect your SEO or confuse users with multiple copies of content on the internet. It's a preview area that's only accessible by certain members of your team that have access to HelpDocs Settings.
Specifically only members of your HelpDocs team that're Administrators and above can view changes made with .dev
. And it can only be accessed through Settings.
What did you think of this doc?
Hosting HelpDocs at a Subfolder of Your Site
Adding Custom JavaScript