{"action":"created","issue":{"url":"https://api.github.com/repos/rtfd/sphinx_rtd_theme/issues/495","repository_url":"https://api.github.com/repos/rtfd/sphinx_rtd_theme","labels_url":"https://api.github.com/repos/rtfd/sphinx_rtd_theme/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/rtfd/sphinx_rtd_theme/issues/495/comments","events_url":"https://api.github.com/repos/rtfd/sphinx_rtd_theme/issues/495/events","html_url":"https://github.com/rtfd/sphinx_rtd_theme/issues/495","id":279640575,"number":495,"title":"Navigation tree collapse if page link's anchor is unicode text.","user":{"login":"0giso","id":17273712,"avatar_url":"https://avatars0.githubusercontent.com/u/17273712?v=4","gravatar_id":"","url":"https://api.github.com/users/0giso","html_url":"https://github.com/0giso","followers_url":"https://api.github.com/users/0giso/followers","following_url":"https://api.github.com/users/0giso/following{/other_user}","gists_url":"https://api.github.com/users/0giso/gists{/gist_id}","starred_url":"https://api.github.com/users/0giso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0giso/subscriptions","organizations_url":"https://api.github.com/users/0giso/orgs","repos_url":"https://api.github.com/users/0giso/repos","events_url":"https://api.github.com/users/0giso/events{/privacy}","received_events_url":"https://api.github.com/users/0giso/received_events","type":"User","site_admin":false},"labels":[{"id":558057926,"url":"https://api.github.com/repos/rtfd/sphinx_rtd_theme/labels/Bug","name":"Bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"agjohnson","id":1140183,"avatar_url":"https://avatars0.githubusercontent.com/u/1140183?v=4","gravatar_id":"","url":"https://api.github.com/users/agjohnson","html_url":"https://github.com/agjohnson","followers_url":"https://api.github.com/users/agjohnson/followers","following_url":"https://api.github.com/users/agjohnson/following{/other_user}","gists_url":"https://api.github.com/users/agjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/agjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agjohnson/subscriptions","organizations_url":"https://api.github.com/users/agjohnson/orgs","repos_url":"https://api.github.com/users/agjohnson/repos","events_url":"https://api.github.com/users/agjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/agjohnson/received_events","type":"User","site_admin":false},"assignees":[{"login":"agjohnson","id":1140183,"avatar_url":"https://avatars0.githubusercontent.com/u/1140183?v=4","gravatar_id":"","url":"https://api.github.com/users/agjohnson","html_url":"https://github.com/agjohnson","followers_url":"https://api.github.com/users/agjohnson/followers","following_url":"https://api.github.com/users/agjohnson/following{/other_user}","gists_url":"https://api.github.com/users/agjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/agjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agjohnson/subscriptions","organizations_url":"https://api.github.com/users/agjohnson/orgs","repos_url":"https://api.github.com/users/agjohnson/repos","events_url":"https://api.github.com/users/agjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/agjohnson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-12-06T06:19:28Z","updated_at":"2017-12-06T19:13:30Z","closed_at":null,"author_association":"NONE","body":"Sphinx with recommonmark does not use unicode text header as page link's anchor, just ignore them. If the header is written by unicode text only, anchor is empty like \"http://example.com/foo.html#\". So I use [unicode_ids extension](https://pypi.python.org/pypi/unicode_ids) to generate unicode anchor text from header.\r\n\r\nIn that case, navigation to 3rd or below level get fall back to top level content and toc tree collapsed, because sphinx_rtd_theme try to find URI escaped anchor and fail.\r\n\r\nChange theme.js from\r\n`var anchor = encodeURI(window.location.hash);`\r\nto\r\n`var anchor = window.location.hash;`\r\nworked for me. Is this acceptable change?"},"comment":{"url":"https://api.github.com/repos/rtfd/sphinx_rtd_theme/issues/comments/349743855","html_url":"https://github.com/rtfd/sphinx_rtd_theme/issues/495#issuecomment-349743855","issue_url":"https://api.github.com/repos/rtfd/sphinx_rtd_theme/issues/495","id":349743855,"user":{"login":"Blendify","id":15183467,"avatar_url":"https://avatars2.githubusercontent.com/u/15183467?v=4","gravatar_id":"","url":"https://api.github.com/users/Blendify","html_url":"https://github.com/Blendify","followers_url":"https://api.github.com/users/Blendify/followers","following_url":"https://api.github.com/users/Blendify/following{/other_user}","gists_url":"https://api.github.com/users/Blendify/gists{/gist_id}","starred_url":"https://api.github.com/users/Blendify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blendify/subscriptions","organizations_url":"https://api.github.com/users/Blendify/orgs","repos_url":"https://api.github.com/users/Blendify/repos","events_url":"https://api.github.com/users/Blendify/events{/privacy}","received_events_url":"https://api.github.com/users/Blendify/received_events","type":"User","site_admin":false},"created_at":"2017-12-06T19:13:30Z","updated_at":"2017-12-06T19:13:30Z","author_association":"CONTRIBUTOR","body":"@agjohnson you are the javascript guy"}}
{"actor":{"display_login":"Blendify"}}