Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Create 087-deprecating-the-old-docs-site.md #387

Closed
wants to merge 18 commits into from
Closed
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
1fe8b68
Create 087-deprecating-the-old-docs-site.md
johnnymatthews Mar 30, 2020
a2812a5
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Mar 30, 2020
f945728
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Mar 30, 2020
01b08d0
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Mar 30, 2020
42c9b66
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Mar 30, 2020
a0cea9c
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Mar 30, 2020
b2af309
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Mar 30, 2020
06b9a05
Remove Netlify comments.
johnnymatthews Mar 30, 2020
286e6cb
Formatting and grammar tweaks
jennwrites Mar 30, 2020
c442f1d
Fix typos. Add new docs link to intro paragraph.
johnnymatthews Mar 31, 2020
10dbcb2
Not posting on April Fools Day.
johnnymatthews Mar 31, 2020
bede585
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Mar 31, 2020
50a25cd
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Apr 1, 2020
5947691
Specify nobody ends up on a 404.
johnnymatthews Apr 1, 2020
644a2f5
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Apr 1, 2020
9f6d353
Update content/post/087-deprecating-the-old-docs-site.md
johnnymatthews Apr 1, 2020
26da3f5
Merge branch 'master' of https://github.com/johnnymatthews/blog-1
johnnymatthews Apr 1, 2020
5464835
Link to GitHub, not HackMD.
johnnymatthews Apr 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions content/post/087-deprecating-the-old-docs-site.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
date: 2020-04-01
johnnymatthews marked this conversation as resolved.
Show resolved Hide resolved
url: 2020-04-01-deprecating-the-old-docs-site
title: Deprecating the old docs site
author: Johnny Matthews
---

# Goodbye, IPFS legacy docs

The IPFS team is deprecating the old documentation website. That’s just a fancy way of saying we’re replacing the current docs.ipfs.io website with the new [docs-beta.ipfs.io website](https://docs-beta.ipfs.io).

## We built a new docs site

Work on a new documentation site for IPFS started in Q3 of 2019. Before that, the docs site was built upon Hugo. While Hugo is an excellent static-site generator, it lacks an encapsulated component model, relies upon old web development conventions, and requires DOM manipulation if you want to have any kind of site interactivity.
johnnymatthews marked this conversation as resolved.
Show resolved Hide resolved

So with all that in mind, the IPFS docs and UX working group built a new site to host the documentation. The site build was finished towards the end of 2019, and a beta version was made available to the public. Call-outs were placed on the current IPFS docs site to encourage readers to test the new website. You can see a preview of the site at [docs-beta.ipfs.io](https://docs-beta.ipfs.io).
johnnymatthews marked this conversation as resolved.
Show resolved Hide resolved

## The deprecation plan

We’ve built the site, put it online, and it’s been well received. Next comes the tricky part: removing the old website and putting this one in its place.

Back in the early days of the internet, deprecating a site was as simple as putting up a notice saying things were going to be down for an hour or so, deleting everything in `/var/www/html`, and replacing it with the new website. Sadly, the good-old-days are gone, and we now live in a world full of checks, balances, and redirects. With that in mind, here is our plan to deprecate the old site and replace it with the new one.

### Inform the world

The first step is to let everyone know what we’re going to be doing. This post serves as part of the notification process, along with call-outs on the legacy site, and in the `ipfs/docs` GitHub repository.

### Plan for redirects

There have been several changes to the structure and naming conventions in the docs repo. Significant URL redirects must be put in place from legacy links to where the content now lives. The idea here is to minimize the amount of 404 errors encountered by the reader.
johnnymatthews marked this conversation as resolved.
Show resolved Hide resolved

### Update external services

Tools like Google Analytics and Bing Webmaster all need to be informed of the changes. While they may not be major players in the decentralized web of tomorrow, for today at least, centralized search engines are still tools that help us reach as many users as possible and spread the word about IPFS and the dweb.
johnnymatthews marked this conversation as resolved.
Show resolved Hide resolved

### Combine all the repos

The IPFS docs have been stuck in limbo for a few months, with GitHub issues living in `ipfs/docs`, but the actual documentation and website content living in `ipfs/ipfs-docs-v2`. This has caused some confusion with posting and commenting upon issues in one repo while reflecting those changes in another.

Part of our deprecation plan is to merge the *code* in `ipfs/ipfs-docs-v2` into `ipfs/docs`. All the legacy docs site content in `ipfs/docs` will be overwritten, but the issues will remain intact. Open issues will have their links checked to make sure they are referencing the correct and updated pages.
johnnymatthews marked this conversation as resolved.
Show resolved Hide resolved

### Follow-up

This final task will take place around 6-12 weeks after the site deprecation. There are four things the docs team will need to focus on at this stage:

1. Remove the _this URL has changed_ notices in any existing pages.
2. Re-crawl the site to make sure all the links and references are still working and up to date.
3. Check the top 404 referrers, and create a fix for them where possible.
4. Search all content in the IPFS and Protocol Labs GitHub orgs for references to old site pages, and fix those (so we don’t 404 ourselves!).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused about which docs you are referencing here (links to the docs-v2? links to ipfs.docs?) and also why we expect to be hitting so many 404s in our existing docs/orgs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-crawl the site to make sure all the links and references are still working and up to date.

The new docs site. There's a plan to automate this step however, so this point isn't necessary.

Check the top 404 referrers, and create a fix for them where possible.

If there are links coming in from external sites (other GitHub repos, tutorials, forum posts, etc) that are wrong, we can either redirect them to the homepage of docs, or redirect them to the most relevant page. Obviously the plan is to have no internal broken links.


## And that’s it

After these steps are complete, the docs site will be fully ready to help readers explore the wonderful world of the decentralized web! These deprecation steps are set to begin in April and should be finished by June 2020. You can take a look at [the full plan over at hackmd.io](https://hackmd.io/@jessicaschilling/S1__jQ2TH).
johnnymatthews marked this conversation as resolved.
Show resolved Hide resolved