These steps will help you migrate from one doc project to a group of doc projects. The group is unified by global search, a global landing page, and other features.
Note that these steps will NOT apply if you:
- Are a new Enterprise customer with no preexisting ReadMe projects.
- Are upgrading to Enterprise, but choose to keep your projects separate, rather than grouping them.
You might have some questions:
Why would I want multiple doc projects?
For example, so that you can version the docs separately for separate products, or so that you can handle different doc sets from a company acquisition.
Why would I want to migrate doc projects into one unified group?
The biggest advantage, besides getting all your projects under a unified domain, is that you can then enjoy Enterprise perks that are otherwise unavailable, such as:
- Global search across all projects.
- Global landing page with global CSS/JS.
- OAuth 2 login for customers.
- SSO login for employees.
- Project metrics to analyze how customers use your docs.
- Audit logs for tracking changes to your docs.
- Staging to better manage updates to your live docs.
This requires some support from us.
Upgrading to an Enterprise group can be tricky business. We'd are here to help you through this journey. Please talk to your Customer Success Manager (CSM).
There will be several changes to manage in addition to understanding how the URLs will change and you will need to discuss the following high-level steps with your CSM:
- Process for setting up your new enterprise group.
- Timing of migrating your projects to minimize downtime.
- Reserving any new ReadMe subdomains you might want.
Your CSM can work with you to upgrade one of your existing documentation projects to become the group project. If you already have a live project, your CSM can create a new test enterprise group project for you, so you can test the process with a clone of your project, before you go live. This test enterprise group can give you time to build out a global landing page.
- In coordination with your CSM, remove your custom domain from your current ReadMe project.
Please inform your users of some downtime.
Before removing the custom domain from the project, it's good idea to let your users know your docs will undergo maintenance. Your custom domain site will be unavailable to users during the migration.
Your CSM can now set up an enterprise group on your project or move the project to an existing enterprise group and then designate the admin as the owner at the enterprise level.
Add your custom domain to your enterprise group's dash.
When you create an enterprise group for an existing docs project, your URLs change. To minimize disruption to your users:
- Author your redirects for the upcoming change in a text editor - see below. And update any existing redirects. Your CSM can work with on the redirect format and process.
- After you have access to the group project, add the appropriate redirects to your group project's dash.
- If you changed your custom domain, add any 301 redirects to your company's web server. For more information, see the following section, How Will My URLs Change.
Add doc projects to your group project at dash.readme.io/group/
yourGroup/settings, so these projects show up as links under your global landing page.
Move any integrations from the preexisting project to the group project at dash.readme.io/group/
yourGroup/integrations. If you have multiple projects with multiple integrations, you'll have to pick the settings from one of those projects to be the new settings for your integrated projects.
If using Custom OAuth then set this up at the enterprise group level instead of in the project.
Decide whether to use the Global Landing page or redirect past it to your child project or to a self hosted landing page.
Now that you have an enterprise group with projects linked, reevaluate how users will navigate between your doc projects. You can change these settings at dash.readme.io/project/
yourProject/v2.0/usability. Also, consider adding links in the project header as well
Click the Publish checkbox to launch your docs.
Say you're an existing ReadMe customer with a custom domain for one or more projects, and you are upgrading to a group for all your documentation projects. As part of the upgrade, your documentation URLs will change. At a very high level, the change will be as follows:
Before you author redirects, here’s what you need to know about how your URLs will change. Hang in there; this will be quite detailed, but you'll need to understand all of it to make sure you don't break links to your existing docs:
The original ReadMe subdomain you created for your project was hidden when you set up your custom domain, but it will become visible in the slug of the URL once you have a group project. So, before you migrate, decide if you want to change the ReadMe subdomain to something that looks good in a public URL path.
To make this clear with an example, let's say your company, myPets, has one existing cats documentation project at a custom domain:
You are upgrading to an enterprise group project for your existing cats documentation project, and will be adding additional projects for dogs, birds, and other animals. You want your new custom global docs domain to be:
Under the hood, you administer your
docs.mypets.com site at:
If you don't change it before upgrading, your existing project will become available under:
That's not very pretty. So, before upgrading your existing project, you change your existing ReadMe subdomain to:
cats. In other words, you now administer your project at
dash.readme.io/project/cats. You then add another ReadMe project with the subdomain:
Note that changing the ReadMe subdomain will not affect your customers at all; they still see your documentation under your existing custom domain.
After the upgrade, your existing project will become available at
developers.mypets.com/cats, and the new ReadMe project you add will be available at
Subdomains Must Be Unique
Keep in mind that the subdomain you choose must be unique across all of ReadMe's customers. Talk with your CSM about any new subdomains you want, so they can be reserved in advance of your upgrade.
For more information about how URL paths in ReadMe work, see URL paths in Readme.
There are various scenarios for authoring your redirects. In summary, here's what they'd look like for our myPets example company.
What action will you take?
Any other circumstances?
Change custom domain, say
Not configured in the enterprise group dash.
You need to author 301 redirects for any changes you make to custom domains (as opposed to relative paths) in your own company web site server, as opposed to on the redirects page of your enterprise group.
Add existing project to an enterprise group.
Necessary in all circumstances (you must always redirect for subdomains).
In this example, you added a project called cats to an enterprise group. You need a redirect for every doc type in the cats project because the subdomain cats is now visible in the URL.
Add existing project to an enterprise group.
Existing project has page redirects.
In this example, the cats project had an existing page redirect for cat care. You need to add it to the enterprise groups and prefix it with the cats subdomain.
Add existing project to an enterprise.
Existing project has several versions.
In this example, the cats project had several versions, v1, v2, and v3.
Add existing project to an enterprise.
Existing project is localized with Transifex.
Talk with your CSM about how to handle translated URL redirects.
The following sections give more details on the preceding table.
Custom Domain Changes
In the preceding myPets example, your custom domain changes from
developers.myPets. You do the following:
- Author 301 redirects for each of your document types that you will add to your company's web server (not in the project dashboard) to automatically push any traffic from your old custom domain to your new custom domain.
Let's say in the myPets customer example, you decide to keep your original project's custom domain,
docs.mypets.com, rather than change it. In that case, you handle all redirects on your enterprise group's dash. Under the hood, you administer
dash.readme.io/project/cats. When your CSM gives you a group project,
dash.readme.io/group/myPets-parent, your ReadMe subdomain, cats, becomes exposed, and your existing project now is available at
docs.mypets.com/cats/docs instead of
In your group project at
dash.readme.io/group/myPets-parent/errorpages, author redirects for each of your document types with the following patterns (using regex):
/docType/(\S*) -> /childSubdomain/docType/$1 /docType -> /childSubdomain/docType
For example, if you only had docs and API reference enabled on your cats project, you'd author:
/docs/(\S*) -> /cats/docs/$1 /docs -> /cats/docs /reference/(\S*) -> /cats/reference/$1 /reference -> /cats/reference
This will catch:
- Any pages under /docs/, for example, docs.mypets.com/docs/cat-habits.
- Any links to your top-level docs landing page, for example, docs.mypets.com/docs.
In the preceding example redirect, (\S*) and $1 are regular expressions that allow you to avoid authoring a redirect line for every single page in your documentation project when you migrate.
Existing Project Has Page Redirects
Remove any redirects for individual pages that you had in the dash.readme.io/project/cats/errorpages, modify them, and copy them to your new group project. Let's say your CSM sets you up with a group project with the ReadMe subdomain: myPets-parent
You copy your page redirects into: dash.readme.io/group/myPets-parent/errorpages
You prefix the page redirects with the project name. For example, if you had this page redirect in dash.readme.io/project/cats/errorpages:
docs/care-and-feeding-of-cats -> docs/cat-care.
Then, in dash.readme.io/group/myPets-parent/errorpages, you would change this to:
cats/docs/care-and-feeding-of-cats -> cats/docs/cat-care
For more information see Handling Redirects.
Updated 8 months ago