Skip to content

Commit

Permalink
add overflow for pre
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Nov 22, 2020
1 parent 865ddca commit 54d6436
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ _version.py
venv*
.vscode/**
_build
_static
_templates
3 changes: 3 additions & 0 deletions doc/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pre{
overflow: auto;
}
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
# 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 = ['_static']
html_css_files = ['css/custom.css']

autodoc_default_flags = ['members']
autosummary_generate = True
master_doc = 'index'

0 comments on commit 54d6436

Please sign in to comment.