CSS/JS 404 issues with documentation on postgresql.org

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: CSS/JS 404 issues with documentation on postgresql.org
Date: 2023-04-13 18:18:33
Message-ID: CAH2-WzmB7ET5f-MOvn41F7k=K6VsmaGPopAMQAsmzshX5=YgZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Chrome "inspect" gives the following three warnings about the
documentation on the live website (doesn't matter which page I view,
nor which branch of the docs):

1. DevTools failed to load source map: Could not load content for
https://www.postgresql.org/media/js/popper.min.js.map: HTTP error:
status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

2. DevTools failed to load source map: Could not load content for
https://www.postgresql.org/media/css/bootstrap.min.css.map: HTTP
error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

3. DevTools failed to load source map: Could not load content for
https://www.postgresql.org/media/js/bootstrap.min.js.map: HTTP error:
status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

I've also noticed a possibly-related regression in the diagram of the
page layout, from
https://www.postgresql.org/docs/devel/storage-page-layout.html. This
same diagram has been involved in similar website regressions on at
least a couple of other occasions in the past.

I notice that the diagram is abnormally large when viewed on the
website, whereas if I build the docs locally I see a diagram that
seems to have the original intended scale (I think so, at least).

The local build of the docs only has one warning out of the three from
the live website:

Tools failed to load source map: Could not load content for
https://www.postgresql.org/media/css/bootstrap.min.css.map: HTTP
error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

(Matches warning #2 from the live website)

--
Peter Geoghegan

Attachment Content-Type Size
page_diagram_devel_live_website_looks_bad.png image/png 177.2 KB
page_diagram_local_build_looks_good.png image/png 125.1 KB

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Jonathan S. Katz 2023-04-13 18:22:13 Re: CSS/JS 404 issues with documentation on postgresql.org
Previous Message Brar Piening 2023-04-13 13:41:28 [PATCH] Add CSS to support discoverable ids in the public documentation website