{"action":"created","issue":{"url":"https://api.github.com/repos/nyergler/hieroglyph/issues/81","labels_url":"https://api.github.com/repos/nyergler/hieroglyph/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/nyergler/hieroglyph/issues/81/comments","events_url":"https://api.github.com/repos/nyergler/hieroglyph/issues/81/events","html_url":"https://github.com/nyergler/hieroglyph/issues/81","id":51767829,"number":81,"title":"With `contents` directive inside `ifnotslides` directive, slide headings are rendered as links","user":{"login":"joonro","id":1063143,"avatar_url":"https://avatars.githubusercontent.com/u/1063143?v=3","gravatar_id":"","url":"https://api.github.com/users/joonro","html_url":"https://github.com/joonro","followers_url":"https://api.github.com/users/joonro/followers","following_url":"https://api.github.com/users/joonro/following{/other_user}","gists_url":"https://api.github.com/users/joonro/gists{/gist_id}","starred_url":"https://api.github.com/users/joonro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joonro/subscriptions","organizations_url":"https://api.github.com/users/joonro/orgs","repos_url":"https://api.github.com/users/joonro/repos","events_url":"https://api.github.com/users/joonro/events{/privacy}","received_events_url":"https://api.github.com/users/joonro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-12T03:46:19Z","updated_at":"2015-02-22T17:21:59Z","closed_at":null,"body":"With `contents` directive inside `ifnotslides` directive, slide headings are rendered as links. For example, when I compile slides with the following:\r\n\r\n```rst\r\n.. ifnotslides::\r\n      \r\n   .. contents:: Table of Contents\r\n      :local:\r\n      :depth: 1\r\n```\r\n\r\nThe level 2 headings become links even though actual TOC is not generated.\r\n"},"comment":{"url":"https://api.github.com/repos/nyergler/hieroglyph/issues/comments/75446098","html_url":"https://github.com/nyergler/hieroglyph/issues/81#issuecomment-75446098","issue_url":"https://api.github.com/repos/nyergler/hieroglyph/issues/81","id":75446098,"user":{"login":"joonro","id":1063143,"avatar_url":"https://avatars.githubusercontent.com/u/1063143?v=3","gravatar_id":"","url":"https://api.github.com/users/joonro","html_url":"https://github.com/joonro","followers_url":"https://api.github.com/users/joonro/followers","following_url":"https://api.github.com/users/joonro/following{/other_user}","gists_url":"https://api.github.com/users/joonro/gists{/gist_id}","starred_url":"https://api.github.com/users/joonro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joonro/subscriptions","organizations_url":"https://api.github.com/users/joonro/orgs","repos_url":"https://api.github.com/users/joonro/repos","events_url":"https://api.github.com/users/joonro/events{/privacy}","received_events_url":"https://api.github.com/users/joonro/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T17:21:59Z","updated_at":"2015-02-22T17:21:59Z","body":"* What version of Sphinx and Hieroglyph are you using?\r\n\r\n    ```\r\n    > pip search sphinx\r\n    Sphinx                    - Python documentation generator\r\n      INSTALLED: 1.2.3\r\n      LATEST:    1.3b2\r\n    ```\r\n\r\n    ```\r\n    > pip search hieroglyph\r\n    hieroglyph                - UNKNOWN\r\n      INSTALLED: 0.6.5 (latest)\r\n    ```\r\n\r\n* When you say slide headings are rendered as links, do you mean that they're included in a list where the `contents` directive would be, or that they're rendered as links in the individual slides?\r\n\r\n    The latter. No TOC is generated on the specified slide, but all the level 1 headers are rendered as links in the individual slides. So basically everything is the same, except that the level 1 headings are rendered as links (it is rendered with the color blue and underlined too).\r\n\r\n* If you remove the `contents` directive, does the output change?\r\n\r\n  Yes - those level 1 headings become normal heading texts, not links.\r\n\r\n* If you specify :depth: 2 do you have the same issue?\r\n\r\n  Yes - now the level 2 headings (individual slide titles) become links as well."}}