diff --git a/docsrc/_static/css/custom.css b/docsrc/_static/css/custom.css new file mode 100644 index 00000000..5bb62183 --- /dev/null +++ b/docsrc/_static/css/custom.css @@ -0,0 +1,5 @@ +@import "../bizstyle.css"; + +span.pre { + white-space: pre-wrap !important; +} diff --git a/docsrc/conf.py b/docsrc/conf.py index 02400360..f0598b25 100644 --- a/docsrc/conf.py +++ b/docsrc/conf.py @@ -50,6 +50,10 @@ 'awscrt': ('https://awslabs.github.io/aws-crt-python', None), } +# A string that determines how domain objects (e.g. functions, classes, +# attributes, etc.) are displayed in their table of contents entry. +toc_object_entries_show_parents = 'hide' + # -- Options for HTML output ------------------------------------------------- autoclass_content = "both" @@ -66,11 +70,17 @@ # html_theme = 'bizstyle' +html_theme_options = { + 'sidebarwidth': 300 +} + # 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 = ['_static'] +html_style = 'css/custom.css' + # Extra warnings nitpicky = True nitpick_ignore_regex = [