-
Notifications
You must be signed in to change notification settings - Fork 212
Revert "The rest of Tera" #885
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
Conversation
This reverts commit 5c3e6ed.
This reverts commit f9ef930.
This reverts commit da71d1b.
This reverts commit 061d128.
This reverts commit 68f2c52.
This reverts commit e8d3768.
This reverts commit 70fdf9b.
This reverts commit 297663c.
This reverts commit 5503c36.
This reverts commit 54630e6.
This reverts commit d5fd9ca.
This reverts commit 9dc0866.
This reverts commit ffceb4e.
…shell cmds" This reverts commit 3658155.
This reverts commit 43a358f.
This reverts commit c458bb9.
This reverts commit 55b85cf.
This reverts commit 1a58978.
This reverts commit d1bc23b.
This reverts commit 0fc0f21.
This reverts commit 754b91d.
This reverts commit d20e4cc.
This reverts commit d5a1127.
This reverts commit 46254eb.
500 internal errors on some pages, including https://docs.rs/strum/0.13.0/strum/:
Same error for crate_details:
|
All builds were shown as failed, even if the documentation was available. This is fixed by the following diff: diff --git a/templates/crate/details.html b/templates/crate/details.html
index 1eeabf3..c1b6a3f 100644
--- a/templates/crate/details.html
+++ b/templates/crate/details.html
@@ -113,7 +113,7 @@
</a>
{# If the release wasn't yanked and built correctly, display it normally #}
- {%- elif release.build_status -%}
+ {%- elif not release.build_status -%}
<a href="/crate/{{ details.name }}/{{ release.version }}" class="pure-menu-link">
{{ release.version }}
</a>
diff --git a/templates/rustdoc/navigation.html b/templates/rustdoc/navigation.html
index 96275c0..7664f52 100644
--- a/templates/rustdoc/navigation.html
+++ b/templates/rustdoc/navigation.html
@@ -161,7 +161,7 @@
</a>
{# If the release failed to build, display a warning #}
- {%- elif release.build_status -%}
+ {%- elif not release.build_status -%}
<a href="{{ release_url }}" class="pure-menu-link warn" title="docs.rs failed to build {{ release_name }}">
<i class="fa fa-fw fa-warning"></i> {{ release.version }}
</a> |
For https://docs.rs/actix-web-static-files/2.0.1/actix_web_static_files/index.html the non-rust codeblocks were having highlight.js styles applied, which clash badly with rustdoc dark styles. It looks like rustdoc applies the highlight.js language class, but doesn't actually load highlight.js to render it, but the new tera templates include highlight.js. I didn't get a screenshot, but should be easy to reproduce locally by building |
Reverts #879
This caused many regressions. I will make a list of all we know of in the comments below.
cc @Kixiron