Re: Documentation website reading widths

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Noob Trall <noob(dot)trall(at)mail(dot)ru>
Cc: pgsql-www <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: Re: Documentation website reading widths
Date: 2025-03-04 08:32:10
Message-ID: 4E661AA5-F25F-4BC8-BE91-4D784521DD63@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

> On 3 Mar 2025, at 11:16, Noob Trall <noob(dot)trall(at)mail(dot)ru> wrote:
>
> I think there is a conclusion to add an option to switch between current width and about col-6-xl. We can add a select box somewhere in navbar or before every article, which would save the selected option to localStorage and change the reading width with a script before loading the page. I’m a newbie, can someone please direct me how to submit a PR or help in any way to progress this issue?

I'm not sure there is a conclusion for this feature just yet, but seeing code
will for sure help the process along so please do submit a patch.

The PostgreSQL project don't work with PR's, a simple patch attached to this
thread does the trick. The website code can be found on the PostgreSQL Git
server at:

https://git.postgresql.org/gitweb/?p=pgweb.git;a=summary

Running it locally can be a chore to set up, but maybe you won't need that for
this change as it's mostly testable in the browser inspector? When you have a
change, create a patch with "git format-patch" and attach it to this thread.

--
Daniel Gustafsson

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Noob Trall 2025-03-04 11:27:46 Re: Documentation website reading widths
Previous Message Vladlen Popolitov 2025-03-04 08:15:51 Re: Broken layout: CommitFest Add Review Form (still)