Skip to content

Commit a34e736

Browse files
committed
Post: redirecting / to README.html deprecation
Related readthedocs/readthedocs.org#9993
1 parent b06d3e6 commit a34e736

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
412 KB
Loading
+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
title: Stop redirecting root documentation URL to "README.html"
2+
date: 2024-05-27
3+
category: Changelog
4+
tags: hosting, deprecation
5+
authors: Manuel Kaufmann
6+
status: published
7+
image: /images/readme-html-deprecated.jpg
8+
image_credit: Photo by <a href="https://unsplash.com/@introspectivedsgn?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Erik Mclean</a> on <a href="https://unsplash.com/photos/black-asus-laptop-computer-showing-3-00-sxiSod0tyYQ?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Unsplash</a>
9+
10+
We are announcing the **deprecation of redirecting root URLs (`/`) to `/README.html`**
11+
for all the projects that don't output an `index.html` file when building the documentation.
12+
The deprecation date is set on **Monday, July 1st, 2024**.
13+
After this date, projects not outputting an `index.html` file will [fail their builds](https://blog.readthedocs.com/builds-without-index/).
14+
15+
### Deprecation timeline
16+
17+
We understand this change will affect a few hundred of projects, so we have a timeline to communicate this deprecation to our users effectively.
18+
19+
* **Monday, May 27, 2024**: Email project owners using this deprecated feature so they can take action.
20+
* **Monday, June 10, 2024**: Do the first brownout (temporarily enforce this deprecation) for 12 hours: 00:01 PST to 11:59 PST (noon)
21+
* **Monday, June 17, 2024**: Do a second brownout (temporarily enforce this deprecation) for 24 hours: 00:01 PST to 23:59 PST (midnight)
22+
* **Monday, June 24, 2024**: Do a third and final brownout (temporarily enforce this deprecation) for 48 hours: 00:01 PST to 23:59 PST (midnight)
23+
* **Monday, July 1, 2024**: Fully remove support for building documentation without configuration file v2.
24+
25+
### How to update your project
26+
27+
There are different approaches that can be followed depending on the configuration of your project.
28+
29+
1. Migrate your Sphinx documentation to use `master_doc = "index"` instead of `master_doc = "README"`.
30+
This can be done by re-structuring your documentation or by creating a symlink from of `index.rst -> README.rst`.
31+
2. Rename the `README.html` as `index.html` once the build has finished using [`build.jobs.post_build`](https://docs.readthedocs.io/en/stable/config-file/v2.html#build-jobs)
32+
33+
[Contact us](https://readthedocs.org/support/) if you have any questions,
34+
and let us know any inconvenient you may have with this change.

0 commit comments

Comments
 (0)