Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mk11a-0003qX-Fg for pgsql-www@arkaria.postgresql.org; Mon, 08 Nov 2021 09:33:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mk11Z-0001Ir-F2 for pgsql-www@arkaria.postgresql.org; Mon, 08 Nov 2021 09:33:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mk11Z-0001IH-3q for pgsql-www@lists.postgresql.org; Mon, 08 Nov 2021 09:33:09 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mk11X-0005n0-0E for pgsql-www@lists.postgresql.org; Mon, 08 Nov 2021 09:33:08 +0000 Received: by mail-lj1-x229.google.com with SMTP id 13so10339616ljj.11 for ; Mon, 08 Nov 2021 01:33:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander-net.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WwxYh+LUW+za4bA/O9DgRdlANa2/i010jGq+9hoxmmg=; b=rzpH0OEv+YeWXL2zEa2ag+k/gLBAMwZ5dXZ7UKuO4CQ3DoTgVkii0ZfSIc6uwQ7Vwz SDENlW/KQM+uCnDHGRRsuEQv1KopRVHLCtczWVOJHgdOUwVAcBHWV6kjb0eoNJVgNEKU UzuPmfRqX/Ji9ZO21SfoGteGWI40fxtWn4xoNnq3hH/3fqhHJ656gswuFiwndjiGS7QZ JJAdsnxDkKVBVLV6GjqzPsJ9LZYrdRx5wCdpT4b2mPutjydaQ7oNAvww81rqQDz/vYcD SUUYNEUxCTBXxfnCQzKdRJL1PU8g2T1fcs2w4UDFbdT2+LtEN41hwRRrWa+MmkDOf5+s 7lWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WwxYh+LUW+za4bA/O9DgRdlANa2/i010jGq+9hoxmmg=; b=k766UYxUTrB/Vig0ZyTy1UVPQEZtsYtQJd4XO+9ME84IAIFvRSWF9NEhF2hoPVad61 B1ASKV1Fjlq9sc6fSlV98E0vG7prJgbhrMPWExGknBm59NyVyKrdTMYLJGNEOeldrTnQ 7B81kOqNULipNGsEV3p8l8d8J8m5k78vmjwcvTr1GkFIbiPZ2BeTdzWE7u6ImKqzzLPi sVAzcR9HGG0v4X7G43VhGGGZuaDwlVxOTWruLnUouWa0nWvic/jpO1lfcfhDJzqn8lI7 1r/vwB5TRRKwCHN1/HpWdsHFolLKOEPCokMcnMaKQPcm3ubaV2qyfdDLZefLh5rxu7lh PcRg== X-Gm-Message-State: AOAM532FMw9Z1VCy4AYJ59Kfv4HanoZw2Bsv3v0FiqXi28NPll68v6G5 e7ccafjsM7ycDLcAnnW1ACsH8GyL84RYDddAANINr8YlnBc= X-Google-Smtp-Source: ABdhPJwjGRdK1JT8cX6pyRL3teSgTGKR57xMoSaglPNDiXviu4us0FVzQXN5tF5QSKH+05RGXvMsoy6GP+Rk4U5A+cg= X-Received: by 2002:a05:651c:1032:: with SMTP id w18mr51088285ljm.329.1636363985573; Mon, 08 Nov 2021 01:33:05 -0800 (PST) MIME-Version: 1.0 References: <20211107171356.blv3eam3kacvf7mn@nixos> In-Reply-To: <20211107171356.blv3eam3kacvf7mn@nixos> From: Magnus Hagander Date: Mon, 8 Nov 2021 10:32:54 +0100 Message-ID: Subject: Re: [PATCH] Fix inaccuracies in documentation To: Nils Cc: pgsql-www@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000001566b305d043ae1d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001566b305d043ae1d Content-Type: text/plain; charset="UTF-8" Hi! Can I ask you to re-send this as an attachment, so the MUAs don't eat the formatting? Thanks! //Magnus On Sun, Nov 7, 2021 at 6:14 PM Nils wrote: > --- > docs/batch.rst | 10 +++++----- > docs/dev_install.rst | 9 ++++----- > 2 files changed, 9 insertions(+), 10 deletions(-) > > diff --git a/docs/batch.rst b/docs/batch.rst > index 990f518d..c309d1fe 100644 > --- a/docs/batch.rst > +++ b/docs/batch.rst > @@ -12,11 +12,11 @@ All batch jobs are located in the directory tools/. > > docs/docload.py > --------------- > -This script will load a new set of documentation. Simply specify the > -version to load and point out the tarball to load from. The script > -will automatically decompress the tarball as necessary, and also > -perform HTML tidying of the documentation (since the HTML generated by > -the PostgreSQL build system isn't particularly standards-conforming or > +This script will load a new set of documentation. Simply specify the > version to > +load and the path to the tarball of the PostgreSQL source code to load > from. > +The script will automatically decompress the tarball as necessary, and > also > +perform HTML tidying of the documentation (since the HTML generated by the > +PostgreSQL build system isn't particularly standards-conforming or > nice-looking). > > ftp/spider_ftp.py > diff --git a/docs/dev_install.rst b/docs/dev_install.rst > index b110efbb..9647e991 100644 > --- a/docs/dev_install.rst > +++ b/docs/dev_install.rst > @@ -34,9 +34,8 @@ with. Here's a quick step-by-step on how to do that: > There are some parts of the site that require further settings, but > this should be enough to get the basics up and running. > > -#. In the pgweb directory run the following command to create all > - tables and indexes, as well as create a superuser for your local > - installation:: > +#. Run the following command to create all tables and indexes, as well as > + create a superuser for your local installation:: > > ./manage.py migrate > > @@ -51,11 +50,11 @@ with. Here's a quick step-by-step on how to do that: > psql -d pgweb -f sql/varnish_local.sql > > #. To load some initial data for some tables (far from all at this > - point), in the pgweb directory, run the following command:: > + point), run the following command:: > > pgweb/load_initial_data.sh > > -#. You'll want to creaet a superuser so you can access the `/admin/` > +#. You'll want to create a superuser so you can access the `/admin/` > interface:: > > ./manage.py createsuperuser > -- > 2.31.1 > > > > --0000000000001566b305d043ae1d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

Can I ask you to re-send= this as an attachment, so the MUAs don't eat the formatting?

Thanks!

//Magnus


On Sun, Nov 7,= 2021 at 6:14 PM Nils <nils@nilsand.r= e> wrote:
---
=C2=A0docs/batch.rst=C2=A0 =C2=A0 =C2=A0 =C2=A0| 10 +++++-----
=C2=A0docs/dev_install.rst |=C2=A0 9 ++++-----
=C2=A02 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/docs/batch.rst b/docs/batch.rst
index 990f518d..c309d1fe 100644
--- a/docs/batch.rst
+++ b/docs/batch.rst
@@ -12,11 +12,11 @@ All batch jobs are located in the directory tools/.

=C2=A0docs/docload.py
=C2=A0---------------
-This script will load a new set of documentation. Simply specify the
-version to load and point out the tarball to load from. The script
-will automatically decompress the tarball as necessary, and also
-perform HTML tidying of the documentation (since the HTML generated by
-the PostgreSQL build system isn't particularly standards-conforming or=
+This script will load a new set of documentation. Simply specify the versi= on to
+load and the path to the tarball of the PostgreSQL source code to load fro= m.
+The script will automatically decompress the tarball as necessary, and als= o
+perform HTML tidying of the documentation (since the HTML generated by the=
+PostgreSQL build system isn't particularly standards-conforming or
=C2=A0nice-looking).

=C2=A0ftp/spider_ftp.py
diff --git a/docs/dev_install.rst b/docs/dev_install.rst
index b110efbb..9647e991 100644
--- a/docs/dev_install.rst
+++ b/docs/dev_install.rst
@@ -34,9 +34,8 @@ with. Here's a quick step-by-step on how to do that:<= br> =C2=A0 =C2=A0 There are some parts of the site that require further setting= s, but
=C2=A0 =C2=A0 this should be enough to get the basics up and running.

-#. In the pgweb directory run the following command to create all
-=C2=A0 =C2=A0tables and indexes, as well as create a superuser for your lo= cal
-=C2=A0 =C2=A0installation::
+#. Run the following command to create all tables and indexes, as well as<= br> +=C2=A0 =C2=A0create a superuser for your local installation::

=C2=A0 =C2=A0 =C2=A0 =C2=A0 ./manage.py migrate

@@ -51,11 +50,11 @@ with. Here's a quick step-by-step on how to do that= :
=C2=A0 =C2=A0 =C2=A0 =C2=A0 psql -d pgweb -f sql/varnish_local.sql

=C2=A0#. To load some initial data for some tables (far from all at this -=C2=A0 =C2=A0point), in the pgweb directory, run the following command:: +=C2=A0 =C2=A0point), run the following command::

=C2=A0 =C2=A0 =C2=A0 =C2=A0 pgweb/load_initial_data.sh

-#. You'll want to creaet a superuser so you can access the `/admin/` +#. You'll want to create a superuser so you can access the `/admin/` =C2=A0 =C2=A0 interface::

=C2=A0 =C2=A0 =C2=A0 =C2=A0 ./manage.py createsuperuser
--
2.31.1




--0000000000001566b305d043ae1d--