Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evan Edmond
fslpy
Commits
29b1ce02
Commit
29b1ce02
authored
5 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Allow line-wrapping in tables
parent
77732cfb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/_static/theme_overrides.css
+10
-0
10 additions, 0 deletions
doc/_static/theme_overrides.css
doc/conf.py
+10
-3
10 additions, 3 deletions
doc/conf.py
with
20 additions
and
3 deletions
doc/_static/theme_overrides.css
0 → 100644
+
10
−
0
View file @
29b1ce02
/* override table width restrictions */
.wy-table-responsive
table
td
,
.wy-table-responsive
table
th
{
white-space
:
normal
;
}
.wy-table-responsive
{
margin-bottom
:
24px
;
max-width
:
100%
;
overflow
:
visible
;
}
This diff is collapsed.
Click to expand it.
doc/conf.py
+
10
−
3
View file @
29b1ce02
...
...
@@ -33,7 +33,7 @@ date = datetime.date.today()
# ones.
extensions
=
[
'
sphinx.ext.autodoc
'
,
'
sphinx.ext.autosummary
'
,
'
sphinx.ext.autosummary
'
,
'
sphinx.ext.mathjax
'
,
'
sphinx.ext.graphviz
'
,
'
sphinx.ext.todo
'
,
...
...
@@ -121,6 +121,7 @@ pygments_style = 'sphinx'
# a list of builtin themes.
html_theme
=
'
sphinx_rtd_theme
'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
...
...
@@ -148,7 +149,13 @@ html_theme = 'sphinx_rtd_theme'
# 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_context
=
{
'
css_files
'
:
[
'
_static/theme_overrides.css
'
,
# overrides for 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
...
...
@@ -368,7 +375,7 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
if
what
==
'
class
'
:
attName
=
name
.
split
(
'
.
'
)[
-
1
]
return
skip
or
attName
.
startswith
(
'
_sync_
'
)
return
skip
or
False
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment