{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/668","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/668/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/668/comments","events_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/668/events","html_url":"https://github.com/sphinx-doc/testing2/issues/668","id":53280849,"number":668,"title":"Enable line numbering to start > 1","user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-02T21:58:49Z","updated_at":"2015-01-02T22:00:01Z","closed_at":"2015-01-02T21:58:50Z","body":"When documenting a long code example, it's useful to break up the literalinclude into smaller snippets. Unfortunately Sphinx line numbering always displays as starting at 1, which is misleading. Would it be possible to add a  \"start\" option? \n\n    \n    .. literalinclude:: longexample.cc\n       :linenos:\n       :lines: 123-145\n       :start: 123\n    \n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/668\n- Originally reported by: Evan Goer\n- Originally created at: 2011-04-05T20:21:11.415\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/comments/68566538","html_url":"https://github.com/sphinx-doc/testing2/issues/668#issuecomment-68566538","issue_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/668","id":68566538,"user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T22:00:00Z","updated_at":"2015-01-02T22:00:00Z","body":"_From Georg Brandl on 2014-01-11 07:44:11+00:00_\n\nCloses #668: Allow line numbering of ``code-block`` and ``literalinclude`` directives\nto start at an arbitrary line number, with a new ``lineno-start`` option.\n\n→ \\<\\<cset 269ef714f34efd6fe98a4e7bde08bfb3b4928264\\>\\>"}}