Opened 9 years ago

Closed 8 months ago

#1073 defect closed fixed (fixed)

Replace lore's line-number example inclusion with class/function inclusion

Reported by: glyph Owned by:
Priority: high Milestone:
Component: lore Keywords: documentation, lore, EndOfLore
Cc: glyph, radix, spiv, thijs Branch:
Author: Launchpad Bug:

Description


Change History (9)

comment:1 Changed 9 years ago by glyph

Lore currently uses line-number offsets to point into examples.  This is wrong.
 It should use semantic ranges like classnames and function names.  This way you
don't need to update _every_ file that refers to it when you update example .py
files.

comment:2 Changed 9 years ago by radix

VERB

comment:3 Changed 9 years ago by glyph

NOUN! (what?)

I'm not really the right person to do this.  Who is?  Hot potato time.

comment:4 Changed 9 years ago by radix

(VERB: it's good to have explanatory titles that contain a verb indicating what
action must be done :)

I guess I'll potato this over to spiv, unfortunately. I know he's not *really*
the maintainer of Lore, but he's still marked as it :)

comment:5 Changed 5 years ago by thijs

  • Cc thijs added

comment:6 Changed 4 years ago by khorn

  • Owner changed from spiv to khorn

Sphinx supports including classes, functions and methods in this manner, so this should be fixed following the Sphinx conversion.

comment:7 Changed 4 years ago by <automation>

  • Owner khorn deleted

comment:8 Changed 3 years ago by khorn

  • Keywords lore added

comment:9 Changed 8 months ago by khorn

  • Keywords EndOfLore added
  • Resolution set to fixed
  • Status changed from new to closed

As we are now using Sphinx for documentation, following completion of #4500, this is effectively fixed.

Note: See TracTickets for help on using tickets.