The Debian Policy Manual just changed its HTML output and while the HTML
has published, the CSS and included images have not.
Looking at [1], the CSS and included images should have been published because they're still installed to
/usr/share/doc/debian-policy/policy.html/. So I think this is a problem
on your end rather than ours. Please do reassign this bug if I'm wrong
about that, and thanks in advance for your help.
[1] https://anonscm.debian.org/cgit/debwww/cron.git/tree/parts/7doc
Sean Whitton <spwhitton@spwhitton.name> writes:
The Debian Policy Manual just changed its HTML output and while the HTML
has published, the CSS and included images have not.
Looking at [1], the CSS and included images should have been published
because they're still installed to
/usr/share/doc/debian-policy/policy.html/. So I think this is a problem
on your end rather than ours. Please do reassign this bug if I'm wrong
about that, and thanks in advance for your help.
[1] https://anonscm.debian.org/cgit/debwww/cron.git/tree/parts/7doc
Hi debian-www folks,
Just a heads-up that we're fixing some more stuff and Policy 4.1.1.0 will
be a bit different again (it's not yet uploaded). Here's what I currently have staged for the next version:
* usr/share/doc/debian-policy/policy.html/ in the package will have the
multi-file HTML version. This is a directory with a couple of
subdirectories, and all the internal HTML links should be relative.> However, please note that some of the Javascript is symlinks to files
that are shipped in the libjs-sphinxdoc package, so you may need a bit
of machinery to turn those symlinks into real files.
* usr/share/doc/debian-policy/policy-1.html will be the single-file HTML
version. However, the Sphinix single-file version still requires static
assets in usr/share/doc/debian-policy/{_images,_static} that will need
to be in the right position relative to policy-1.html. These have the
same symlinks to libjs-sphinxdoc.
The current state in the archive right now only has the single-file
version, and it is in the policy.html subdirectory. But we got feedback after this release that people really wanted both versions available.
Unfortunately things might be just a touch chaotic for a bit as we work through finishing this reStructuredText conversion. Apologies for the
extra work! We think the long-term result will be worth it both in terms
of better output and in terms of a more maintainable Policy document.
See commit:
https://anonscm.debian.org/cgit/debwww/cron.git/commit/?id=64faa5504f980c377ed6e44d0a61f1943336b102
Package: www.debian.org
Severity: important
Hello webmasters,
The Debian Policy Manual just changed its HTML output and while the
HTML has published, the CSS and included images have not.
Looking at [1], the CSS and included images should have been published because they're still installed to
/usr/share/doc/debian-policy/policy.html/. So I think this is a problem
on your end rather than ours. Please do reassign this bug if I'm wrong
about that, and thanks in advance for your help.
[1] https://anonscm.debian.org/cgit/debwww/cron.git/tree/parts/7doc
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (900, 'testing'), (100, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64)
Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
I'm not sure about the points below:
* If we should copy those javascript files to "live" under www.debian.org/doc/policy-manual or in another place in the
www.debian.org site (or in cgi.debian.org?). For now, policy-manual is
the only manual using them, but maybe in the future, more manuals are
moved to use sphinx too. I'm not aware of any other piece of the website using Javascript, so I have no references of a canonical place to copy
the files (we would also need to change the symlinks to point to that
place, but that's another topic).
* If we should use the packages from "sid" as we use for the
documentation packages, or stable, or backports...
* If the www-master.debian.org machine (and all the mirrors) should have
the libjs-sphinxdoc, libjs-jquery and libjs-underscore packages
installed, and we should find the way to use those from the website
(change the symlinks, I guess, to... which path?)
* Other solution?
The CSS and images issue is solved now.
If you publish a future version of Debian Policy including a
customized theme, if that theme is in the _static folders, it will be
shown too. If the theme is in another folder, ping us, because the
function mvhtml_sphinx() in our https://anonscm.debian.org/cgit/debwww/cron.git/tree/parts/7doc script
should be modified to include the new folder.
* If we should copy those javascript files to "live" under www.debian.org/doc/policy-manual or in another place in the
www.debian.org site (or in cgi.debian.org?). For now, policy-manual is
the only manual using them, but maybe in the future, more manuals are
moved to use sphinx too. I'm not aware of any other piece of the website using Javascript, so I have no references of a canonical place to copy
the files (we would also need to change the symlinks to point to that
place, but that's another topic).
* If we should use the packages from "sid" as we use for the
documentation packages, or stable, or backports...
Hello Laura,
On Thu, Aug 24 2017, Laura Arjona Reina wrote:
* If we should use the packages from "sid" as we use for the
documentation packages, or stable, or backports...
If it's easy, we'd prefer you to use them from sid, because that's what
we develop the package against.
My concern is about doing the right thing... making our web visitors
run javascript code from sid in their browsers does not sound right
for me.
Would you (Debian Policy Team) consider acceptable to leave the website version
of the manual as it is now, without any javascript?
On Fri, Aug 25 2017, Laura Arjona Reina wrote:
My concern is about doing the right thing... making our web visitors
run javascript code from sid in their browsers does not sound right for
me.
Would you (Debian Policy Team) consider acceptable to leave the website
version of the manual as it is now, without any javascript?
I'd want us to generate output that doesn't try to load any JavaScript, though, rather than publishing something which we expect to be buggy.
[1] looks like a good starting point.
Russ: do you agree? If so, we can file a bug against policy to produce output without javascript, and block this bug by that one.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 406 |
Nodes: | 16 (2 / 14) |
Uptime: | 108:41:31 |
Calls: | 8,527 |
Calls today: | 6 |
Files: | 13,209 |
Messages: | 5,920,355 |