Skip to content

Commit 8b17217

Browse files
pietroalbinijyn514
authored andcommitted
use the latest rustdoc css for the whole site
This commit removes the vendored CSS of Rustdoc 1.10.0-nightly, changing the site to always use the lastest Rustdoc's one. To do that, the Docker entrypoint is changed to add the essential files the first time the container is started, and the frontend now queries the database to see the version of the files to include. The version is cached by the first page loaded by users, and doesn't change unless the application is restarted. This is fine, since the application is restarted often enough and using a CSS older by a few nightlies is not so big of a deal. The cache also prevents response time regressions.
1 parent f94e20b commit 8b17217

15 files changed

+64
-849
lines changed

css/FiraSans-Medium.woff

-182 KB
Binary file not shown.

css/FiraSans-Regular.woff

-179 KB
Binary file not shown.

css/SourceCodePro-Regular.woff

-54.2 KB
Binary file not shown.

css/SourceCodePro-Semibold.woff

-54.1 KB
Binary file not shown.

css/SourceSerifPro-Bold.woff

-47.6 KB
Binary file not shown.

css/SourceSerifPro-It.ttf.woff

-35.4 KB
Binary file not shown.

css/SourceSerifPro-Regular.ttf.woff

-86.5 KB
Binary file not shown.

css/SourceSerifPro-Regular.woff

-48.8 KB
Binary file not shown.

css/main-20160526-1.10.0-nightly-97e3a2401.css

Lines changed: 0 additions & 128 deletions
This file was deleted.

0 commit comments

Comments
 (0)