Re: [Django] #14449: restructuredtext filter does not return the correct content

2012-09-04 Thread Django
#14449: restructuredtext filter does not return the correct content
-+-
 Reporter:  feuervogel   |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |  Version:  1.3
Component:  Documentation|   Resolution:  wontfix
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  markup,  |  Needs documentation:  0
  restructuredtext   |  Patch needs improvement:  1
Has patch:  1|UI/UX:  0
  Needs tests:  0|
Easy pickings:  0|
-+-
Changes (by timo):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 There are plans to deprecate contrib.markup (#18054) so marking this as
 won't fix.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #14449: restructuredtext filter does not return the correct content

2011-12-28 Thread Django
#14449: restructuredtext filter does not return the correct content
-+-
 Reporter:  feuervogel   |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |  Version:  1.3
Component:  Documentation|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  markup,  |  Needs documentation:  0
  restructuredtext   |  Patch needs improvement:  1
Has patch:  1|UI/UX:  0
  Needs tests:  0|
Easy pickings:  0|
-+-
Changes (by robin):

 * version:  1.2 => 1.3


Comment:

 Replying to [comment:7 julien]

 I find that doctitle_xform:false will cause problem with section
 numbering.
 Consider the following:

 {{{

 .. section-numbering::

 Title
 =

 Sub Title
 -

 Sub Title
 -
 }}}

 if doctitle_xform is '''true''' and if
 django.contrib.markup.templatetags.markup.restructuredtext  returns parts
 '''fragment''', the rst code will produce:

 {{{
 #!html
 1 Sub Title
 2 Sub Title
 }}}

 if doctitle_xform is '''false''' and if
 django.contrib.markup.templatetags.markup.restructuredtext returns parts
 '''fragment''', the rst code will produce:

 {{{
 #!html
 1 Title
 1.1 Sub Title
 1.2 Sub Title
 }}}

 None of the result above is exactly right. I personally think the correct
 result should be:
 {{{
 #!html
 Title
 1 Sub Title
 2 Sub Title
 }}}
 But how do I achieve that without writing my own restructuredtext
 function?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14449: restructuredtext filter does not return the correct content

2011-09-08 Thread Django
#14449: restructuredtext filter does not return the correct content
-+-
   Reporter: |  Owner:  nobody
  feuervogel | Status:  new
   Type: |  Component:  Documentation
  Cleanup/optimization   |   Severity:  Normal
  Milestone: |   Keywords:  markup,
Version:  1.2|  restructuredtext
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  0
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  1  |
  UI/UX:  0  |
-+-
Changes (by robin):

 * cc: robinchew@… (added)
 * ui_ux:   => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14449: restructuredtext filter does not return the correct content

2011-05-12 Thread Django
#14449: restructuredtext filter does not return the correct content
-+-
   Reporter: |  Owner:  nobody
  feuervogel | Status:  new
   Type: |  Component:  Documentation
  Cleanup/optimization   |   Severity:  Normal
  Milestone: |   Keywords:  markup,
Version:  1.2|  restructuredtext
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  0
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  1  |
-+-
Changes (by julien):

 * type:   => Cleanup/optimization
 * component:  contrib.contenttypes => Documentation
 * severity:   => Normal
 * easy:   => 0


Comment:

 You can invert this default docutils behaviour using this setting:

 {{{
 #!python
 RESTRUCTUREDTEXT_FILTER_SETTINGS = {
 'doctitle_xform': False,
 }
 }}}

 `RESTRUCTUREDTEXT_FILTER_SETTINGS` is already mentioned in the
 `contrib.markup` doc, but this seems like a frequent enough use case to
 add a note about this particular setting. So what we need here is a
 documentation patch.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14449: restructuredtext filter does not return the correct content

2010-12-03 Thread Django
#14449: restructuredtext filter does not return the correct content
---+
  Reporter:  feuervogel| Owner:  nobody  
Status:  new   | Milestone:  
 Component:  Contrib apps  |   Version:  1.2 
Resolution:|  Keywords:  markup, restructuredtext
 Stage:  Accepted  | Has_patch:  1   
Needs_docs:  0 |   Needs_tests:  0   
Needs_better_patch:  1 |  
---+
Changes (by russellm):

  * needs_better_patch:  0 => 1
  * stage:  Ready for checkin => Accepted

Comment:

 Adding a diff where one didn't exist previously is a pretty big backwards
 incompatibility. I'm not sure what the right way forward is here, but the
 existing test cases must pass without modification.

 Three suggestions:
  * Automated inspection of the document contents; if it contains parts
 that aren't rendered as part of `fragment`, *then* include the `div`.
  * An argument that turns on 'full document' insertion
  * A second template filter. I'd rather not go down this path; I'm really
 only mentioning it for completeness.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14449: restructuredtext filter does not return the correct content

2010-11-13 Thread Django
#14449: restructuredtext filter does not return the correct content
+---
  Reporter:  feuervogel | Owner:  nobody
  
Status:  new| Milestone:
  
 Component:  Contrib apps   |   Version:  1.2   
  
Resolution: |  Keywords:  markup, 
restructuredtext
 Stage:  Ready for checkin  | Has_patch:  1 
  
Needs_docs:  0  |   Needs_tests:  0 
  
Needs_better_patch:  0  |  
+---
Changes (by dmoisset):

  * owner:  dmoisset => nobody
  * stage:  Unreviewed => Ready for checkin

Comment:

 The patch looks ok. The generated output adds a {{{}}} element around
 the content but I think that's reasonable

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14449: restructuredtext filter does not return the correct content

2010-11-13 Thread Django
#14449: restructuredtext filter does not return the correct content
---+
  Reporter:  feuervogel| Owner:  dmoisset
Status:  new   | Milestone:  
 Component:  Contrib apps  |   Version:  1.2 
Resolution:|  Keywords:  markup, restructuredtext
 Stage:  Unreviewed| Has_patch:  1   
Needs_docs:  0 |   Needs_tests:  0   
Needs_better_patch:  0 |  
---+
Changes (by dmoisset):

  * owner:  nobody => dmoisset

Comment:

 triaging

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14449: restructuredtext filter does not return the correct content

2010-10-12 Thread Django
#14449: restructuredtext filter does not return the correct content
---+
  Reporter:  feuervogel| Owner:  nobody  
Status:  new   | Milestone:  
 Component:  Contrib apps  |   Version:  1.2 
Resolution:|  Keywords:  markup, restructuredtext
 Stage:  Unreviewed| Has_patch:  1   
Needs_docs:  0 |   Needs_tests:  0   
Needs_better_patch:  0 |  
---+
Comment (by feuervogel):

 check.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14449: restructuredtext filter does not return the correct content

2010-10-12 Thread Django
#14449: restructuredtext filter does not return the correct content
---+
  Reporter:  feuervogel| Owner:  nobody  
Status:  new   | Milestone:  
 Component:  Contrib apps  |   Version:  1.2 
Resolution:|  Keywords:  markup, restructuredtext
 Stage:  Unreviewed| Has_patch:  1   
Needs_docs:  0 |   Needs_tests:  0   
Needs_better_patch:  0 |  
---+
Changes (by feuervogel):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 working on a proper patch.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #14449: restructuredtext filter does not return the correct content

2010-10-12 Thread Django
#14449: restructuredtext filter does not return the correct content
--+-
 Reporter:  feuervogel|   Owner:  nobody
   Status:  new   |   Milestone:
Component:  Contrib apps  | Version:  1.2   
 Keywords:  markup, restructuredtext  |   Stage:  Unreviewed
Has_patch:  1 |  
--+-
 I'm using the django.contrib.flatpages with restructuredtext markup. I've
 tested it with a small

 {{{
 Disclaimer
 ==

 This is a *test*.
 }}}

 After all, the ''disclaimer'' part is not rendered. This happens because
 the renderer returns a ''parts'' and its ''fragment'' key is used. The
 [http://docutils.sourceforge.net/docs/api/publisher.html#fragment docutils
 doc] reads that the fragment does not contain the document title. I've
 added a patch which makes use of the ''html_body'' key.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.