ryan-roemer / sphinx-bootstrap-theme

Sphinx Bootstrap Theme
http://ryan-roemer.github.io/sphinx-bootstrap-theme/README.html
MIT License
586 stars 206 forks source link

Wrong selector for inline code styles to Bootstrap style. #58

Open fkubis opened 11 years ago

fkubis commented 11 years ago

Hi, first of all. Thanks for sharing this. I love it!

Second: i found a little misstake with the selector for inline code style.

Changing line 155 of static/bootstrap-sphinx.js_t from

if (!$(e).parent().hasClass("reference")) {

to

if (!$(e).children().hasClass("reference")) {

fixe this for me. Otherwise the selector removes the link to external reference.

thedrow commented 11 years ago

Could you please provide screenshots and create a pull request?