Thread: Re: Documentation website reading widths

Re: Documentation website reading widths

From
Noob Trall
Date:
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?
--
Noob Trall

Re: Documentation website reading widths

From
Daniel Gustafsson
Date:
> On 3 Mar 2025, at 11:16, Noob Trall <noob.trall@mail.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
selectbox somewhere in navbar or before every article, which would save the selected option to localStorage and change
thereading width with a script before loading the page. I’m a newbie, can someone please direct me how to submit a PR
orhelp 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