Skip to content

Commit a05e582

Browse files
authored
Post: "Builds with no index.html file" (#230)
* Post: "Builds with no `index.html` file" Minimal changelog post announcing readthedocs/readthedocs.org#1800 Currently, we are logging this projects, but on August 1st we will be failing builds that do not generate an `index.html` on the output's directory. * References :( * Update with the content from the reviewed email * Change date
1 parent ca8f604 commit a05e582

4 files changed

+27
-3
lines changed

build-errors-docutils-0-18.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ If you still experience problems, feel free to
112112
`open an issue <https://github.com/readthedocs/readthedocs.org/issues/>`_.
113113

114114
.. seealso::
115-
:doc:`readthedocs:guides/setup/configuration-file`
115+
:doc:`readthedocs:config-file/index`
116116
An introduction to our configuration file and some basic usage examples
117117

118118
:ref:`.readthedocs.yaml python.install options <readthedocs:config-file/v2:python.install>`

builds-without-index.rst

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.. post:: July 25, 2023
2+
:tags: builders
3+
:author: Manuel
4+
:location: BCN
5+
:category: Changelog
6+
7+
Builds with no ``index.html`` at its output's directory are deprecated
8+
======================================================================
9+
10+
Historically, Read the Docs has created an auto-generated ``index.html`` file with minimal instructions about how to setup the project correctly when your build didn’t output this file.
11+
This auto-generated file has confused more users than it has helped because the behavior on Read the Docs was different from the behavior on their local environment.
12+
13+
To better onboard users, we have deprecated the auto-creation of ``index.html`` files on Read the Docs projects.
14+
We will now check for an ``index.html`` file at the end of the build,
15+
and fail it with a clear message of the problem if there is no ``index.html`` file in the top level of your output directory.
16+
17+
Builds from projects that are not generating an ``index.html`` file **will start to fail on August 1st**.
18+
Make sure your project is properly configured and it’s creating an ``index.html`` file before that date to avoid unexpected behaviors.
19+
20+
We recommend you following our :doc:`tutorial <readthedocs:tutorial/index>` to set up your project correctly.
21+
22+
Please, `contact us`_ and let us know any inconvenient you may have with this change.
23+
24+
.. _contact us: mailto:[email protected]

migrate-configuration-v2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ you should be able to define a working configuration file and avoid breaking cha
122122

123123
.. seealso::
124124

125-
:doc:`readthedocs:guides/setup/configuration-file`
125+
:doc:`readthedocs:config-file/index`
126126
More usage examples and guidance can be found in our how-to for adding a ``.readthedocs.yaml`` configuration file.
127127

128128

newsletter-july-2023.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ News and updates
2626
including the latest stable versions of Python, PyPy, Node.js, Rust and Go.
2727
See the documentation of the `build.tools <https://docs.readthedocs.io/page/config-file/v2.html#build-tools>`__ for more info.
2828
- 📚️ A new documentation how-to for ``.readthedocs.yaml`` was started at `Write the Docs <https://www.writethedocs.org/>`__ and finished recently.
29-
Read it here: :doc:`readthedocs:guides/setup/configuration-file`.
29+
Read it here: :doc:`readthedocs:config-file/index`.
3030
- ⏩️ HTTP speedups: Several HTTP endpoints and CloudFlare configurations have been tweaked and are performing better.
3131
- 🐛️ Bug fix: We are now 100% relying on search indexing by parsing HTML, instead of special Sphinx-only logic. This makes search a lot simpler and more consistent for our users.
3232

0 commit comments

Comments
 (0)