sphinx-bootstrap-theme icon indicating copy to clipboard operation
sphinx-bootstrap-theme copied to clipboard

Index formatting problems for Bootstrap 3

Open gkthiruvathukal opened this issue 10 years ago • 3 comments

It appears that something has changed with Index formatting in going from 2->3. There is now no indentation, which makes it very difficult to view "double" entries.

As an example, please see our introcs.cs.luc.edu site: http://introcs.cs.luc.edu/html/genindex.html

Is there any way to make this configurable so we can get the behavior associated with Sphinx's other templates in general and Sphinx Bootstrap Theme with Bootstrap 2? I am guessing this decision has something to do with being responsive and all, but there needs to be some way to adjust spacing around entries or what not.

gkthiruvathukal avatar Mar 05 '14 20:03 gkthiruvathukal

Yeah, there's a style issue here where the <dd> tag needs an indent from the <dt> tag. Bootstrap is overriding as shown here:

screen shot 2014-03-05 at 12 30 35 pm

ryan-roemer avatar Mar 05 '14 20:03 ryan-roemer

Ryan, should we just find some way to override the override locally, or is there any suggestion you have for how we should proceed?

gkthiruvathukal avatar Mar 07 '14 04:03 gkthiruvathukal

Override in https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/sphinx_bootstrap_theme/bootstrap/static/bootstrap-sphinx.css_t scoping as narrowly as possible (e.g. consider the parent elements if possible).

If you want to submit a pull request, then most welcome! Otherwise, maybe @russell or I will get to it when we get a chance...

ryan-roemer avatar Mar 07 '14 04:03 ryan-roemer