Merge pull request #10042 from hakman/fix-docs-feature-table

Fix docs feature table not being rendered
This commit is contained in:
Kubernetes Prow Robot 2020-10-11 22:18:47 -07:00 committed by GitHub
commit f0382bed2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 10 deletions

View File

@ -7,7 +7,3 @@
.hidden { .hidden {
display: none; display: none;
} }
.kops_feature_table .md-typeset__table table{
max-width: fit-content;
}

View File

@ -37,7 +37,7 @@ def define_env(env):
} }
# Create the initial strings to which we'll concatenate the relevant columns # Create the initial strings to which we'll concatenate the relevant columns
title = '** FEATURE STATE **\n\n|' title = '|'
separators = '|' separators = '|'
values = '|' values = '|'
@ -62,9 +62,7 @@ def define_env(env):
separators, separators,
values values
] ]
table = '\n'.join(table) return '\n'.join(table)
table = f'<div class="kops_feature_table">{table}</div>'
return table
def main(): def main():