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

Issue 4963046: 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. There is a subsidiary change - to stop website_post.py repeatedly adding a footer to the page. I implemented this to assist testing. PATCH 2. This adds a relative directory address to the links to the example images, and then parses it out for the split-web page only. On my system, applying this patch and then running make doc produces a web-big-page with all the images included.

Patch Set 1 #

Patch Set 2 : Fixes missing example images in web-big #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M Documentation/macros.itexi View 1 chunk +2 lines, -2 lines 0 comments Download
M python/auxiliar/postprocess_html.py View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9
PhilEHolmes
As requested, an updated code review. Please review.
12 years, 8 months ago (2011-08-29 10:00:34 UTC) #1
Graham Percival (old account)
I see images, but not ly-examples. Are you sure you see ly-examples on your system?
12 years, 8 months ago (2011-08-29 12:58:11 UTC) #2
email_philholmes.net
----- Original Message ----- From: <percival.music.ca@gmail.com> To: <PhilEHolmes@googlemail.com> Cc: <lilypond-devel@gnu.org>; <reply@codereview.appspotmail.com> Sent: Monday, August 29, ...
12 years, 8 months ago (2011-08-29 13:00:55 UTC) #3
Graham Percival
On Mon, Aug 29, 2011 at 02:00:51PM +0100, Phil Holmes wrote: > ----- Original Message ...
12 years, 8 months ago (2011-08-29 13:30:06 UTC) #4
email_philholmes.net
----- Original Message ----- From: "Graham Percival" <graham@percival-music.ca> To: "Phil Holmes" <email@philholmes.net> Cc: <PhilEHolmes@googlemail.com>; <percival.music.ca@gmail.com>; ...
12 years, 8 months ago (2011-08-29 16:24:57 UTC) #5
Graham Percival
On Mon, Aug 29, 2011 at 05:24:51PM +0100, Phil Holmes wrote: > OK. My claim ...
12 years, 8 months ago (2011-08-31 05:00:29 UTC) #6
PhilEHolmes
Updated patch which produces a web-big-page with all images included. Please review. Next step after ...
12 years, 7 months ago (2011-09-16 11:40:58 UTC) #7
Graham Percival (old account)
LGTM. A quick test showed no problems in make doc. I didn't get pictures in ...
12 years, 7 months ago (2011-09-21 04:08:31 UTC) #8
mail_philholmes.net
12 years, 7 months ago (2011-09-22 09:44:24 UTC) #9
----- Original Message ----- 
From: <percival.music.ca@gmail.com>
To: <PhilEHolmes@googlemail.com>; <email@philholmes.net>; 
<graham@percival-music.ca>
Cc: <reply@codereview.appspotmail.com>; <lilypond-devel@gnu.org>
Sent: Wednesday, September 21, 2011 5:08 AM
Subject: Re: Fixes missing images in big website page (issue 4963046)


> LGTM.  A quick test showed no problems in make doc.  I didn't get
> pictures in make website, but then I tried make website without the
> patch applied, and I still didn't get pictures... evidently I don't have
> my desktop set up to create the full website any more.  So that's not a
> reason to distrust this patch.
>
> http://codereview.appspot.com/4963046/

FWIW, running make website always produces a website with no pictures.  make 
tries to copy them but they're only created during make doc.  To get the 
images, on a normal make build, you must run make doc before make website.

--
Phil Holmes


Sign in to reply to this message.

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