Skip to content

Commit

Permalink
Fixed #201
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed May 4, 2017
1 parent 19d6284 commit 8c0ffef
Show file tree
Hide file tree
Showing 6 changed files with 312 additions and 285 deletions.
13 changes: 13 additions & 0 deletions docs/_static/theme_overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* override table width restrictions */
@media screen and (min-width: 767px) {

.wy-table-responsive table td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
}

.wy-table-responsive {
overflow: visible !important;
}
}
1 change: 1 addition & 0 deletions docs/api/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ API Reference
yellowbrick
yellowbrick.features
yellowbrick.regressor
yellowbrick.classifier
yellowbrick.cluster
yellowbrick.text
yellowbrick.style
12 changes: 6 additions & 6 deletions docs/api/yellowbrick.classifier.rst
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
yellowbrick.classifier package
=============================
==============================

Submodules
----------

yellowbrick.classifier.base module
---------------------------------
----------------------------------

.. automodule:: yellowbrick.classifier.base
:members:
:undoc-members:
:show-inheritance:

yellowbrick.classifier.class_balance module
--------------------------------------
-------------------------------------------

.. automodule:: yellowbrick.classifier.class_balance
:members:
:undoc-members:
:show-inheritance:

yellowbrick.classifier.classification_report module
-----------------------------------
---------------------------------------------------

.. automodule:: yellowbrick.classifier.classification_report
:members:
:undoc-members:
:show-inheritance:

yellowbrick.classifier.confusion_matrix module
-----------------------------------
----------------------------------------------

.. automodule:: yellowbrick.classifier.confusion_matrix
:members:
:undoc-members:
:show-inheritance:

yellowbrick.classifier.rocauc module
-----------------------------------
------------------------------------

.. automodule:: yellowbrick.classifier.rocauc
:members:
Expand Down
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_context = {
'css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
],
}

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ The following is a complete listing of the Yellowbrick documentation for this ve
:maxdepth: 2

introduction
about
setup
examples/examples
api/modules
about
evaluation
contributing
changelog
Expand Down
Loading

0 comments on commit 8c0ffef

Please sign in to comment.