Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tables display #2670

Merged
merged 1 commit into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .automation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ def build_plugins_md_table():
]
for plugin in plugins:
md_table += [
f"| [{plugin['name']}]({plugin['docUrl']}) | "
f"| [**{plugin['name']}**]({plugin['docUrl']}) | "
f"{plugin['description']} | {plugin['author']} | "
f"[Descriptor]({plugin['pluginUrl']}) |",
]
Expand Down
60 changes: 30 additions & 30 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1493,8 +1493,8 @@
2957431
],
[
"2023-05-19T17:09:55",
2958909
"2023-05-19T18:27:46",
2959002
]
],
"ci_light": [
Expand Down Expand Up @@ -2991,8 +2991,8 @@
64933
],
[
"2023-05-19T17:09:55",
65135
"2023-05-19T18:27:46",
65149
]
],
"cupcake": [
Expand Down Expand Up @@ -3469,8 +3469,8 @@
11130
],
[
"2023-05-19T17:09:55",
11301
"2023-05-19T18:27:46",
11308
]
],
"dart": [
Expand Down Expand Up @@ -5877,8 +5877,8 @@
149270
],
[
"2023-05-19T17:09:55",
149593
"2023-05-19T18:27:46",
149612
]
],
"dotnet": [
Expand Down Expand Up @@ -7375,8 +7375,8 @@
386087
],
[
"2023-05-19T17:09:55",
386577
"2023-05-19T18:27:46",
386599
]
],
"go": [
Expand Down Expand Up @@ -8873,8 +8873,8 @@
20760
],
[
"2023-05-19T17:09:55",
20814
"2023-05-19T18:27:46",
20837
]
],
"java": [
Expand Down Expand Up @@ -10371,8 +10371,8 @@
119481
],
[
"2023-05-19T17:09:55",
119591
"2023-05-19T18:27:46",
119605
]
],
"javascript": [
Expand Down Expand Up @@ -11869,8 +11869,8 @@
263290
],
[
"2023-05-19T17:09:55",
263891
"2023-05-19T18:27:46",
263955
]
],
"php": [
Expand Down Expand Up @@ -13367,8 +13367,8 @@
49564
],
[
"2023-05-19T17:09:55",
49623
"2023-05-19T18:27:46",
49635
]
],
"python": [
Expand Down Expand Up @@ -14865,8 +14865,8 @@
206554
],
[
"2023-05-19T17:09:55",
207168
"2023-05-19T18:27:46",
207221
]
],
"ruby": [
Expand Down Expand Up @@ -16359,7 +16359,7 @@
3589
],
[
"2023-05-19T17:09:55",
"2023-05-19T18:27:46",
3601
]
],
Expand Down Expand Up @@ -17853,7 +17853,7 @@
5641
],
[
"2023-05-19T17:09:55",
"2023-05-19T18:27:46",
5654
]
],
Expand Down Expand Up @@ -19351,8 +19351,8 @@
19677
],
[
"2023-05-19T17:09:55",
19746
"2023-05-19T18:27:46",
19748
]
],
"scala": [
Expand Down Expand Up @@ -20847,8 +20847,8 @@
9391
],
[
"2023-05-19T17:09:55",
9422
"2023-05-19T18:27:46",
9423
]
],
"swift": [
Expand Down Expand Up @@ -22341,8 +22341,8 @@
3734
],
[
"2023-05-19T17:09:55",
3745
"2023-05-19T18:27:46",
3747
]
],
"terraform": [
Expand Down Expand Up @@ -23839,8 +23839,8 @@
239156
],
[
"2023-05-19T17:09:55",
239869
"2023-05-19T18:27:46",
239948
]
]
}
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1176,13 +1176,13 @@ But our core architecture allows to build and publish MegaLinter Plugins !
### External Plugins Catalog

