Merge branch 'main' of github.com:github/docs-internal into toggle-images
This commit is contained in:
@@ -63,7 +63,7 @@ Note that link tags will only render links that are available in the current pag
|
||||
| `{% homepage_link_with_intro /href %}` | The linked page's title and intro, with homepage-specific styling.
|
||||
| `{% link_in_list /href %}` | The linked page's title in a list item.
|
||||
| `{% topic_link_in_list /href %}` | The linked map topic's title in a list item (used in category TOCs).
|
||||
| `{% indented_data_reference foo.bar spaces=NUMBER %}` | A data reference with the specified number of spaces prepended to each line. Defaults to 2 spaces if no spaces included. For example: `{% indented_data_reference reusables.enterprise_management_console.enable-disable-security-features %}`
|
||||
| `{% indented_data_reference foo.bar spaces=NUMBER %}` | A data reference with the specified number of spaces prepended to each line. Defaults to 2 spaces if no spaces included. For example: `{% indented_data_reference reusables.pages.wildcard-dns-warning spaces=3 %}`
|
||||
|
||||
## Creating tags
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const assert = require('assert')
|
||||
|
||||
// This class supports a tag that expects two parameters, a data reference and `spaces=NUMBER`:
|
||||
//
|
||||
// {% indented_data_reference site.data.foo.bar spaces=NUMBER %}
|
||||
// {% indented_data_reference foo.bar spaces=NUMBER %}
|
||||
// Example: {% indented_data_reference reusables.pages.wildcard-dns-warning spaces=3 %}
|
||||
//
|
||||
// This tag renders the given data reference with the specified number of spaces
|
||||
// prepended to each line. This results in correct formatting when the data
|
||||
|
||||
@@ -46895,7 +46895,7 @@
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Response",
|
||||
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"python\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-27T15:05:21Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">49</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">201</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n },\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/my-branch\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-31T22:46:44Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">32</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Python Security Analysis\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"1.2.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n }\n]\n</code></pre>"
|
||||
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"python\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze/language:python\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-27T15:05:21Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">49</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">201</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n },\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/my-branch\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build/\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-31T22:46:44Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">32</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Python Security Analysis\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"1.2.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n }\n]\n</code></pre>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -46987,7 +46987,7 @@
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Default response",
|
||||
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c18c69115654ff0166991962832dc2bd7756e655\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"javascript\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2021-01-13T11:55:49Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">3</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">67</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">3602840</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"47177e22-5596-11eb-80a1-c1e54ef945c6\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n}\n</code></pre>"
|
||||
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c18c69115654ff0166991962832dc2bd7756e655\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"javascript\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze/language:javascript\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2021-01-13T11:55:49Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">3</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">67</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">3602840</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"47177e22-5596-11eb-80a1-c1e54ef945c6\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n}\n</code></pre>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -47310,11 +47310,6 @@
|
||||
}
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Response"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "202",
|
||||
"httpStatusMessage": "Accepted",
|
||||
|
||||
@@ -41292,7 +41292,7 @@
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Response",
|
||||
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"python\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-27T15:05:21Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">49</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">201</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n },\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/my-branch\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-31T22:46:44Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">32</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Python Security Analysis\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"1.2.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n }\n]\n</code></pre>"
|
||||
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"python\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze/language:python\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-27T15:05:21Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">49</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">201</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n },\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/my-branch\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build/\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-31T22:46:44Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">32</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Python Security Analysis\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"1.2.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n }\n]\n</code></pre>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -41507,11 +41507,6 @@
|
||||
}
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Response"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "202",
|
||||
"httpStatusMessage": "Accepted",
|
||||
|
||||
@@ -45773,7 +45773,7 @@
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Response",
|
||||
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"python\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-27T15:05:21Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">49</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">201</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n },\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/my-branch\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-31T22:46:44Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">32</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Python Security Analysis\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"1.2.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n }\n]\n</code></pre>"
|
||||
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"python\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze/language:python\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-27T15:05:21Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">49</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">201</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n },\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/my-branch\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build/\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-31T22:46:44Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">32</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Python Security Analysis\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"1.2.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n }\n]\n</code></pre>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -45988,11 +45988,6 @@
|
||||
}
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Response"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "202",
|
||||
"httpStatusMessage": "Accepted",
|
||||
|
||||
@@ -39584,7 +39584,7 @@
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Response",
|
||||
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"python\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-27T15:05:21Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">49</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">201</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n },\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/my-branch\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-31T22:46:44Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">32</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Python Security Analysis\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"1.2.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n }\n]\n</code></pre>"
|
||||
"payload": "<pre><code class=\"hljs language-json\">[\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"d99612c3e1f2970085cfbaeadf8f010ef69bad83\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"python\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze/language:python\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-27T15:05:21Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">49</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">201</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n },\n {\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/my-branch\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c8cff6510d4d084fb1b4aa13b64b97ca12b07321\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/shiftleft.yml:build/\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-08-31T22:46:44Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">17</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">32</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">200</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"8981cd8e-b078-4ac3-a3be-1dad7dbd0b582\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Python Security Analysis\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"1.2.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n }\n]\n</code></pre>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -39676,7 +39676,7 @@
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Default response",
|
||||
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c18c69115654ff0166991962832dc2bd7756e655\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"javascript\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2021-01-13T11:55:49Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">3</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">67</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">3602840</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"47177e22-5596-11eb-80a1-c1e54ef945c6\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n}\n</code></pre>"
|
||||
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"ref\"</span>: <span class=\"hljs-string\">\"refs/heads/main\"</span>,\n <span class=\"hljs-attr\">\"commit_sha\"</span>: <span class=\"hljs-string\">\"c18c69115654ff0166991962832dc2bd7756e655\"</span>,\n <span class=\"hljs-attr\">\"analysis_key\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze\"</span>,\n <span class=\"hljs-attr\">\"environment\"</span>: <span class=\"hljs-string\">\"{\\\"language\\\":\\\"javascript\\\"}\"</span>,\n <span class=\"hljs-attr\">\"error\"</span>: <span class=\"hljs-string\">\"\"</span>,\n <span class=\"hljs-attr\">\"category\"</span>: <span class=\"hljs-string\">\".github/workflows/codeql-analysis.yml:analyze/language:javascript\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2021-01-13T11:55:49Z\"</span>,\n <span class=\"hljs-attr\">\"results_count\"</span>: <span class=\"hljs-number\">3</span>,\n <span class=\"hljs-attr\">\"rules_count\"</span>: <span class=\"hljs-number\">67</span>,\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">3602840</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201\"</span>,\n <span class=\"hljs-attr\">\"sarif_id\"</span>: <span class=\"hljs-string\">\"47177e22-5596-11eb-80a1-c1e54ef945c6\"</span>,\n <span class=\"hljs-attr\">\"tool\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"CodeQL\"</span>,\n <span class=\"hljs-attr\">\"guid\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"version\"</span>: <span class=\"hljs-string\">\"2.4.0\"</span>\n },\n <span class=\"hljs-attr\">\"deletable\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"warning\"</span>: <span class=\"hljs-string\">\"\"</span>\n}\n</code></pre>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -39891,11 +39891,6 @@
|
||||
}
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"httpStatusCode": "200",
|
||||
"httpStatusMessage": "OK",
|
||||
"description": "Response"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "202",
|
||||
"httpStatusMessage": "Accepted",
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "checks",
|
||||
"description": "Rich interactions with checks run by your integrations."
|
||||
},
|
||||
{
|
||||
"name": "classroom",
|
||||
"description": "Endpoints that give information about Classroom-related data."
|
||||
},
|
||||
{
|
||||
"name": "code-scanning",
|
||||
"description": "Retrieve code scanning alerts from a repository."
|
||||
@@ -164291,6 +164295,10 @@
|
||||
"type": "string",
|
||||
"description": "Identifies the variable values associated with the environment in which this analysis was performed."
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"description": "Identifies the configuration and environment under which the analysis was executed."
|
||||
},
|
||||
"error": {
|
||||
"type": "string",
|
||||
"example": "error reading field xyz"
|
||||
@@ -164382,6 +164390,7 @@
|
||||
"analysis_key": ".github/workflows/codeql-analysis.yml:analyze",
|
||||
"environment": "{\"language\":\"python\"}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/codeql-analysis.yml:analyze/language:python",
|
||||
"created_at": "2020-08-27T15:05:21Z",
|
||||
"results_count": 17,
|
||||
"rules_count": 49,
|
||||
@@ -164402,6 +164411,7 @@
|
||||
"analysis_key": ".github/workflows/shiftleft.yml:build",
|
||||
"environment": "{}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/shiftleft.yml:build/",
|
||||
"created_at": "2020-08-31T22:46:44Z",
|
||||
"results_count": 17,
|
||||
"rules_count": 32,
|
||||
@@ -164577,6 +164587,10 @@
|
||||
"type": "string",
|
||||
"description": "Identifies the variable values associated with the environment in which this analysis was performed."
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"description": "Identifies the configuration and environment under which the analysis was executed."
|
||||
},
|
||||
"error": {
|
||||
"type": "string",
|
||||
"example": "error reading field xyz"
|
||||
@@ -164667,6 +164681,7 @@
|
||||
"analysis_key": ".github/workflows/codeql-analysis.yml:analyze",
|
||||
"environment": "{\"language\":\"javascript\"}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/codeql-analysis.yml:analyze/language:javascript",
|
||||
"created_at": "2021-01-13T11:55:49Z",
|
||||
"results_count": 3,
|
||||
"rules_count": 67,
|
||||
@@ -165080,15 +165095,6 @@
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "checks",
|
||||
"description": "Rich interactions with checks run by your integrations."
|
||||
},
|
||||
{
|
||||
"name": "classroom",
|
||||
"description": "Endpoints that give information about Classroom-related data."
|
||||
},
|
||||
{
|
||||
"name": "code-scanning",
|
||||
"description": "Retrieve code scanning alerts from a repository."
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "checks",
|
||||
"description": "Rich interactions with checks run by your integrations."
|
||||
},
|
||||
{
|
||||
"name": "classroom",
|
||||
"description": "Endpoints that give information about Classroom-related data."
|
||||
},
|
||||
{
|
||||
"name": "code-scanning",
|
||||
"description": "Retrieve code scanning alerts from a repository."
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "checks",
|
||||
"description": "Rich interactions with checks run by your integrations."
|
||||
},
|
||||
{
|
||||
"name": "classroom",
|
||||
"description": "Endpoints that give information about Classroom-related data."
|
||||
},
|
||||
{
|
||||
"name": "code-scanning",
|
||||
"description": "Retrieve code scanning alerts from a repository."
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "checks",
|
||||
"description": "Rich interactions with checks run by your integrations."
|
||||
},
|
||||
{
|
||||
"name": "classroom",
|
||||
"description": "Endpoints that give information about Classroom-related data."
|
||||
},
|
||||
{
|
||||
"name": "code-scanning",
|
||||
"description": "Retrieve code scanning alerts from a repository."
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "checks",
|
||||
"description": "Rich interactions with checks run by your integrations."
|
||||
},
|
||||
{
|
||||
"name": "classroom",
|
||||
"description": "Endpoints that give information about Classroom-related data."
|
||||
},
|
||||
{
|
||||
"name": "code-scanning",
|
||||
"description": "Retrieve code scanning alerts from a repository."
|
||||
@@ -145516,6 +145520,10 @@
|
||||
"type": "string",
|
||||
"description": "Identifies the variable values associated with the environment in which this analysis was performed."
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"description": "Identifies the configuration and environment under which the analysis was executed."
|
||||
},
|
||||
"error": {
|
||||
"type": "string",
|
||||
"example": "error reading field xyz"
|
||||
@@ -145607,6 +145615,7 @@
|
||||
"analysis_key": ".github/workflows/codeql-analysis.yml:analyze",
|
||||
"environment": "{\"language\":\"python\"}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/codeql-analysis.yml:analyze/language:python",
|
||||
"created_at": "2020-08-27T15:05:21Z",
|
||||
"results_count": 17,
|
||||
"rules_count": 49,
|
||||
@@ -145627,6 +145636,7 @@
|
||||
"analysis_key": ".github/workflows/shiftleft.yml:build",
|
||||
"environment": "{}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/shiftleft.yml:build/",
|
||||
"created_at": "2020-08-31T22:46:44Z",
|
||||
"results_count": 17,
|
||||
"rules_count": 32,
|
||||
@@ -145808,15 +145818,6 @@
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "checks",
|
||||
"description": "Rich interactions with checks run by your integrations."
|
||||
},
|
||||
{
|
||||
"name": "classroom",
|
||||
"description": "Endpoints that give information about Classroom-related data."
|
||||
},
|
||||
{
|
||||
"name": "code-scanning",
|
||||
"description": "Retrieve code scanning alerts from a repository."
|
||||
@@ -150799,6 +150803,10 @@
|
||||
"type": "string",
|
||||
"description": "Identifies the variable values associated with the environment in which this analysis was performed."
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"description": "Identifies the configuration and environment under which the analysis was executed."
|
||||
},
|
||||
"error": {
|
||||
"type": "string",
|
||||
"example": "error reading field xyz"
|
||||
@@ -150890,6 +150898,7 @@
|
||||
"analysis_key": ".github/workflows/codeql-analysis.yml:analyze",
|
||||
"environment": "{\"language\":\"python\"}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/codeql-analysis.yml:analyze/language:python",
|
||||
"created_at": "2020-08-27T15:05:21Z",
|
||||
"results_count": 17,
|
||||
"rules_count": 49,
|
||||
@@ -150910,6 +150919,7 @@
|
||||
"analysis_key": ".github/workflows/shiftleft.yml:build",
|
||||
"environment": "{}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/shiftleft.yml:build/",
|
||||
"created_at": "2020-08-31T22:46:44Z",
|
||||
"results_count": 17,
|
||||
"rules_count": 32,
|
||||
@@ -151091,15 +151101,6 @@
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "checks",
|
||||
"description": "Rich interactions with checks run by your integrations."
|
||||
},
|
||||
{
|
||||
"name": "classroom",
|
||||
"description": "Endpoints that give information about Classroom-related data."
|
||||
},
|
||||
{
|
||||
"name": "code-scanning",
|
||||
"description": "Retrieve code scanning alerts from a repository."
|
||||
@@ -130943,6 +130947,10 @@
|
||||
"type": "string",
|
||||
"description": "Identifies the variable values associated with the environment in which this analysis was performed."
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"description": "Identifies the configuration and environment under which the analysis was executed."
|
||||
},
|
||||
"error": {
|
||||
"type": "string",
|
||||
"example": "error reading field xyz"
|
||||
@@ -131034,6 +131042,7 @@
|
||||
"analysis_key": ".github/workflows/codeql-analysis.yml:analyze",
|
||||
"environment": "{\"language\":\"python\"}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/codeql-analysis.yml:analyze/language:python",
|
||||
"created_at": "2020-08-27T15:05:21Z",
|
||||
"results_count": 17,
|
||||
"rules_count": 49,
|
||||
@@ -131054,6 +131063,7 @@
|
||||
"analysis_key": ".github/workflows/shiftleft.yml:build",
|
||||
"environment": "{}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/shiftleft.yml:build/",
|
||||
"created_at": "2020-08-31T22:46:44Z",
|
||||
"results_count": 17,
|
||||
"rules_count": 32,
|
||||
@@ -131229,6 +131239,10 @@
|
||||
"type": "string",
|
||||
"description": "Identifies the variable values associated with the environment in which this analysis was performed."
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"description": "Identifies the configuration and environment under which the analysis was executed."
|
||||
},
|
||||
"error": {
|
||||
"type": "string",
|
||||
"example": "error reading field xyz"
|
||||
@@ -131319,6 +131333,7 @@
|
||||
"analysis_key": ".github/workflows/codeql-analysis.yml:analyze",
|
||||
"environment": "{\"language\":\"javascript\"}",
|
||||
"error": "",
|
||||
"category": ".github/workflows/codeql-analysis.yml:analyze/language:javascript",
|
||||
"created_at": "2021-01-13T11:55:49Z",
|
||||
"results_count": 3,
|
||||
"rules_count": 67,
|
||||
@@ -131499,15 +131514,6 @@
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
|
||||
13
stylesheets/alerts.scss
Normal file
13
stylesheets/alerts.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
/* Notes, tips, warning, and danger styles
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.note,
|
||||
.tip,
|
||||
.warning,
|
||||
.danger {
|
||||
// remove extra space under lists inside of notes
|
||||
ul,
|
||||
ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
@@ -41,145 +41,3 @@
|
||||
.article-grid-body {
|
||||
grid-area: bottom;
|
||||
}
|
||||
|
||||
/* Deprecation banner
|
||||
------------------------------------------------------------------------------*/
|
||||
.deprecation-banner {
|
||||
& + .alert {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
& > *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
& > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code style overrides
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.markdown-body .highlight pre,
|
||||
.markdown-body pre {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.height-constrained-code-block pre {
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* Breadcrumbs
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.breadcrumbs-wrapper {
|
||||
@include breakpoint(xl) {
|
||||
height: 39px;
|
||||
}
|
||||
}
|
||||
|
||||
.breadcrumbs a:not(:last-child)::after,
|
||||
.breadcrumbs span:not(:last-child)::after {
|
||||
content: "/";
|
||||
color: var(--color-auto-gray-4);
|
||||
padding-right: $spacer-1;
|
||||
padding-left: $spacer-2;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Numbered procedures (step 1, step 2, ...)
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.markdown-body ol {
|
||||
counter-reset: li;
|
||||
list-style: none;
|
||||
position: relative;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.markdown-body ol > li {
|
||||
padding: 15px 0 15px 55px;
|
||||
position: relative;
|
||||
margin-bottom: 5px;
|
||||
border-top: 3px solid var(--color-auto-gray-2);
|
||||
}
|
||||
|
||||
.markdown-body ol > li:before {
|
||||
content: counter(li);
|
||||
counter-increment: li;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 30px;
|
||||
padding: 0 10px 0 0;
|
||||
color: var(--color-auto-gray-4);
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
line-height: 35px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.markdown-body ol > li > p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.markdown-body ol > li > p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.markdown-body ol > li:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.procedural-image-wrapper {
|
||||
display: block;
|
||||
padding: 10px 0;
|
||||
margin: 20px auto 0 auto;
|
||||
}
|
||||
|
||||
.procedural-image-wrapper img {
|
||||
border-radius: 5px;
|
||||
border: 2px solid var(--color-auto-gray-2);
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
// make sure images that contain emoji render at the expected size
|
||||
img[src*="https://github.githubassets.com/images/icons/emoji"] {
|
||||
height: 20;
|
||||
width: 20;
|
||||
align: absmiddle;
|
||||
}
|
||||
|
||||
/* Notes, tips, warning, and danger styles
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.note,
|
||||
.tip,
|
||||
.warning,
|
||||
.danger {
|
||||
// remove extra space under lists inside of notes
|
||||
ul,
|
||||
ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
18
stylesheets/breadcrumbs.scss
Normal file
18
stylesheets/breadcrumbs.scss
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
/* Breadcrumbs
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.breadcrumbs-wrapper {
|
||||
@include breakpoint(xl) {
|
||||
height: 39px;
|
||||
}
|
||||
}
|
||||
|
||||
.breadcrumbs a:not(:last-child)::after,
|
||||
.breadcrumbs span:not(:last-child)::after {
|
||||
content: "/";
|
||||
color: var(--color-auto-gray-4);
|
||||
padding-right: $spacer-1;
|
||||
padding-left: $spacer-2;
|
||||
display: inline-block;
|
||||
}
|
||||
22
stylesheets/bump-link.scss
Normal file
22
stylesheets/bump-link.scss
Normal file
@@ -0,0 +1,22 @@
|
||||
// Arrow links
|
||||
.Bump-link-symbol {
|
||||
display: inline-block;
|
||||
transition: $transition-time / 2;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.Bump-link:hover .Bump-link-symbol {
|
||||
transform: translateX(3px);
|
||||
}
|
||||
|
||||
.Bump-link--hover .Bump-link-symbol {
|
||||
color: inherit;
|
||||
opacity: 0;
|
||||
transition: $transition-time / 2;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.Bump-link--hover:hover .Bump-link-symbol {
|
||||
opacity: 1;
|
||||
transform: translateX(3px);
|
||||
}
|
||||
47
stylesheets/code.scss
Normal file
47
stylesheets/code.scss
Normal file
@@ -0,0 +1,47 @@
|
||||
/* Code style overrides
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.markdown-body .highlight pre,
|
||||
.markdown-body pre {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.height-constrained-code-block pre {
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.markdown-body .code-extra {
|
||||
margin-top: $spacer-4;
|
||||
|
||||
pre {
|
||||
margin-top: 0 !important;
|
||||
border-top-left-radius: 0 !important;
|
||||
border-top-right-radius: 0 !important;
|
||||
border-left: 1px var(--color-auto-gray-2) solid !important;
|
||||
border-bottom: 1px var(--color-auto-gray-2) solid !important;
|
||||
border-right: 1px var(--color-auto-gray-2) solid !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* code styles */
|
||||
pre .redbox {
|
||||
border: 2px solid var(--color-auto-red-5);
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
pre .greenbox {
|
||||
border: 2px solid var(--color-auto-green-5);
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
pre .bluebox {
|
||||
border: 2px solid var(--color-auto-blue-5);
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
24
stylesheets/deprecation-banner.scss
Normal file
24
stylesheets/deprecation-banner.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
/* Deprecation banner
|
||||
------------------------------------------------------------------------------*/
|
||||
.deprecation-banner {
|
||||
& + .alert {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
& > *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
& > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
17
stylesheets/extended-markdown.scss
Normal file
17
stylesheets/extended-markdown.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.extended-markdown p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.extended-markdown p:not(:first-child) {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.extended-markdown.note pre {
|
||||
background: none;
|
||||
padding: 10px 10px 10px 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.extended-markdown.note pre code {
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
16
stylesheets/featured-links.scss
Normal file
16
stylesheets/featured-links.scss
Normal file
@@ -0,0 +1,16 @@
|
||||
/* Getting Started and Popular Articles sections in article layout */
|
||||
.markdown-body div.featured-links {
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.markdown-body div.featured-links-heading {
|
||||
padding-top: 24px;
|
||||
}
|
||||
|
||||
.markdown-body div.featured-links p.link-with-intro-intro {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.markdown-body div.featured-links h4.link-with-intro-title {
|
||||
margin-top: 0;
|
||||
}
|
||||
@@ -1,45 +1,4 @@
|
||||
/* Styles not incorporated into Primer yet
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
// Text styling
|
||||
.underline-dashed {
|
||||
display: inline;
|
||||
padding-bottom: $spacer-1;
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
var(--color-auto-gray-3) 50%,
|
||||
transparent 0%
|
||||
);
|
||||
background-repeat: repeat-x;
|
||||
background-position: bottom;
|
||||
background-size: 10px 1px;
|
||||
}
|
||||
|
||||
// Arrow links
|
||||
.Bump-link-symbol {
|
||||
display: inline-block;
|
||||
transition: $transition-time / 2;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.Bump-link:hover .Bump-link-symbol {
|
||||
transform: translateX(3px);
|
||||
}
|
||||
|
||||
.Bump-link--hover .Bump-link-symbol {
|
||||
color: inherit;
|
||||
opacity: 0;
|
||||
transition: $transition-time / 2;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.Bump-link--hover:hover .Bump-link-symbol {
|
||||
opacity: 1;
|
||||
transform: translateX(3px);
|
||||
}
|
||||
|
||||
// stylelint-disable primer/no-unused-vars
|
||||
|
||||
// Typography
|
||||
|
||||
$marketing-font-path: "/assets/fonts/alliance/";
|
||||
37
stylesheets/headings.scss
Normal file
37
stylesheets/headings.scss
Normal file
@@ -0,0 +1,37 @@
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4 {
|
||||
a {
|
||||
color: var(--color-auto-gray-9);
|
||||
}
|
||||
}
|
||||
|
||||
// all h3 headers that are links should be blue-500
|
||||
// except those on each product's toc
|
||||
h3 a {
|
||||
color: var(--color-auto-blue-5);
|
||||
}
|
||||
|
||||
.markdown-body {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: $font-mktg;
|
||||
font-weight: $font-weight-semibold;
|
||||
padding-top: $spacer-3;
|
||||
}
|
||||
}
|
||||
|
||||
// needs specificity to override
|
||||
.markdown-body .lead-mktg p {
|
||||
color: var(--color-auto-gray-9);
|
||||
}
|
||||
|
||||
.product-callout p,
|
||||
.contributor-callout p {
|
||||
margin: 0;
|
||||
}
|
||||
8
stylesheets/helpfulness.scss
Normal file
8
stylesheets/helpfulness.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
/* Helpfulness survey override */
|
||||
:checked + .x-radio-label {
|
||||
background: var(--color-auto-blue-5);
|
||||
|
||||
svg {
|
||||
fill: var(--color-auto-inverse);
|
||||
}
|
||||
}
|
||||
40
stylesheets/images.scss
Normal file
40
stylesheets/images.scss
Normal file
@@ -0,0 +1,40 @@
|
||||
.procedural-image-wrapper {
|
||||
display: block;
|
||||
padding: 10px 0;
|
||||
margin: 20px auto 0 auto;
|
||||
}
|
||||
|
||||
.procedural-image-wrapper img {
|
||||
border-radius: 5px;
|
||||
border: 2px solid var(--color-auto-gray-2);
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
// make sure images that contain emoji render at the expected size
|
||||
img[src*="https://github.githubassets.com/images/icons/emoji"] {
|
||||
height: 20;
|
||||
width: 20;
|
||||
align: absmiddle;
|
||||
}
|
||||
|
||||
.markdown-body img {
|
||||
max-height: 600px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.markdown-body button.btn-toggle-image {
|
||||
border: none;
|
||||
margin-top: 20px;
|
||||
padding: 10px 0;
|
||||
max-width: calc(100% - 32px);
|
||||
background-color: transparent;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.markdown-body button.btn-toggle-image img {
|
||||
padding: 0;
|
||||
max-height: 500px;
|
||||
border: 2px solid var(--color-auto-gray-2);
|
||||
}
|
||||
@@ -7,25 +7,36 @@
|
||||
|
||||
$marketing-font-path: "/dist/fonts/";
|
||||
@import "@primer/css/marketing/index.scss";
|
||||
@import "font-mktg.scss";
|
||||
|
||||
// Additional styles
|
||||
@import "new-mktg.scss";
|
||||
@import "type.scss";
|
||||
@import "nav.scss";
|
||||
@import "alerts.scss";
|
||||
@import "article.scss";
|
||||
@import "search.scss";
|
||||
@import "overrides.scss";
|
||||
@import "sidebar.scss";
|
||||
@import "scroll-button.scss";
|
||||
@import "toggle-images-button.scss";
|
||||
@import "breadcrumbs.scss";
|
||||
@import "bump-link.scss";
|
||||
@import "code.scss";
|
||||
@import "deprecation-banner.scss";
|
||||
@import "dev-toc.scss";
|
||||
@import "explorer.scss";
|
||||
@import "syntax-highlighting.scss";
|
||||
@import "tables.scss";
|
||||
@import "extended-markdown.scss";
|
||||
@import "featured-links.scss";
|
||||
@import "font-mktg.scss";
|
||||
@import "gradient.scss";
|
||||
@import "headings.scss";
|
||||
@import "helpfulness.scss";
|
||||
@import "images.scss";
|
||||
@import "lists.scss";
|
||||
@import "nav.scss";
|
||||
@import "opacity.scss";
|
||||
@import "print.scss";
|
||||
@import "shadows.scss";
|
||||
@import "product-landing.scss";
|
||||
@import "dev-toc.scss";
|
||||
@import "gradient.scss";
|
||||
@import "product-sublanding.scss";
|
||||
@import "release-notes.scss";
|
||||
@import "scroll-button.scss";
|
||||
@import "search.scss";
|
||||
@import "shadows.scss";
|
||||
@import "sidebar.scss";
|
||||
@import "summary.scss";
|
||||
@import "syntax-highlighting.scss";
|
||||
@import "tables.scss";
|
||||
@import "toggle-images-button.scss";
|
||||
@import "underline-dashed.scss";
|
||||
|
||||
77
stylesheets/lists.scss
Normal file
77
stylesheets/lists.scss
Normal file
@@ -0,0 +1,77 @@
|
||||
/* Numbered procedures (step 1, step 2, ...)
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.markdown-body ol {
|
||||
counter-reset: li;
|
||||
list-style: none;
|
||||
position: relative;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.markdown-body ol > li {
|
||||
padding: 15px 0 15px 55px;
|
||||
position: relative;
|
||||
margin-bottom: 5px;
|
||||
border-top: 3px solid var(--color-auto-gray-2);
|
||||
}
|
||||
|
||||
.markdown-body ol > li:before {
|
||||
content: counter(li);
|
||||
counter-increment: li;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 30px;
|
||||
padding: 0 10px 0 0;
|
||||
color: var(--color-auto-gray-4);
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
line-height: 35px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.markdown-body ol > li > p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.markdown-body ol > li > p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.markdown-body ol > li:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.markdown-body ol > li {
|
||||
padding: $spacer-2 0 $spacer-2 $spacer-7;
|
||||
border: 0;
|
||||
|
||||
&:before {
|
||||
top: 2px;
|
||||
font-size: $spacer-3;
|
||||
width: $spacer-4;
|
||||
}
|
||||
|
||||
p:not(:first-child) {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.extended-markdown {
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown-body ul ul,
|
||||
.markdown-body ul ol,
|
||||
.markdown-body ol ol,
|
||||
.markdown-body ol ul {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
@@ -1,146 +0,0 @@
|
||||
/* Override Primer styles
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.markdown-body {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: $font-mktg;
|
||||
font-weight: $font-weight-semibold;
|
||||
padding-top: $spacer-3;
|
||||
}
|
||||
}
|
||||
|
||||
// NB: Note that there's also overlapping styling in "article.scss"
|
||||
.markdown-body ol > li {
|
||||
padding: $spacer-2 0 $spacer-2 $spacer-7;
|
||||
border: 0;
|
||||
|
||||
&:before {
|
||||
top: 2px;
|
||||
font-size: $spacer-3;
|
||||
width: $spacer-4;
|
||||
}
|
||||
|
||||
p:not(:first-child) {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.extended-markdown {
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown-body ul ul,
|
||||
.markdown-body ul ol,
|
||||
.markdown-body ol ol,
|
||||
.markdown-body ol ul {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
// needs specificity to override
|
||||
.markdown-body .lead-mktg p {
|
||||
color: var(--color-auto-gray-9);
|
||||
}
|
||||
|
||||
.extended-markdown p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.extended-markdown p:not(:first-child) {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.extended-markdown.note pre {
|
||||
background: none;
|
||||
padding: 10px 10px 10px 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.extended-markdown.note pre code {
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.product-callout p,
|
||||
.contributor-callout p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// Largely overwritten in tables.scss
|
||||
.markdown-body table {
|
||||
display: table;
|
||||
table-layout: fixed;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* Getting Started and Popular Articles sections in article layout */
|
||||
.markdown-body div.featured-links {
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.markdown-body div.featured-links-heading {
|
||||
padding-top: 24px;
|
||||
}
|
||||
|
||||
.markdown-body div.featured-links p.link-with-intro-intro {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.markdown-body div.featured-links h4.link-with-intro-title {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* code styles */
|
||||
pre .redbox {
|
||||
border: 2px solid var(--color-auto-red-5);
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
pre .greenbox {
|
||||
border: 2px solid var(--color-auto-green-5);
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
pre .bluebox {
|
||||
border: 2px solid var(--color-auto-blue-5);
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
/* Helpfulness survey override */
|
||||
:checked + .x-radio-label {
|
||||
background: var(--color-auto-blue-5);
|
||||
|
||||
svg {
|
||||
fill: var(--color-auto-inverse);
|
||||
}
|
||||
}
|
||||
|
||||
.markdown-body img {
|
||||
max-height: 600px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.markdown-body button.btn-toggle-image {
|
||||
border: none;
|
||||
margin-top: 20px;
|
||||
padding: 10px 0;
|
||||
max-width: calc(100% - 32px);
|
||||
background-color: transparent;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.markdown-body button.btn-toggle-image img {
|
||||
padding: 0;
|
||||
max-height: 500px;
|
||||
border: 2px solid var(--color-auto-gray-2);
|
||||
}
|
||||
23
stylesheets/summary.scss
Normal file
23
stylesheets/summary.scss
Normal file
@@ -0,0 +1,23 @@
|
||||
summary {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.markdown-body {
|
||||
summary {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,19 +5,6 @@ from https://unpkg.com/highlight.js@9.15.8/styles/github.css
|
||||
|
||||
*/
|
||||
|
||||
.markdown-body .code-extra {
|
||||
margin-top: $spacer-4;
|
||||
|
||||
pre {
|
||||
margin-top: 0 !important;
|
||||
border-top-left-radius: 0 !important;
|
||||
border-top-right-radius: 0 !important;
|
||||
border-left: 1px var(--color-auto-gray-2) solid !important;
|
||||
border-bottom: 1px var(--color-auto-gray-2) solid !important;
|
||||
border-right: 1px var(--color-auto-gray-2) solid !important;
|
||||
}
|
||||
}
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
// Largely overwritten in tables.scss
|
||||
.markdown-body table {
|
||||
display: table;
|
||||
table-layout: fixed;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.markdown-body table {
|
||||
border-collapse: collapse;
|
||||
position: relative;
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
/* Global type styles
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4 {
|
||||
a {
|
||||
color: var(--color-auto-gray-9);
|
||||
}
|
||||
}
|
||||
|
||||
summary {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.markdown-body {
|
||||
summary {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// all h3 headers that are links should be blue-500
|
||||
// except those on each product's toc
|
||||
h3 a {
|
||||
color: var(--color-auto-blue-5);
|
||||
}
|
||||
13
stylesheets/underline-dashed.scss
Normal file
13
stylesheets/underline-dashed.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
// Text styling
|
||||
.underline-dashed {
|
||||
display: inline;
|
||||
padding-bottom: $spacer-1;
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
var(--color-auto-gray-3) 50%,
|
||||
transparent 0%
|
||||
);
|
||||
background-repeat: repeat-x;
|
||||
background-position: bottom;
|
||||
background-size: 10px 1px;
|
||||
}
|
||||
Reference in New Issue
Block a user