Skip to content

Commit

Permalink
docs styling
Browse files Browse the repository at this point in the history
  • Loading branch information
uadnan committed Apr 30, 2024
1 parent 83b77a5 commit 0bdee35
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 767 deletions.
7 changes: 7 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
div.rendered_html table {
table-layout: auto!important;
}

table.dataframe tr>td:nth-child(2) {
white-space: nowrap;
}
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []
html_static_path = ['_static']

html_css_files = [
'css/custom.css',
]

#
intersphinx_mapping = {
Expand All @@ -71,7 +75,3 @@
nbsphinx_custom_formats = {
'.py': ['jupytext.reads', {'fmt': 'py:percent'}],
}


# This should be removed after fixing electricity notebook
nbsphinx_allow_errors = True
Loading

0 comments on commit 0bdee35

Please sign in to comment.