Re: Custom transform in django docs

2011-10-16 Thread Ramiro Morales
Hi Luke, On Thu, Oct 13, 2011 at 9:16 PM, Luke Plant wrote: > > [...] > there were several hundreds more! I might > not have attempted this if I had correctly counted at the beginning... > but anyway, I've fixed them all now (hopefully!). > > It seems we were relying on this hack in *lots* of pla

Re: Custom transform in django docs

2011-10-13 Thread Luke Plant
Hi Ramiro, > Belated +1 to this -- Great finding and fix Luke. > > But it seems this is affecting styling of locally generated builds of > the HTML version of the docs. > > Fon an example see (from tutorial part #1) http://i.imgur.com/CQrjo.png > > Compare that with: > > https://docs.djangopr

Re: Custom transform in django docs

2011-10-13 Thread Carl Meyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ramiro, On 10/13/2011 05:35 AM, Ramiro Morales wrote: > Belated +1 to this -- Great finding and fix Luke. Indeed. > But it seems this is affecting styling of locally generated builds of > the HTML version of the docs. > > Fon an example see (fro

Re: Custom transform in django docs

2011-10-13 Thread Ramiro Morales
On Tue, Oct 11, 2011 at 9:37 PM, Luke Plant wrote: > > Ah, well that explains it! It's gone now :-) Belated +1 to this -- Great finding and fix Luke. But it seems this is affecting styling of locally generated builds of the HTML version of the docs. Fon an example see (from tutorial part #1) h

Re: Custom transform in django docs

2011-10-11 Thread Luke Plant
On 10/10/11 17:30, Jacob Kaplan-Moss wrote: > Heh, so actually funny story. > > Turns out I copied this hack was over from the code I used for the > Django book. We did it there to surpress a difference between the HTML > conversion we used on the website and the OpenOffice conversion we > used f

Re: Custom transform in django docs

2011-10-11 Thread Gabriel Hurley
Definitely in favor of removing it. I've run into that before and been frustrated by hacking around the strange indentation. - Gabriel -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://g

Re: Custom transform in django docs

2011-10-10 Thread Jacob Kaplan-Moss
On Sat, Oct 8, 2011 at 1:04 PM, Luke Plant wrote: > The reason for this appears to be that it allows you to write > restructured text with extra levels of indentation which would normally > be interpreted as a blockquote. Heh, so actually funny story. Turns out I copied this hack was over from t

Re: Custom transform in django docs

2011-10-10 Thread Carl Meyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/10/2011 09:40 AM, Luke Plant wrote: > I was wrong about this - there are actually about 60 places where we are > making use this feature in the docs, in less than 10 files. I still > think we should fix them. > > Any objections? +1 from me - I

Re: Custom transform in django docs

2011-10-10 Thread Luke Plant
On 08/10/11 19:04, Luke Plant wrote: > Would we consider removing this custom transform? If we did, in addition > to the 32 instance of indentation that already need fixing, there are 12 > other instances that would need fixing. (These places can be found > easily by grepping the output for ' trans

Re: Custom transform in django docs

2011-10-09 Thread Chris Beaven
+1 to removing this non-standard documentation workaround. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/X7cbiXXSXyEJ. To post to this group, se

Custom transform in django docs

2011-10-08 Thread Luke Plant
Hi all, Django currently uses a custom transform class when building docs using Sphinx. What this does is attempt to find blockquote elements and pull their contents up a level, discarding the now empty blockquote element. The reason for this appears to be that it allows you to write restructured