Revert "[KYUUBI #5908] [DOCS] Remove workaround for malformed table"

This reverts commit 97a0ba461c.
This commit is contained in:
Cheng Pan 2023-12-24 01:53:05 +08:00
parent 86b88b7e49
commit 8f59355eb6
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D
2 changed files with 49 additions and 1 deletions

47
docs/_static/css/custom.css vendored Normal file
View File

@ -0,0 +1,47 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
table.docutils {
width: 100%;
margin-top: 10px;
margin-bottom: 10px;
border: 0;
border-collapse: collapse;
table-layout: auto;
}
table.docutils th {
padding: 1px 8px 1px 5px;
border-top: 1px;
border-left: 1px;
border-right: 1px;
border-bottom: 1px solid #aaa;
}
table.docutils td {
word-break: break-word;
min-width: 10%;
}
table.docutils tr:hover {
background: #efefef;
}
table.docutils tbody tr:nth-child(2n) {
background: #9EBCE21E;
}
table.docutils td:nth-child(1) {
width: 25%;
word-break: break-all;
font-weight: 500;
}

View File

@ -126,7 +126,8 @@ pygments_style = 'sphinx'
# 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"]
htmlhelp_basename = 'Recommonmarkdoc'
github_doc_root = 'https://github.com/apache/kyuubi/tree/master/docs/'