|
From: | Phil Holmes |
Subject: | Re: Images not showing on lilypond.org |
Date: | Fri, 23 Sep 2011 20:46:28 +0100 |
On Fri, Sep 23, 2011 at 04:59:47PM +0100, Phil Holmes wrote:Be happy to, if you could talk me through it a bit more.Be happy to, if you could tell me what you need help with. dev/web-build is a separate git branch. Are you asking how to check out a separate branch? I'm sure that people here can explain it yet again, but I'm certain that instructions are in the CG, and there's tons of help online for "git checkout branch". Or do you have that branch already, but you're not certain why you're getting an error message? I need to see the exact error message before I can comment meaningfully.
OK - that's enough to get me going, thanks. I'll look over the weekend. I'd not picked up the terminology of dev/web-build being a branch off lily-git.
I've not re-tested the patch yet, but I'm certain it was OK here. Do you think it possible the updated postprocess_html.py wasn't copied to trusted scripts?I recall that a few days ago, you said that "make website never copies images over, since they're only generated in make doc". I considered jumping over you for that, but I was feeling mellow that day so I let it pass. If you run "make website" and do not see EXACTLY what you see on lilypond.org, then your computer is not set up correctly. Period. And if your computer is not set up correctly, you cannot test stuff correctly.
Hmm. If you set up the computer following the CG for a standard set up, what I say is true. I've just nuked lilypond-git on my new PC and started from scratch, so this is a true test. I configure build and run make website from scratch, with no previous make. The output from this includes:
cp Documentation/pictures/out-www/* out-website/website/pictures ;which would be fine, but Doc/pic/out-www is empty at this point, so no pictures are copied across and so no pictures appear on the website thus generated. If I look at the introduction, for example, flat design isn't there. That particular image is created from this line during make doc:
ln -f /home/phil/lilypond-git/Documentation/pictures/flat-design.png out-www/flat-design.png
The examples are the same. After make website, they're not there. Looking at make doc, we have (for the first example)
Processing `/home/phil/lilypond-git/Documentation/web/ly-examples/bach-bwv610.ly'
mv ./out-www/bach-bwv610.preview.png out-www/bach-bwv610.pngpngtopnm out-www/bach-bwv610.png | pnmscale -w=600 | pnmtopng > out-www/bach-bwv610-small.png
(these aren't together in the make output, I've extracted them).So - in a normal user environment, make website _does not_ create most of the pictures. And it doesn't copy them from another previously created cache. It relies on make doc to create them, and then copies them from there.
Clearly, using the instructions to create a standalone website that we put into the CG, this isn't true. But it is true for make website on a standard system.
--Phil
[Prev in Thread] | Current Thread | [Next in Thread] |