Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8867)

Issue 4964041: Fixes missing images in big website page (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by PhilEHolmes
Modified:
12 years, 7 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

This is an updated patch to put the missing image files back into http://lilypond.org/doc/v2.15/Documentation/web-big-page.html#examples. It adds an extra element to the path to ly-examples (web/) which fixes up the links in web-big-page. It does the same with the css address. These extra elements are then parsed out with postprocess_html.py and website_post.py. The latter file change is the new feature of this patch - it ensures that the split web pages are valid after make website and also make doc. I have used this patch and compiled from scratch and see both web-split and web-big have the example images and use the style sheet. To test this. Apply the patch. make website - do you see images and styles in /lilypond-git/build/out-website/website/index.html. make; make doc. Do you see images in web-split and web-big? If these are yes, then the patch is OK.

Patch Set 1 #

Patch Set 2 : Removes explicit language list from make website #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M make/website.make View 1 1 chunk +2 lines, -1 line 3 comments Download
M scripts/build/create-weblinks-itexi.py View 1 2 chunks +9 lines, -1 line 3 comments Download

Messages

Total messages: 6
PhilEHolmes
Please review.
12 years, 8 months ago (2011-08-25 12:32:54 UTC) #1
Graham Percival (old account)
I'm a bit confused about what you're trying to do here (the git-cl confusion doesn't ...
12 years, 7 months ago (2011-08-26 20:57:48 UTC) #2
PhilEHolmes
This may be a repeat of what's in my reply, but two places is better ...
12 years, 7 months ago (2011-08-27 09:55:25 UTC) #3
Jean-Charles
Le 27/08/2011 11:55, PhilEHolmes@googlemail.com disait : > This may be a repeat of what's in ...
12 years, 7 months ago (2011-08-27 10:35:40 UTC) #4
email_philholmes.net
----- Original Message ----- From: "Jean-Charles Malahieude" <lilyfan@orange.fr> To: <PhilEHolmes@googlemail.com>; <percival.music.ca@gmail.com>; <lilypond-devel@gnu.org>; <reply@codereview.appspotmail.com> Sent: Saturday, ...
12 years, 7 months ago (2011-08-27 10:38:57 UTC) #5
Graham Percival (old account)
12 years, 7 months ago (2011-08-27 12:47:26 UTC) #6
http://codereview.appspot.com/4964041/diff/3001/make/website.make
File make/website.make (right):

http://codereview.appspot.com/4964041/diff/3001/make/website.make#newcode57
make/website.make:57: ### only update this when the language compiles correctly!
On 2011/08/27 09:55:25, PhilEHolmes wrote:
> I wasn't ignoring the comment.  I read it as saying that we should only add a
> language to the list when it compiles clean.  Perhaps this warning should be
> added to langdef.py?

I don't mind having broken translations in the main documentation (IIRC every
language is broken in some respect), but I don't want the main public website
having a significantly broken translation.

I'd rather keep this list separate.  I suppose that technically it could still
be put into langdefs.py and define a list of "all translations" and another list
of "website-approved translations", but that would involve a lot more playing
with the build system and I don't think it's worth it.  I guess I'm not opposed
to it in principle, as long as the build still works for all cases.

http://codereview.appspot.com/4964041/diff/3001/scripts/build/create-weblinks...
File scripts/build/create-weblinks-itexi.py (right):

http://codereview.appspot.com/4964041/diff/3001/scripts/build/create-weblinks...
scripts/build/create-weblinks-itexi.py:12: import langdefs
On 2011/08/27 09:55:25, PhilEHolmes wrote:
> Yes.  In truth I'm not sure why, but this runs quite happily with make
website. 
> It will not run if you try to run create-weblinks-itexi.py from the command
> line, so there must be paths added during the make.

Please note that the full website build must work without running ../configure
or make.  I really don't think that you can get away with an import langdefs
here -- at least, not without changing many more parts of website.make.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b