Graham
Further to this, I've now reorganised my directory structure
so I have /media/lilypond/lilypond-git and tried make website
again.
I also discovered I was using the wrong index.html to enter
the website. There is one in /out-website which I'd used
previously which was the cause of the errors a, b and c below.
I'm sorry if that has caused you unnecessary work investigating
these erroneous errors.
However, even using the correct index.html in /out-website/website
I still find the manual links fail. This may be because the
attempt to find several files during make website failed, eg:
No such file: text.itely
Search path:
.:/media/lilypond/lilypond-git/Documentation/:/media/lilypond/lilypond-git/Documentation/:/media/lilypond/lilypond-git/Documentation//snippets/:out-website
Trevor
----- Original Message -----
From: "Trevor Daniels" <t.dani...@treda.co.uk>
To: "Graham Percival" <gra...@percival-music.ca>
Cc: "Lily-Devel List" <lilypond-devel@gnu.org>
Sent: Wednesday, August 11, 2010 4:17 PM
Subject: Re: My web build is different from website
Graham, you wrote Tuesday, August 10, 2010 4:57 AM
actually, now that I think about it some more, "make website"
really has nothing to do with the compiled scripts in scripts/ or
python/. Just doing
rm -rf out-website/
make website
should get you the complete website. If you have any error
messages from that, I'd like to hear about it and look into it
myself.
Here's what I get from make website. I didn't notice any error
messages that seemed significant, but there were lots of
warnings like "No such file: markup-commands.tely".
It also strangely printed out several lines of python beginning
for l in '' es fr it nl; do \
if test -n "$l"; then \
langopt=--lang="$l"; \
langsuf=.$l; \
fi; \
But the most obvious symptom is that the generated website in
lilypond-git/out-website is wrong in several respects:
a) there are no css files at the top level (same level as
index.html). Copying in lilypond-web.css fixes much of
the body, but the menu stuff across the top remains plain
boxes on all the pages. Presumably this needs some other
css file?
b) the logo is missing in index.html, as is the images in
Introduction.
The html is looking for them in, for example,
/lilypond-git/pictures/double-lily-modified3.png
but I have no such directory. There is an inode called
pictures in out-website pointing to
/lilypond-git/website/pictures.
This contains 189 images, including double-lily-modified.png,
so it looks like the generated url is wrong in index.html.
c) The images in examples.html are missing. The urls look like
/lilypond-git/out-website/ly-examples/bach-bwv610-small.png
d) All the urls on the manuals page give file not found.
The targets they are seeking are like
/lilypond-git/doc/v2.12/Documentation/user/lilypond-learning/index.html
There are probably other errors, but those are the main ones.
Don't forget, I have a rather strange directory structure
which may be the cause of these peculiarities.
Trevor
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel