-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn or Fail build if there is no index.html
generated
#1800
Comments
I think this is already implemented since when there is no @ericholscher If that's the issue, can we close this one? |
Believe this should still be the case. People can still have no |
Related issue #2483 For the record:
|
This is also very easy to hit with mkdocs. |
I don't think we have a way to indicate a |
Also, now sphinx-quickstart suggest an index file by default, which can help to have fewer users without an index file. |
Checking for |
Yea -- we should be able to figure this out via ImportedFile objects, and wouldn't be a hard feature to build I think 👍 |
FYI, I was just bitten by this in executablebooks/sphinx-external-toc#1 (comment) |
We did some work to start logging what are the projects where we are creating the I'm assigning this issue to myself so I work on this in the next weeks. |
We have some logs already at https://onenr.io/0LwGgpA0Yw6. It seems we have around ~114 projects (.org and .com combined) |
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.
We sent the email today 📧 🚀 |
We announced we deprecated this in readthedocs/blog#230 and we already contacted the users to warn about this. This PR has to be merged after July 25th, 2023 and it has to be deployed on August 1st. Closes #1800
* 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
) * Build: fail builds if there is no `index.html` in the output dir We announced we deprecated this in readthedocs/blog#230 and we already contacted the users to warn about this. This PR has to be merged after July 25th, 2023 and it has to be deployed on August 1st. Closes #1800 * Test: create an "index.html" to run build successfully --------- Co-authored-by: Eric Holscher <[email protected]>
Docs look broken when there isn't an index file to serve. We should probably be validating that an
index.html
or aREADME.html
exists, which we will serve at the root of their docs.The text was updated successfully, but these errors were encountered: