Bug#877337: www.debian.org: Switch back to single page version of Policy Manual

Sean Whitton <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <87h8vfbmvb.fsf__45441.2329978824$1507088720$gmane$org@iris.silentflame.com>
Hello Paul,

On Tue, Oct 03 2017, Paul Wise wrote:

> I propose to do it by placing both versions of the document into the
> same directory and then setting the DocumentIndex Apache configuration
> option to prefer the single page document over the multi-page one.

You mean

- installing the policy.html/ dir as https://www.debian.org/doc/debian-policy/;
- copying policy-1.html into that dir; and
- telling Apache to serve policy-1.html as the directory index?

I'm a little worried people could be very confused (why is
debian-policy/index.html different from debian-policy/?!  is there some
cache refresh needed somewhere?) but I don't object.

> The only problem with this is #877573 but that also affects offline
> readers of Debian Policy anyway so it needs to be fixed anyway.

I'm about to upload a fix for that, though, following your advice, the
<link> tags will point to policy.html/, so they would break again if
policy-1.html were copied within that directory.  Given #

-- 
Sean Whitton
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlnUWHgACgkQaVt65L8G
YkB1qA//by7NVZ9NAcCveNkRJkZ+3N2B5vRgLfJlbVHWK8UuFLgZJEv/tXbCXeM6
NNMGPx7kOttb/X7PGqxfjDLT6mUrEKjMVypJpk6TG3q6WeoMgwBynuiSrRw5BwH4
r6bXFr50rjqb/x5u1i0kVKoaZyZV53UupPfj5bDAivCglVNzGFKm8moRmURDbGMd
Q26Ant543gH9TXxkWGussGwOJ5BiS+4JW0aD4JU67hdzb336+O2Omj22kG+hj5B5
I2U4BThl4afZdY5AT4H0XFX7q9oLnIVAiZanUFndBwsQsQmb+tw+Fjk2KayQHHx0
5nWpIYltf6jD/YvEIF3KgoYybFJm3zeyb+tGRkr3tu6qNq6Yk2EaAbx12JnMOOAD
OJerqItS6xiBTDouUjVOgkr3LYW6hEUw3YmYATykfhpXaIUZGKPMAoM2ml8EHIJb
JM+GLAgldp2bW4gTCUu1G3fug6ACSQIBprUtM2P3pE/IrKK02hbBxXLvBw5yQIqt
/sUHO3jXJdTCKm3ezXaE0z6vDIEHRH3ZUtHPah8zNktqhtjIjjz3qtkZPQw6UTZ+
00MXqXPAOvTYmxYr8XKBIAmxx+ZTeBsUJQ6NWDivldrLtmr5smQ4MGtZDubQscXh
kN/YGMaNGeoE2yJd/DokbNEISIVmJ3w8kGWzDDL4A7olSW2BWUI=
=4HOX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.