<!-- plugins-table-start -->
| Name | Description | Author | Raw URL |
|:----------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [jupyfmt](https://github.com/kpj/jupyfmt#mega-linter-integration) | The uncompromising Jupyter notebook formatter | [Kim Philipp Jablonski](https://github.com/kpj) | [Descriptor](https://raw.githubusercontent.com/kpj/jupyfmt/master/mega-linter-plugin-jupyfmt/jupyfmt.megalinter-descriptor.yml) |
| [linkcheck](https://github.com/shiranr/linkcheck) | Plugin to check and validate markdown links exist and working | [Shiran Rubin](https://github.com/shiranr) | [Descriptor](https://raw.githubusercontent.com/shiranr/linkcheck/main/mega-linter-plugin-linkcheck/linkcheck.megalinter-descriptor.yml) |
| [nitpick](https://github.com/andreoliwa/nitpick#run-as-a-megalinter-plugin) | Command-line tool and flake8 plugin to enforce the same settings across multiple language-independent projects | [W. Augusto Andreoli](https://github.com/andreoliwa) | [Descriptor](https://raw.githubusercontent.com/andreoliwa/nitpick/master/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml) |
| [mustache](https://github.com/one-acre-fund/mega-linter-plugin-logstash) | Plugin to validate [Logstash](https://www.elastic.co/guide/en/logstash/current/configuration.html) pipeline definition files using [mustache](https://github.com/breml/logstash-config) | [Yann Jouanique](https://github.com/Yann-J) | [Descriptor](https://raw.githubusercontent.com/one-acre-fund/mega-linter-plugin-logstash/main/mega-linter-plugin-logstash/logstash.megalinter-descriptor.yml) |
| [salt-lint](https://github.com/ssc-services/mega-linter-plugin-salt) | Checks Salt State files (SLS) for best practices and behavior that could potentially be improved. | [Joachim Grimm](https://github.com/grimmjo) | [Descriptor](https://raw.githubusercontent.com/ssc-services/mega-linter-plugin-salt/main/mega-linter-plugin-salt/salt.megalinter-descriptor.yml) |
| Name | Description | Author | Raw URL |
|:--------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**jupyfmt**](https://github.com/kpj/jupyfmt#mega-linter-integration) | The uncompromising Jupyter notebook formatter | [Kim Philipp Jablonski](https://github.com/kpj) | [Descriptor](https://raw.githubusercontent.com/kpj/jupyfmt/master/mega-linter-plugin-jupyfmt/jupyfmt.megalinter-descriptor.yml) |
| [**linkcheck**](https://github.com/shiranr/linkcheck) | Plugin to check and validate markdown links exist and working | [Shiran Rubin](https://github.com/shiranr) | [Descriptor](https://raw.githubusercontent.com/shiranr/linkcheck/main/mega-linter-plugin-linkcheck/linkcheck.megalinter-descriptor.yml) |
| [**nitpick**](https://github.com/andreoliwa/nitpick#run-as-a-megalinter-plugin) | Command-line tool and flake8 plugin to enforce the same settings across multiple language-independent projects | [W. Augusto Andreoli](https://github.com/andreoliwa) | [Descriptor](https://raw.githubusercontent.com/andreoliwa/nitpick/master/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml) |
| [**mustache**](https://github.com/one-acre-fund/mega-linter-plugin-logstash) | Plugin to validate [Logstash](https://www.elastic.co/guide/en/logstash/current/configuration.html) pipeline definition files using [mustache](https://github.com/breml/logstash-config) | [Yann Jouanique](https://github.com/Yann-J) | [Descriptor](https://raw.githubusercontent.com/one-acre-fund/mega-linter-plugin-logstash/main/mega-linter-plugin-logstash/logstash.megalinter-descriptor.yml) |
| [**salt-lint**](https://github.com/ssc-services/mega-linter-plugin-salt) | Checks Salt State files (SLS) for best practices and behavior that could potentially be improved. | [Joachim Grimm](https://github.com/grimmjo) | [Descriptor](https://raw.githubusercontent.com/ssc-services/mega-linter-plugin-salt/main/mega-linter-plugin-salt/salt.megalinter-descriptor.yml) |
<!-- plugins-table-end -->

> Note: Using an external plugin means you trust its author
Expand Down
14 changes: 7 additions & 7 deletions docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ But our core architecture allows to build and publish MegaLinter Plugins !
## External Plugins Catalog

<!-- plugins-table-start -->
| Name | Description | Author | Raw URL |
|:----------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [jupyfmt](https://github.com/kpj/jupyfmt#mega-linter-integration) | The uncompromising Jupyter notebook formatter | [Kim Philipp Jablonski](https://github.com/kpj) | [Descriptor](https://raw.githubusercontent.com/kpj/jupyfmt/master/mega-linter-plugin-jupyfmt/jupyfmt.megalinter-descriptor.yml) |
| [linkcheck](https://github.com/shiranr/linkcheck) | Plugin to check and validate markdown links exist and working | [Shiran Rubin](https://github.com/shiranr) | [Descriptor](https://raw.githubusercontent.com/shiranr/linkcheck/main/mega-linter-plugin-linkcheck/linkcheck.megalinter-descriptor.yml) |
| [nitpick](https://github.com/andreoliwa/nitpick#run-as-a-megalinter-plugin) | Command-line tool and flake8 plugin to enforce the same settings across multiple language-independent projects | [W. Augusto Andreoli](https://github.com/andreoliwa) | [Descriptor](https://raw.githubusercontent.com/andreoliwa/nitpick/master/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml) |
| [mustache](https://github.com/one-acre-fund/mega-linter-plugin-logstash) | Plugin to validate [Logstash](https://www.elastic.co/guide/en/logstash/current/configuration.html) pipeline definition files using [mustache](https://github.com/breml/logstash-config) | [Yann Jouanique](https://github.com/Yann-J) | [Descriptor](https://raw.githubusercontent.com/one-acre-fund/mega-linter-plugin-logstash/main/mega-linter-plugin-logstash/logstash.megalinter-descriptor.yml) |
| [salt-lint](https://github.com/ssc-services/mega-linter-plugin-salt) | Checks Salt State files (SLS) for best practices and behavior that could potentially be improved. | [Joachim Grimm](https://github.com/grimmjo) | [Descriptor](https://raw.githubusercontent.com/ssc-services/mega-linter-plugin-salt/main/mega-linter-plugin-salt/salt.megalinter-descriptor.yml) |
| Name | Description | Author | Raw URL |
|:--------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**jupyfmt**](https://github.com/kpj/jupyfmt#mega-linter-integration) | The uncompromising Jupyter notebook formatter | [Kim Philipp Jablonski](https://github.com/kpj) | [Descriptor](https://raw.githubusercontent.com/kpj/jupyfmt/master/mega-linter-plugin-jupyfmt/jupyfmt.megalinter-descriptor.yml) |
| [**linkcheck**](https://github.com/shiranr/linkcheck) | Plugin to check and validate markdown links exist and working | [Shiran Rubin](https://github.com/shiranr) | [Descriptor](https://raw.githubusercontent.com/shiranr/linkcheck/main/mega-linter-plugin-linkcheck/linkcheck.megalinter-descriptor.yml) |
| [**nitpick**](https://github.com/andreoliwa/nitpick#run-as-a-megalinter-plugin) | Command-line tool and flake8 plugin to enforce the same settings across multiple language-independent projects | [W. Augusto Andreoli](https://github.com/andreoliwa) | [Descriptor](https://raw.githubusercontent.com/andreoliwa/nitpick/master/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml) |
| [**mustache**](https://github.com/one-acre-fund/mega-linter-plugin-logstash) | Plugin to validate [Logstash](https://www.elastic.co/guide/en/logstash/current/configuration.html) pipeline definition files using [mustache](https://github.com/breml/logstash-config) | [Yann Jouanique](https://github.com/Yann-J) | [Descriptor](https://raw.githubusercontent.com/one-acre-fund/mega-linter-plugin-logstash/main/mega-linter-plugin-logstash/logstash.megalinter-descriptor.yml) |
| [**salt-lint**](https://github.com/ssc-services/mega-linter-plugin-salt) | Checks Salt State files (SLS) for best practices and behavior that could potentially be improved. | [Joachim Grimm](https://github.com/grimmjo) | [Descriptor](https://raw.githubusercontent.com/ssc-services/mega-linter-plugin-salt/main/mega-linter-plugin-salt/salt.megalinter-descriptor.yml) |
<!-- plugins-table-end -->

> Note: Using an external plugin means you trust its author
Expand Down
25 changes: 24 additions & 1 deletion docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@
display: table;
}

/* light mode table header bgcolor */
.md-typeset__table th {
background-color: #f2edfe;
}

/* dark mode table header bgcolor */
[data-md-color-scheme="slate"] .md-typeset__table th {
background-color: hsla(var(--md-hue),25%,25%,1)
}

/* light mode alternating table bg colors */
.md-typeset__table tr:nth-child(2n) {
background-color: #f8f8f8;
}

/* dark mode alternating table bg colors */
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
background-color: hsla(var(--md-hue),25%,25%,1)
}

h1[content~=Home] {
display: none;
}
Expand Down Expand Up @@ -50,4 +70,7 @@ h1[content~=Home] {

--md-footer-bg-color: #B95CE4;

}
--md-typeset-table-color--light: #fff5fb;

}