Merge branch 'main' into patch-2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Improve existing content.
|
||||
name: Improve existing content
|
||||
description: Make a suggestion to improve the content in an existing article.
|
||||
labels:
|
||||
- content
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Partner-owned product documentation.
|
||||
name: Partner-owned product documentation
|
||||
description: Initiate a set of tasks to be completed by a GitHub partner wishing to document how their product works with GitHub.
|
||||
labels:
|
||||
- partner
|
||||
|
||||
@@ -71,20 +71,25 @@ jobs:
|
||||
head: context.payload.pull_request.head.sha
|
||||
})
|
||||
|
||||
let changedFiles = response.data.files
|
||||
.map(e => e.filename)
|
||||
.filter(file => file.startsWith('content/') && !file.includes('index'))
|
||||
const files = response.data.files
|
||||
|
||||
let markdownTable = '| **Article in Staging** | **Live Article** | **Source** | **Changes** |\n| ----------- | ----------- | ----------- | ----------- |\n'
|
||||
for (let file of changedFiles) {
|
||||
file = file.split('content')[1]
|
||||
const fileURL = file.substring(0, file.length-3)
|
||||
const stagingLink = `https://${stagingPrefix}.herokuapp.com${fileURL}`
|
||||
let fileTitle = file.split('/').pop()
|
||||
fileTitle = fileTitle.substring(0, fileTitle.length - 3)
|
||||
const markdownLine = '| [' + fileTitle + '](' + stagingLink + ') | [' + fileTitle + '](https://docs.github.com' + fileURL + ') | | |\n'
|
||||
markdownTable += markdownLine
|
||||
}
|
||||
let markdownTable = '| **Source** | **Staging** | **Production** | **What Changed** |\n|:----------- |:----------- |:----------- |:----------- |\n'
|
||||
|
||||
files.filter(({ filename }) => filename.startsWith('content/') && !filename.endsWith('/index.md'))
|
||||
.forEach(file => {
|
||||
const fileName = file.filename.split('content/')[1]
|
||||
const sourceUrl = file.blob_url
|
||||
const fileUrl = fileName.substring(0, fileName.split('.')[0])
|
||||
const stagingLink = `https://${stagingPrefix}.herokuapp.com/${fileUrl}`
|
||||
let markdownLine = ''
|
||||
|
||||
if (file.status == 'modified') {
|
||||
markdownLine = '| [content/' + fileName + '](' + sourceUrl + ') | [Modified](' + stagingLink + ') | [Original](https://docs.github.com/' + fileUrl + ') | | |\n'
|
||||
} else if (file.status == 'added') {
|
||||
markdownLine = '| New file: [content/' + fileName + '](' + sourceUrl + ') | [Modified](' + stagingLink + ') | | | |\n'
|
||||
}
|
||||
markdownTable += markdownLine
|
||||
})
|
||||
|
||||
function getStagingPrefix (prefix, prNumber, branch) {
|
||||
// Added a - in front of prNumber
|
||||
@@ -102,7 +107,7 @@ jobs:
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
comment-author: 'github-actions[bot]'
|
||||
body-includes: '## ⚠️ Automatically generated comment ⚠️'
|
||||
body-includes: '<!-- MODIFIED_CONTENT_LINKING_COMMENT -->'
|
||||
|
||||
- name: Update comment
|
||||
uses: peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd
|
||||
@@ -110,8 +115,9 @@ jobs:
|
||||
comment-id: ${{ steps.findComment.outputs.comment-id }}
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
body: |
|
||||
## ⚠️ Automatically generated comment ⚠️
|
||||
**This comment is automatically generated and will be overwritten the every time changes are committed to this branch.**
|
||||
<!-- MODIFIED_CONTENT_LINKING_COMMENT -->
|
||||
## Automatically generated comment ℹ️
|
||||
**This comment is automatically generated and will be overwritten every time changes are committed to this branch.**
|
||||
|
||||
The table contains an overview of files in the `content` directory that have been changed in this pull request. It's provided to make it easy to review your changes on the staging site. Please note that changes to the `data` directory will not show up in this table.
|
||||
|
||||
|
||||
1
.github/workflows/staging-build-pr.yml
vendored
1
.github/workflows/staging-build-pr.yml
vendored
@@ -15,7 +15,6 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.repository == 'github/docs-internal' || github.repository == 'github/docs' }}
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
concurrency:
|
||||
|
||||
31
.github/workflows/staging-deploy-pr.yml
vendored
31
.github/workflows/staging-deploy-pr.yml
vendored
@@ -37,23 +37,20 @@ jobs:
|
||||
check_run_id: ${{ steps.create-check-run.outputs.check_run_id }}
|
||||
check_run_name: ${{ steps.create-check-run.outputs.check_run_name }}
|
||||
steps:
|
||||
- name: Dump event context
|
||||
env:
|
||||
GITHUB_EVENT_CONTEXT: ${{ toJSON(github.event) }}
|
||||
run: echo "$GITHUB_EVENT_CONTEXT"
|
||||
|
||||
- name: Create check run
|
||||
id: create-check-run
|
||||
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
|
||||
with:
|
||||
script: |
|
||||
const { owner, repo } = context.repo
|
||||
|
||||
// Create a check run
|
||||
const CHECK_NAME = '${{ github.workflow }} / ${{ github.job }} (${{ github.event_name }})'
|
||||
const CHECK_NAME = '${{ github.workflow }} check run'
|
||||
const { data } = await github.checks.create({
|
||||
name: CHECK_NAME,
|
||||
head_sha: '${{github.sha}}',
|
||||
owner: 'github',
|
||||
repo: 'docs-internal',
|
||||
head_sha: '${{ github.event.workflow_run.head_sha }}',
|
||||
owner,
|
||||
repo,
|
||||
status: 'in_progress',
|
||||
started_at: new Date()
|
||||
})
|
||||
@@ -68,17 +65,11 @@ jobs:
|
||||
name: pr_build
|
||||
path: ./
|
||||
|
||||
- name: Show contents
|
||||
run: ls -l
|
||||
|
||||
- name: Extract the archive
|
||||
run: |
|
||||
tar -xf app.tar -C ./
|
||||
rm app.tar
|
||||
|
||||
- name: Show contents again
|
||||
run: ls -l
|
||||
|
||||
- if: ${{ github.repository == 'github/docs-internal' }}
|
||||
name: Setup node to clone early access
|
||||
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f
|
||||
@@ -198,7 +189,7 @@ jobs:
|
||||
PR_URL: ${{ env.PR_URL }}
|
||||
SOURCE_BLOB_URL: ${{ needs.prepare.outputs.source_blob_url }}
|
||||
CHECK_RUN_ID: ${{ needs.prepare.outputs.check_run_id }}
|
||||
CHECK_RUN_NAME: ${{ needs.prepare.outputs.check_run_name }}
|
||||
CHECK_RUN_NAME: '${{ needs.prepare.outputs.check_run_name }}'
|
||||
with:
|
||||
script: |
|
||||
const { GITHUB_TOKEN, HEROKU_API_TOKEN } = process.env
|
||||
@@ -249,8 +240,8 @@ jobs:
|
||||
})
|
||||
|
||||
await octokit.checks.update({
|
||||
owner: 'github',
|
||||
repo: 'docs-internal',
|
||||
owner,
|
||||
repo,
|
||||
conclusion: 'success',
|
||||
status: 'completed',
|
||||
name: CHECK_RUN_NAME,
|
||||
@@ -264,8 +255,8 @@ jobs:
|
||||
})
|
||||
} catch (error) {
|
||||
await octokit.checks.update({
|
||||
owner: 'github',
|
||||
repo: 'docs-internal',
|
||||
owner,
|
||||
repo,
|
||||
conclusion: 'failure',
|
||||
status: 'completed',
|
||||
name: CHECK_RUN_NAME,
|
||||
|
||||
2
.github/workflows/sync-search-indices.yml
vendored
2
.github/workflows/sync-search-indices.yml
vendored
@@ -22,7 +22,7 @@ name: Sync search indexes
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '53 0/4 * * *' # Run every four hours at 53 minutes past the hour
|
||||
- cron: '53 0/8 * * *' # Run every eight hours at 53 minutes past the hour
|
||||
|
||||
jobs:
|
||||
updateIndexes:
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 28 KiB |
@@ -1,16 +0,0 @@
|
||||
import React from 'react'
|
||||
|
||||
type Props = {
|
||||
children: React.ReactElement
|
||||
}
|
||||
export function PrintAction({ children }: Props) {
|
||||
const onClick = () => {
|
||||
try {
|
||||
document.execCommand('print', false)
|
||||
} catch (e) {
|
||||
window.print()
|
||||
}
|
||||
}
|
||||
|
||||
return React.cloneElement(React.Children.only(children), { onClick })
|
||||
}
|
||||
@@ -1,8 +1,3 @@
|
||||
import { Tooltip } from '@primer/components'
|
||||
import { PrinterIcon } from './PrinterIcon'
|
||||
|
||||
import { PrintAction } from 'components/PrintAction'
|
||||
|
||||
type Props = {
|
||||
children: React.ReactNode
|
||||
}
|
||||
@@ -10,15 +5,6 @@ export const ArticleTitle = ({ children }: Props) => {
|
||||
return (
|
||||
<div className="d-flex flex-items-baseline flex-justify-between">
|
||||
<h1 className="my-4 border-bottom-0">{children}</h1>
|
||||
<div className="d-none d-lg-block ml-2">
|
||||
<Tooltip aria-label="Print this article" noDelay direction="n">
|
||||
<PrintAction>
|
||||
<button className="btn-link Link--muted">
|
||||
<PrinterIcon />
|
||||
</button>
|
||||
</PrintAction>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
// From https://heroicons.com
|
||||
export const PrinterIcon = () => {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
height={18}
|
||||
width={18}
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
stroke="currentColor"
|
||||
>
|
||||
<path
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
strokeWidth={2}
|
||||
d="M17 17h2a2 2 0 002-2v-4a2 2 0 00-2-2H5a2 2 0 00-2 2v4a2 2 0 002 2h2m2 4h6a2 2 0 002-2v-4a2 2 0 00-2-2H9a2 2 0 00-2 2v4a2 2 0 002 2zm8-12V5a2 2 0 00-2-2H9a2 2 0 00-2 2v4h10z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
@@ -6,7 +6,6 @@ import { PatchNotes } from './PatchNotes'
|
||||
import { Link } from 'components/Link'
|
||||
import { CurrentVersion, ReleaseNotePatch, GHESMessage } from './types'
|
||||
import { useOnScreen } from 'components/hooks/useOnScreen'
|
||||
import { PrintAction } from 'components/PrintAction'
|
||||
|
||||
type Props = {
|
||||
patch: ReleaseNotePatch
|
||||
@@ -65,10 +64,6 @@ export function GHESReleaseNotePatch({
|
||||
Download
|
||||
</Link>
|
||||
)}
|
||||
|
||||
<PrintAction>
|
||||
<button className="btn-link ml-3 text-small text-bold">Print</button>
|
||||
</PrintAction>
|
||||
</div>
|
||||
|
||||
<p className="color-text-secondary mt-1">{dayjs(patch.date).format('MMMM, DD, YYYY')}</p>
|
||||
|
||||
@@ -3,17 +3,18 @@ import cx from 'classnames'
|
||||
|
||||
import styles from './MarkdownContent.module.scss'
|
||||
|
||||
type Props = {
|
||||
export type MarkdownContentPropsT = {
|
||||
children: string | ReactNode
|
||||
className?: string
|
||||
as?: keyof JSX.IntrinsicElements
|
||||
}
|
||||
|
||||
export const MarkdownContent = ({
|
||||
children,
|
||||
as: Component = 'div',
|
||||
className,
|
||||
...restProps
|
||||
}: Props) => {
|
||||
}: MarkdownContentPropsT) => {
|
||||
return (
|
||||
<Component
|
||||
{...restProps}
|
||||
|
||||
@@ -17,7 +17,7 @@ topics:
|
||||
|
||||
## Overview
|
||||
|
||||
This article describes some of the advanced features of {% data variables.product.prodname_actions %} that help you work create more complex workflows.
|
||||
This article describes some of the advanced features of {% data variables.product.prodname_actions %} that help you create more complex workflows.
|
||||
|
||||
## Storing secrets
|
||||
|
||||
|
||||
@@ -16,13 +16,17 @@ miniTocMaxHeadingLevel: 3
|
||||
|
||||
## Monitoring your workflows
|
||||
|
||||
{% ifversion fpt or ghae or ghes > 3.0 %}
|
||||
|
||||
### Using the visualization graph
|
||||
|
||||
Every workflow run generates a real-time graph that illustrates the run progress. You can use this graph to monitor and debug workflows. For example:
|
||||
|
||||

|
||||
|
||||
For more information, see "[Using the visualization graph](/actions/monitoring-and-troubleshooting-workflows/using-the-visualization-graph)."
|
||||
For more information, see "[Using the visualization graph](/actions/monitoring-and-troubleshooting-workflows/using-the-visualization-graph)."
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Adding a workflow status badge
|
||||
|
||||
|
||||
@@ -27,3 +27,10 @@ Once you enable GPG verification, it will immediately take effect for all your c
|
||||

|
||||
1. If you chose "Selected repositories", select the drop-down menu, then click a repository you want enable GPG verification for. Repeat for all repositories you want to enable GPG verification for.
|
||||

|
||||
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** Once you have enabled GPG verification for {% data variables.product.prodname_codespaces %}, you also must append `-s` to each commit in order for it to be signed. To do this in {% data variables.product.prodname_vscode %}, ensure the "Git: Enable Commit Signing" option is enabled from the Settings.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
@@ -10,7 +10,7 @@ versions:
|
||||
ghae: '*'
|
||||
topics:
|
||||
- GitHub Apps
|
||||
shortTitle: Migrate to OAuth Apps
|
||||
shortTitle: Migrate from OAuth Apps
|
||||
---
|
||||
This article provides guidelines for existing integrators who are considering migrating from an OAuth App to a GitHub App.
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ Before adding a new SSH key to your {% data variables.product.product_name %} ac
|
||||
|
||||
After adding a new SSH key to your {% data variables.product.product_name %} account, you can reconfigure any local repositories to use SSH. For more information, see "[Switching remote URLs from HTTPS to SSH](/github/getting-started-with-github/managing-remote-repositories/#switching-remote-urls-from-https-to-ssh)."
|
||||
|
||||
{% data reusables.ssh.dsa-support %}
|
||||
{% data reusables.ssh.key-type-support %}
|
||||
|
||||
{% mac %}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ topics:
|
||||
- SSH
|
||||
shortTitle: Check for existing SSH key
|
||||
---
|
||||
{% data reusables.ssh.dsa-support %}
|
||||
{% data reusables.ssh.key-type-support %}
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. Enter `ls -al ~/.ssh` to see if existing SSH keys are present:
|
||||
|
||||
@@ -16,4 +16,12 @@ shortTitle: SSH key fingerprints
|
||||
These are {% data variables.product.prodname_dotcom %}'s public key fingerprints:
|
||||
|
||||
- `SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8` (RSA)
|
||||
|
||||
These keys will be supported beginning September 14, 2021:
|
||||
|
||||
- `SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM` (ECDSA)
|
||||
- `SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU` (Ed25519)
|
||||
|
||||
This key will be sunset on November 16, 2021:
|
||||
|
||||
- `SHA256:br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ` (DSA)
|
||||
|
||||
@@ -19,7 +19,9 @@ When you enable SAML SSO, {% data variables.product.prodname_dotcom %} will prom
|
||||
|
||||

|
||||
|
||||
You can also enforce SAML SSO for your organization. {% data reusables.saml.when-you-enforce %} Enforcement removes any members and administrators who have not authenticated via your IdP from the organization. {% data variables.product.company_short %} sends an email notification to each removed user. You can restore organization members once they successfully complete single sign-on.
|
||||
You can also enforce SAML SSO for your organization. {% data reusables.saml.when-you-enforce %} Enforcement removes any members and administrators who have not authenticated via your IdP from the organization. {% data variables.product.company_short %} sends an email notification to each removed user.
|
||||
|
||||
You can restore organization members once they successfully complete single sign-on. Removed users' access privileges and settings are saved for three months and can be restored during this time frame. For more information, see "[Reinstating a former member of your organization](/articles/reinstating-a-former-member-of-your-organization)."
|
||||
|
||||
Bots and service accounts that do not have external identities set up in your organization's IdP will also be removed when you enforce SAML SSO. For more information about bots and service accounts, see "[Managing bots and service accounts with SAML single sign-on](/articles/managing-bots-and-service-accounts-with-saml-single-sign-on)."
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ provides items in sets of 100
|
||||
[events](/rest/reference/activity#events) won't let you set a maximum for items to receive.
|
||||
Be sure to read the documentation on how to handle paginated results for specific endpoints.
|
||||
|
||||
Information about pagination is provided in [the Link header](http://tools.ietf.org/html/rfc5988)
|
||||
Information about pagination is provided in [the Link header](https://datatracker.ietf.org/doc/html/rfc5988)
|
||||
of an API call. For example, let's make a curl request to the search API, to find
|
||||
out how many times Mozilla projects use the phrase `addClass`:
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{% note %}
|
||||
|
||||
**Note:** DSA keys (SSH-DSS) are no longer supported. Existing keys will continue to function, but you cannot add new DSA keys to your {% data variables.product.product_name %} account.
|
||||
|
||||
{% endnote %}
|
||||
9
data/reusables/ssh/key-type-support.md
Normal file
9
data/reusables/ssh/key-type-support.md
Normal file
@@ -0,0 +1,9 @@
|
||||
{% note %}
|
||||
|
||||
**Note:** {% data variables.product.company_short %} is improving security by dropping older, insecure key types.
|
||||
|
||||
DSA keys (`ssh-dss`) are no longer supported. Existing keys will continue to function through March 15, 2022. You cannot add new DSA keys to your user account on {% data variables.product.product_name %}.
|
||||
|
||||
RSA keys (`ssh-rsa`) with a `valid_after` before November 2, 2021 may continue to use any signature algorithm. RSA keys generated after that date must use a SHA-2 signature algorithm. Some older clients may need to be upgraded in order to use SHA-2 signatures.
|
||||
|
||||
{% endnote %}
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:934c74b83ebb998087e172270efb88227d92420c6c589f087daed6fe5a8beb45
|
||||
size 506808
|
||||
oid sha256:99aece4ccd1d66d548a2699706f50d4e2c737c25398706f8cc747b7e969426f7
|
||||
size 506784
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5da497f3c3a41550543ed2ec9936d6f521c12689b18391bccd86a59bbb58e519
|
||||
size 802597
|
||||
oid sha256:8e9b654516737ab886be3c1bc0b2c42609bf76f5632ecee0c10859b1dd7477f9
|
||||
size 802840
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b5e376f21141e8bbedff8a2f90dabdb07a63c93114ae78cb4ab13868e446783
|
||||
size 469350
|
||||
oid sha256:0ba5a88a73144a42ca66f843f4f9d126296e4c9111f113fa96fb1b47127e22e3
|
||||
size 469359
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:567140753b15674a1503be4c742215d520cae0ebb4b08decbb3a284870e16d23
|
||||
size 2077219
|
||||
oid sha256:5f386ef7853c38ac90cc58d541e34a4a80bd177ac33ae5a5b682e781d4f7c5bc
|
||||
size 2077220
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2a7f1fe8b1194d4ecfbe7e29fb165bb570c4b1ac5e48dd068a40242fe123a70
|
||||
size 431874
|
||||
oid sha256:b43b069594b5f4e294aa4e47de913d05d72fc4e83c5cf43eca53918b1199b455
|
||||
size 432328
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8fc0a34d9ca0036ec76b49bec7836dd815de222582ef7c5a16d547c5da87f96a
|
||||
size 1695189
|
||||
oid sha256:88d2aff1cfcde5c7118471899d853789bfaba1f52c052ebd4f7ec35f7cf12153
|
||||
size 1695654
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:482fdfadb6dd9b5bd9eaf857f9af0775af5ab76431bb5a1bea4ed7c5897c4318
|
||||
size 280108
|
||||
oid sha256:0a14f36bd486ef2868b1740915195bf1b9e22bb2461428271c5ea3882e8bc164
|
||||
size 280234
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:35600ca9c1abec70331b8a65d4f91fed9d9ed43bd2bee80e9231cee42075eda1
|
||||
size 1068249
|
||||
oid sha256:043d8ca1b98a4c24b01dd86f4e547b667c27af9252b692301278691a2fd93bfc
|
||||
size 1067402
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9dfa4364937ad067932f0cdd6b39b856bf55f6c998ef66a30489e139b5bc22e6
|
||||
size 529223
|
||||
oid sha256:06842dad4c5881b0bc545c0bfb40a6c7fb9f78027a6236dc2964fdcb1ebf1368
|
||||
size 528482
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7059e7a26af5d8b1e42af70c6770bd0f91726cc138f543e25bd676b1bed1e436
|
||||
size 2800355
|
||||
oid sha256:9d35e420b8410837d51e9f3b76e6a870aa6551f9a30eefea314cbf12ee184fbf
|
||||
size 2795198
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8cb01b090736bc1a101d597999e88e1fc3bc9ce9bbbf1bfdbc81f32de228ceb7
|
||||
size 443479
|
||||
oid sha256:3c3a5e079826867c97908cc0c1fa6a3e0f4acc6ff96f68dcbae43c959ca0bdf8
|
||||
size 443366
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e98c93afb42ee09242b82fccfd448db0acef4178cdb276b5ea20f53de2c592a8
|
||||
size 1851533
|
||||
oid sha256:b26c2d0a1ead1da53e618000fcfd170367bd4f92395629181400fb7a8ec5d09f
|
||||
size 1851070
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:55998407509df88eaa5b40714ec27b58b1c57b6323c23df5eedbb42b87280132
|
||||
size 524981
|
||||
oid sha256:5c63a00444fc413129fc9f1986acd18e0d69489ffbd3a8ec5b238ccac90702e0
|
||||
size 524461
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2cc269f2533b2f58d1da6510b7c831229bb0e26761adf65077da30eb5f088e51
|
||||
size 834133
|
||||
oid sha256:a272e4fe4108c5597c376920705d6a83488a56eb86c6ec34952f1544dad8b6af
|
||||
size 833715
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3954b9aaa033a2bc1ef548d627969c2490549144331a625d543b0db5de368f7b
|
||||
size 490358
|
||||
oid sha256:95cfc762084bdb15e50fd9976bd530ab77b26937eb6c3cbd88788f14155b4d0a
|
||||
size 490207
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9e658e226638d5d22c66968f26fd6c516ba6058aaa96bba5a6e361fbaf82c8e0
|
||||
size 2179396
|
||||
oid sha256:da7c6a87445c146a9c5d317abf352ce0314bfe93e1f9734ed74a47d16970c326
|
||||
size 2178972
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0870dc6e665ff1d41e9e729c8bfb68e680115ac097bcf9da63ada411e19d3f0b
|
||||
size 452424
|
||||
oid sha256:938d978f048e7bb25f9456afadd6eff5f3a3dd1af72ed7c215829ba2214823ec
|
||||
size 452296
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:71b56dfeae81d0b84d765c4c2ec91782938cb21a55d9f13db03d4df72bf56690
|
||||
size 1770154
|
||||
oid sha256:3ca0b5afca34df23e6b791581d3ecef8e78e84c81a61a7add9da01d24498334e
|
||||
size 1769643
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f336e32b19a45127e2f81de3672df8ef3fa3e9bd7fadeccc0c1b7ea3ff04af7e
|
||||
size 278470
|
||||
oid sha256:b9389723e6e3afd36ef184c64783699f65b493e6924bc00a2bf90bad519af75f
|
||||
size 278150
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:497d4ef9260085398e9348fb3c508b50c848cd05f9f2835bf0968f34e3478ba6
|
||||
size 1056105
|
||||
oid sha256:aa44d0a937ad972df8548a81a7a104f3c7ccac0d43abc4d809aae08d17633cca
|
||||
size 1055118
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f744d710b7695442f44c9b321d517540e673bd669b50903bb2793bb8444eda3f
|
||||
size 550673
|
||||
oid sha256:11e8515787859fb49f379da3d289413a3a5c5a341a200a471d6a42bcdf2a0be6
|
||||
size 550220
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:daf4850e384dda2f57df67fe999830a453272c7e93c12376a6d0c65fb9986a85
|
||||
size 2914376
|
||||
oid sha256:8cd5cb13df11a05dfda45196187ea6be7917606b933c2aa8a399fc9cc2fa3d18
|
||||
size 2910819
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9372acbfba8622b136cdca542f9c72c7c2faf33238279ad240ba00deafc62f8a
|
||||
size 464618
|
||||
oid sha256:2ee8d56ccb9beb4f4c7c500b780888c06b039f06be97ba862ac1de26df9e5a78
|
||||
size 464698
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e38440a561afc908d0e5c6f0f25e9398bdf81d2bc235596f9ba758b860191e23
|
||||
size 1936753
|
||||
oid sha256:a23cab13e34587a93c86dd6cd49345955c5fe64683268257ed06ad4c00130224
|
||||
size 1937650
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44fd9f03007dda2841cb674130a784f47c4857a3fa65896ffc48cb8665b1ca79
|
||||
size 534323
|
||||
oid sha256:ee3e7957ec4d098dd2e4836ab8ab7c3fccd68e3176c7a61c6aca17013b3294ea
|
||||
size 534265
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:683c9023a4e8ed6bea73f14e9449b18ba7716436d9095825c6ee57c038f585a9
|
||||
size 845845
|
||||
oid sha256:0bc7bfe564c73c34e5574026d0aeb31a00349aaa079906d4cec54bb8047e21db
|
||||
size 845804
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9366580721918426dd71fada7c2384672db445683bbcbb09f060be5914c9b99f
|
||||
size 497679
|
||||
oid sha256:ef53abc93b8a5b4d95e237a63bea9bb1f454cadfc51781acd9d7ecedf40d14d4
|
||||
size 497075
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8e819454e9e438326439744ffb34022bacbcb3540145a7ad68d9ee9fd479cb2
|
||||
size 2223302
|
||||
oid sha256:a37f498aeb8334d08c93fc6af7ea433eebff32d375ae5a95788b3a327550e874
|
||||
size 2221467
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6151bb54fca7bb1f6b37f81d85ea6cb9778a343322e6ed8a99b7756815d05c0c
|
||||
size 460297
|
||||
oid sha256:e030f5fecb3443fc09794e72e69716dba58ed38cb5398bcf65c59301d3fd080c
|
||||
size 460672
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25c7ab792df02999e0c11db5419c6967054af243e1c7552afdbaae8d71453d75
|
||||
size 1803570
|
||||
oid sha256:39c6476cde5cf6c494b236721a0358d95562daf58a0a289542328b17d08ee12f
|
||||
size 1805197
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e831df56dbb7d3b83c424f0ec9f4d620924b8d4e968576286a964f203b0dcf1f
|
||||
size 278678
|
||||
oid sha256:7801aecd05533fd0c7c26ab66bfae73675e0e4b1f2224c1b9d246343feb1dc0f
|
||||
size 278293
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:826999b402940d1be8bbed0a60d54d5c818725e28f002c2ead2fdc769102b38b
|
||||
size 1057151
|
||||
oid sha256:27f9040ced5bc5ab4bd56247374c0193b6582309623372c6154f5d5631cd5d4e
|
||||
size 1057436
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:822e34b7309c538549977329c41a0df92d3d4b112b85f707c356b714dc7f7225
|
||||
size 559141
|
||||
oid sha256:dc5099bd3981028c0f28a58846cc3294b0304545421653b052a1ff091b46f6b3
|
||||
size 559388
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ecac6118d7909d517d7e4fdcddb6c4809dc710327362ab18c1b89ec849c33d4d
|
||||
size 2966664
|
||||
oid sha256:8e5455de692f68a419c1bb0f1b727c5b6691c36927c1fb19ac0bdcde16be40d6
|
||||
size 2966287
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92ec12e9eb0e7e31c3cd746eff58481b6a77573dcf27881d2d3ea00903b7ac0b
|
||||
size 472635
|
||||
oid sha256:647d129f6fb0d5d0160c91180f0defb3eaa73eda81b09a1e563a669581515f24
|
||||
size 472136
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:770a0bc254b9d45705d53ee2b36bb9b973cba3fc148eab332972b7a721d526b5
|
||||
size 1972410
|
||||
oid sha256:b198b3a03cc55bd15085bd10aedf2b09350d412fb73aea858caf04cfaecd6f21
|
||||
size 1971481
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e67126c9310d3468c9b380f1d4df864271db5f4f86c13a5cf90c82c67945fb61
|
||||
size 710011
|
||||
oid sha256:715393b4190f57d3d49351ccd0014a28ad4e149ea247dd7a0d637db293e03979
|
||||
size 709780
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:860978fbc53f411e93c89e26f7c6b30e563e1b0e097bf0bf5876066e4043e2da
|
||||
size 969290
|
||||
oid sha256:b8ba04d09e4633fa8d18336ac76e0afd7d078c4331f3737b6c21811cfc629a06
|
||||
size 969378
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c72b4077e78d8ed1772511f8a7b95e417a9198ddc41d400103e763864fdc50f
|
||||
size 647997
|
||||
oid sha256:3e4d04878ed338155fb943ff5740f774b873d69c24ba9ddf2db4a0a488075d03
|
||||
size 647625
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fab9331d52a254fed37e1130b985a01b49563642f99e8bbcb215fb0e1e48e742
|
||||
size 2901422
|
||||
oid sha256:b5ef83fe3eb62f2b9d41b45129f615c2489f9c2eeee72cbe70cbf3a719a23731
|
||||
size 2901634
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0981a5430dddf77ab8f215f366a91372254466ae55ff15cc03c796e0586230f5
|
||||
size 624519
|
||||
oid sha256:b4ff87723b86bd73a1521dc85ce7255c0a502c22b2619b84844b6b8e28ea7710
|
||||
size 624808
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eecb00be421a28acb7a52c97be902c3600cb5d758d04d348e9af4dcc6c3144dc
|
||||
size 2378884
|
||||
oid sha256:45a90eb7a03300055183a60d1e33482eb5f639f486606ee75f422ef644f5f348
|
||||
size 2380267
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:75ddbd2231f0bb8b702920fb88e9c14d375d9e76c44565c9a59b498ca9fd0d8b
|
||||
size 306381
|
||||
oid sha256:ce28158cf9072f19cb4fbcad7ee24793e300caa20054a6e8613152f2394716c5
|
||||
size 306360
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3f4844ed4dbf4bbf9304bb61f2b0354da402ecf41db8799625a28d42b991e86
|
||||
size 1088498
|
||||
oid sha256:35e5e79e37482bc5effebc0011ac7ec63e0dde6180a1dda52ddf4c5402885367
|
||||
size 1088377
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:91f75e2107d72e896f264d0d0c89d4cb3ef36602de2bb2a73c09a1a1d1ced197
|
||||
size 738240
|
||||
oid sha256:1652750908113e1637265fc31fc7d5d39b6f8392769fa3d7c15a891503cca3ce
|
||||
size 738148
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3861bf4ed3aeff109c59902f97817f044a89c65ecf453207b339528ff0083a4
|
||||
size 3851473
|
||||
oid sha256:430ac8b273506371659ebf9cb8d63d8e37d9134cfe59c4ab849e20c0f6c73c46
|
||||
size 3851760
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c396f5f78f2fed53f70dcd675d9bb1321329d5ede24bd2d01c8040606f282042
|
||||
size 621484
|
||||
oid sha256:e1b12556151fde21d72303f1251e451fc719ca251870ecc307db5ccf465bf126
|
||||
size 621397
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc4114f499018af698a61a8aba159f9aca099bce8250cb975fb846c4dec9a54b
|
||||
size 2553639
|
||||
oid sha256:fed7de97147808a85d3db0aa0c35e8b845625383c13cf4cd4a540f3ea8cf20b5
|
||||
size 2551989
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b8806075edd36eae912684d8b74f55db476bcb6677144e32dabcb117709eed64
|
||||
size 414155
|
||||
oid sha256:28a06c68c81a9ddeeb580d8370d53221448580ec77c34c2bc898c8c1638ed09b
|
||||
size 414050
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8531612d5b3794d6ac52f7c77cbafb271a993cf6d945c75cac94d238ca3347d
|
||||
size 630160
|
||||
oid sha256:b7993b21d0739c89c456c324304ab2b6c886aeb57390004d29b3bd23f2d1b3c3
|
||||
size 630918
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f1844427be8dd08b0a11b6fcd96230d93c554601755689cbf4f0da76cf511c6a
|
||||
size 390824
|
||||
oid sha256:979e33dceeda8695e3dde0a51ee4bf7313ad20455d461a1e8a14053501d7b876
|
||||
size 390662
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a37bb78f86449e3abae2b7c6a43d38c31e2728720f01c14297da7c51f87bb64
|
||||
size 1697890
|
||||
oid sha256:5ce29cb109d3e235e372deee31d6f75d38363b5fdb4128efbe416ded4d791b18
|
||||
size 1698254
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e1a6fd25da4ea26a9da3abbfe55986e6bd02fa372bb33e424c8c503bfb4b347d
|
||||
size 360789
|
||||
oid sha256:9ded2731f7340acf7e4e0f16a64ce642be7ac8035da8b5750f8fb2a2102691f5
|
||||
size 360865
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8d0af63f4ed25fde548b45b7ca652584a753370a8dceb2fa44a480a6d85e3df2
|
||||
size 1353491
|
||||
oid sha256:ffb17247d70f3a0d310b759fe7a8f8244469763ae8d76142f01b48b84bbaa1bd
|
||||
size 1354428
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2cbb0d583194fc93246f15e50cd5f764a8b24d4d70ec09944f5ed60705ef9cb
|
||||
size 201042
|
||||
oid sha256:9346544c184ae5b38898ff0d38bb1885e0f12900904be431c81a3c9e29e9b1cd
|
||||
size 200765
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e9729e1fee808a4136432c942b007d1ec75e04657cd8c99a3044caacecc8389
|
||||
size 718418
|
||||
oid sha256:3a8996ca046908ded6d826f5280a107113236dff6db905e49ac56189b3cb80bf
|
||||
size 718000
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc657f3db3ac900ddc63516bc6d19e87844fabba9c284b5cb0aa22f347a69b1f
|
||||
size 435238
|
||||
oid sha256:822d7937ea78357b062bf8cf228fd15b95625fb296626d2e159ca660b7ad65a5
|
||||
size 435386
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3dd391f057d85282fba1514a82ea87d69ee8c9627712b2287ca146ce8295e5d3
|
||||
size 2215721
|
||||
oid sha256:0b83b02fc81a10efcc89242040c2a301170a03a3b9626c014151d1ae6377339b
|
||||
size 2215891
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb545c61c4710420297a323a6fb4f12991ad770f44786fc1ff252a58cb677ffc
|
||||
size 371602
|
||||
oid sha256:d699ad873129577531f2038ec1c30a89214b26744eb77f9c42ce8fddb680ca3a
|
||||
size 371556
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8dfe11d6f0394f94bd85468be659c70b1b331f9e1a6e92780db70b635a81cfc2
|
||||
size 1496293
|
||||
oid sha256:d31bcf60f9cc8aae504fbddfd470267a2677e79cd8079995facdbd8a19f9836f
|
||||
size 1496099
|
||||
|
||||
208
package-lock.json
generated
208
package-lock.json
generated
@@ -57,7 +57,7 @@
|
||||
"mdast-util-from-markdown": "^1.0.0",
|
||||
"mdast-util-to-string": "^3.1.0",
|
||||
"morgan": "^1.10.0",
|
||||
"next": "^11.1.0",
|
||||
"next": "^11.1.1",
|
||||
"node-fetch": "^2.6.1",
|
||||
"parse5": "^6.0.1",
|
||||
"port-used": "^2.0.8",
|
||||
@@ -3241,19 +3241,19 @@
|
||||
"integrity": "sha512-jDJTpta+P4p1NZTFVLHJ/TLFVYVcOqv6l8xwOeBKNPMgY/zDYH/YH7SJbvrr/h1RcS9GzbPcLKGzpuK9cV56UA=="
|
||||
},
|
||||
"node_modules/@next/env": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-11.1.0.tgz",
|
||||
"integrity": "sha512-zPJkMFRenSf7BLlVee8987G0qQXAhxy7k+Lb/5hLAGkPVHAHm+oFFeL+2ipbI2KTEFlazdmGY0M+AlLQn7pWaw=="
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-11.1.1.tgz",
|
||||
"integrity": "sha512-UEAzlfKofotLmj9LIgNixAfXpRck9rt/1CU9Q4ZtNDueGBJQP3HUzPHlrLChltWY2TA5MOzDQGL82H0a3+i5Ag=="
|
||||
},
|
||||
"node_modules/@next/polyfill-module": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/polyfill-module/-/polyfill-module-11.1.0.tgz",
|
||||
"integrity": "sha512-64EgW8SzJRQls2yJ5DkuljRxgE24o2kYtX/ghTkPUJYsfidHMWzQGwg26IgRbb/uHqTd1G0W5UkKag+Nt8TWaQ=="
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/polyfill-module/-/polyfill-module-11.1.1.tgz",
|
||||
"integrity": "sha512-9FyVSnz00WGdlLsgc2w1xL1Lm/Q25y6FYIyA+1WlJvT6LA2lbR78GKiHgedzUvrAatVGAcg/Og+d0d7B4tsJOg=="
|
||||
},
|
||||
"node_modules/@next/react-dev-overlay": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-11.1.0.tgz",
|
||||
"integrity": "sha512-h+ry0sTk1W3mJw+TwEf91aqLbBJ5oqAsxfx+QryqEItNtfW6zLSSjxkyTYTqX8DkgSssQQutQfATkzBVgOR+qQ==",
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-11.1.1.tgz",
|
||||
"integrity": "sha512-CXc/A0DbSk5VXYu4+zr0fHm52Zh/LhPlLyVPEctJOZL64ccxkls5xGoXvgolJCku9L0pLjJzvdfAmhNLOp5dyw==",
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "7.12.11",
|
||||
"anser": "1.4.9",
|
||||
@@ -3395,9 +3395,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/react-refresh-utils": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.1.0.tgz",
|
||||
"integrity": "sha512-g5DtFTpLTGa36iy9DuZawtJeitI11gysFGKPQQqy+mNbSFazguArcJ10gAYFlbqpIi4boUamWNI5mAoSPx3kog==",
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.1.1.tgz",
|
||||
"integrity": "sha512-j186y+lWc8BHAuysAWvlOqO9Bp7E3BLK/d/Ju3W2sP5BCH5ZLyLG/p308zSy/O0MGTag0B038ZA1dCy/msouRQ==",
|
||||
"peerDependencies": {
|
||||
"react-refresh": "0.8.3",
|
||||
"webpack": "^4 || ^5"
|
||||
@@ -3408,6 +3408,66 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-darwin-arm64": {
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-11.1.1.tgz",
|
||||
"integrity": "sha512-KyB0aLpfQ+B2dsyGYpkM0ZwK3PV0t4C4b9yjgQc1VoTVnIjzXdDPnNOuVvmD849ZNOHfj3x8e2rlbxkj0lPm3A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-darwin-x64": {
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-11.1.1.tgz",
|
||||
"integrity": "sha512-B3ZXgrGx0bQplbrk2oggPjKPPsmyg8Fl0PJLMTVQ+erQ8g1m5QzyS9P6tB3SiIZa180JgENuguTHlVK5qEj4UA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-x64-gnu": {
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-11.1.1.tgz",
|
||||
"integrity": "sha512-qvZL7gSKF+E+GZ3L1XiTnE3cOh9rk0wkqimT/q+wwcZA4E720Lu4lrT79I3HPuj6i/JPgGvmNskcnYrDeaoFaw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-win32-x64-msvc": {
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-11.1.1.tgz",
|
||||
"integrity": "sha512-jhnCiA1De1L+kA0gmHG1AJijHoxOcrETWziDWy8fcqSrM1NlC4aJ5Mnu6k0QMcM9MnmXTA4TQZOEv3kF7vhJUQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@node-rs/helper": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@node-rs/helper/-/helper-1.2.1.tgz",
|
||||
@@ -17390,16 +17450,16 @@
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/next": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/next/-/next-11.1.0.tgz",
|
||||
"integrity": "sha512-GHBk/c7Wyr6YbFRFZF37I0X7HKzkHHI8pur/loyXo5AIE8wdkbGPGO0ds3vNAO6f8AxZAKGCRYtAzoGlVLoifA==",
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/next/-/next-11.1.1.tgz",
|
||||
"integrity": "sha512-vfLJDkwAHsZUho5R1K4w49nfYhftUMWNmeNSjCtulOvnRBuEFb7ROyRZOQk7f29rMz02eLQrPZ9yiAmPsexL2g==",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.12.5",
|
||||
"@babel/runtime": "7.15.3",
|
||||
"@hapi/accept": "5.0.2",
|
||||
"@next/env": "11.1.0",
|
||||
"@next/polyfill-module": "11.1.0",
|
||||
"@next/react-dev-overlay": "11.1.0",
|
||||
"@next/react-refresh-utils": "11.1.0",
|
||||
"@next/env": "11.1.1",
|
||||
"@next/polyfill-module": "11.1.1",
|
||||
"@next/react-dev-overlay": "11.1.1",
|
||||
"@next/react-refresh-utils": "11.1.1",
|
||||
"@node-rs/helper": "1.2.1",
|
||||
"assert": "2.0.0",
|
||||
"ast-types": "0.13.2",
|
||||
@@ -17441,7 +17501,7 @@
|
||||
"timers-browserify": "2.0.12",
|
||||
"tty-browserify": "0.0.1",
|
||||
"use-subscription": "1.5.1",
|
||||
"util": "0.12.3",
|
||||
"util": "0.12.4",
|
||||
"vm-browserify": "1.1.2",
|
||||
"watchpack": "2.1.1"
|
||||
},
|
||||
@@ -17451,6 +17511,12 @@
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@next/swc-darwin-arm64": "11.1.1",
|
||||
"@next/swc-darwin-x64": "11.1.1",
|
||||
"@next/swc-linux-x64-gnu": "11.1.1",
|
||||
"@next/swc-win32-x64-msvc": "11.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"fibers": ">= 3.1.0",
|
||||
"node-sass": "^4.0.0 || ^5.0.0",
|
||||
@@ -17470,14 +17536,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/next/node_modules/@babel/runtime": {
|
||||
"version": "7.12.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz",
|
||||
"integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==",
|
||||
"dependencies": {
|
||||
"regenerator-runtime": "^0.13.4"
|
||||
}
|
||||
},
|
||||
"node_modules/next/node_modules/ansi-styles": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
||||
@@ -24229,9 +24287,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/util": {
|
||||
"version": "0.12.3",
|
||||
"resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz",
|
||||
"integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==",
|
||||
"version": "0.12.4",
|
||||
"resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz",
|
||||
"integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==",
|
||||
"dependencies": {
|
||||
"inherits": "^2.0.3",
|
||||
"is-arguments": "^1.0.4",
|
||||
@@ -27809,19 +27867,19 @@
|
||||
"integrity": "sha512-jDJTpta+P4p1NZTFVLHJ/TLFVYVcOqv6l8xwOeBKNPMgY/zDYH/YH7SJbvrr/h1RcS9GzbPcLKGzpuK9cV56UA=="
|
||||
},
|
||||
"@next/env": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-11.1.0.tgz",
|
||||
"integrity": "sha512-zPJkMFRenSf7BLlVee8987G0qQXAhxy7k+Lb/5hLAGkPVHAHm+oFFeL+2ipbI2KTEFlazdmGY0M+AlLQn7pWaw=="
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-11.1.1.tgz",
|
||||
"integrity": "sha512-UEAzlfKofotLmj9LIgNixAfXpRck9rt/1CU9Q4ZtNDueGBJQP3HUzPHlrLChltWY2TA5MOzDQGL82H0a3+i5Ag=="
|
||||
},
|
||||
"@next/polyfill-module": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/polyfill-module/-/polyfill-module-11.1.0.tgz",
|
||||
"integrity": "sha512-64EgW8SzJRQls2yJ5DkuljRxgE24o2kYtX/ghTkPUJYsfidHMWzQGwg26IgRbb/uHqTd1G0W5UkKag+Nt8TWaQ=="
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/polyfill-module/-/polyfill-module-11.1.1.tgz",
|
||||
"integrity": "sha512-9FyVSnz00WGdlLsgc2w1xL1Lm/Q25y6FYIyA+1WlJvT6LA2lbR78GKiHgedzUvrAatVGAcg/Og+d0d7B4tsJOg=="
|
||||
},
|
||||
"@next/react-dev-overlay": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-11.1.0.tgz",
|
||||
"integrity": "sha512-h+ry0sTk1W3mJw+TwEf91aqLbBJ5oqAsxfx+QryqEItNtfW6zLSSjxkyTYTqX8DkgSssQQutQfATkzBVgOR+qQ==",
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/react-dev-overlay/-/react-dev-overlay-11.1.1.tgz",
|
||||
"integrity": "sha512-CXc/A0DbSk5VXYu4+zr0fHm52Zh/LhPlLyVPEctJOZL64ccxkls5xGoXvgolJCku9L0pLjJzvdfAmhNLOp5dyw==",
|
||||
"requires": {
|
||||
"@babel/code-frame": "7.12.11",
|
||||
"anser": "1.4.9",
|
||||
@@ -27931,11 +27989,35 @@
|
||||
}
|
||||
},
|
||||
"@next/react-refresh-utils": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.1.0.tgz",
|
||||
"integrity": "sha512-g5DtFTpLTGa36iy9DuZawtJeitI11gysFGKPQQqy+mNbSFazguArcJ10gAYFlbqpIi4boUamWNI5mAoSPx3kog==",
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/react-refresh-utils/-/react-refresh-utils-11.1.1.tgz",
|
||||
"integrity": "sha512-j186y+lWc8BHAuysAWvlOqO9Bp7E3BLK/d/Ju3W2sP5BCH5ZLyLG/p308zSy/O0MGTag0B038ZA1dCy/msouRQ==",
|
||||
"requires": {}
|
||||
},
|
||||
"@next/swc-darwin-arm64": {
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-11.1.1.tgz",
|
||||
"integrity": "sha512-KyB0aLpfQ+B2dsyGYpkM0ZwK3PV0t4C4b9yjgQc1VoTVnIjzXdDPnNOuVvmD849ZNOHfj3x8e2rlbxkj0lPm3A==",
|
||||
"optional": true
|
||||
},
|
||||
"@next/swc-darwin-x64": {
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-11.1.1.tgz",
|
||||
"integrity": "sha512-B3ZXgrGx0bQplbrk2oggPjKPPsmyg8Fl0PJLMTVQ+erQ8g1m5QzyS9P6tB3SiIZa180JgENuguTHlVK5qEj4UA==",
|
||||
"optional": true
|
||||
},
|
||||
"@next/swc-linux-x64-gnu": {
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-11.1.1.tgz",
|
||||
"integrity": "sha512-qvZL7gSKF+E+GZ3L1XiTnE3cOh9rk0wkqimT/q+wwcZA4E720Lu4lrT79I3HPuj6i/JPgGvmNskcnYrDeaoFaw==",
|
||||
"optional": true
|
||||
},
|
||||
"@next/swc-win32-x64-msvc": {
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-11.1.1.tgz",
|
||||
"integrity": "sha512-jhnCiA1De1L+kA0gmHG1AJijHoxOcrETWziDWy8fcqSrM1NlC4aJ5Mnu6k0QMcM9MnmXTA4TQZOEv3kF7vhJUQ==",
|
||||
"optional": true
|
||||
},
|
||||
"@node-rs/helper": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@node-rs/helper/-/helper-1.2.1.tgz",
|
||||
@@ -38928,16 +39010,20 @@
|
||||
"peer": true
|
||||
},
|
||||
"next": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/next/-/next-11.1.0.tgz",
|
||||
"integrity": "sha512-GHBk/c7Wyr6YbFRFZF37I0X7HKzkHHI8pur/loyXo5AIE8wdkbGPGO0ds3vNAO6f8AxZAKGCRYtAzoGlVLoifA==",
|
||||
"version": "11.1.1",
|
||||
"resolved": "https://registry.npmjs.org/next/-/next-11.1.1.tgz",
|
||||
"integrity": "sha512-vfLJDkwAHsZUho5R1K4w49nfYhftUMWNmeNSjCtulOvnRBuEFb7ROyRZOQk7f29rMz02eLQrPZ9yiAmPsexL2g==",
|
||||
"requires": {
|
||||
"@babel/runtime": "7.12.5",
|
||||
"@babel/runtime": "7.15.3",
|
||||
"@hapi/accept": "5.0.2",
|
||||
"@next/env": "11.1.0",
|
||||
"@next/polyfill-module": "11.1.0",
|
||||
"@next/react-dev-overlay": "11.1.0",
|
||||
"@next/react-refresh-utils": "11.1.0",
|
||||
"@next/env": "11.1.1",
|
||||
"@next/polyfill-module": "11.1.1",
|
||||
"@next/react-dev-overlay": "11.1.1",
|
||||
"@next/react-refresh-utils": "11.1.1",
|
||||
"@next/swc-darwin-arm64": "11.1.1",
|
||||
"@next/swc-darwin-x64": "11.1.1",
|
||||
"@next/swc-linux-x64-gnu": "11.1.1",
|
||||
"@next/swc-win32-x64-msvc": "11.1.1",
|
||||
"@node-rs/helper": "1.2.1",
|
||||
"assert": "2.0.0",
|
||||
"ast-types": "0.13.2",
|
||||
@@ -38979,19 +39065,11 @@
|
||||
"timers-browserify": "2.0.12",
|
||||
"tty-browserify": "0.0.1",
|
||||
"use-subscription": "1.5.1",
|
||||
"util": "0.12.3",
|
||||
"util": "0.12.4",
|
||||
"vm-browserify": "1.1.2",
|
||||
"watchpack": "2.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": {
|
||||
"version": "7.12.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz",
|
||||
"integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==",
|
||||
"requires": {
|
||||
"regenerator-runtime": "^0.13.4"
|
||||
}
|
||||
},
|
||||
"ansi-styles": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
||||
@@ -44358,9 +44436,9 @@
|
||||
}
|
||||
},
|
||||
"util": {
|
||||
"version": "0.12.3",
|
||||
"resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz",
|
||||
"integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==",
|
||||
"version": "0.12.4",
|
||||
"resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz",
|
||||
"integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"is-arguments": "^1.0.4",
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
"mdast-util-from-markdown": "^1.0.0",
|
||||
"mdast-util-to-string": "^3.1.0",
|
||||
"morgan": "^1.10.0",
|
||||
"next": "^11.1.0",
|
||||
"next": "^11.1.1",
|
||||
"node-fetch": "^2.6.1",
|
||||
"parse5": "^6.0.1",
|
||||
"port-used": "^2.0.8",
|
||||
|
||||
@@ -1,6 +1,82 @@
|
||||
import React from 'react'
|
||||
import ReactDomServer from 'react-dom/server'
|
||||
import { BumpLink, BumpLinkPropsT } from 'components/ui/BumpLink/BumpLink'
|
||||
import { Callout, CalloutPropsT } from 'components/ui/Callout/Callout'
|
||||
import {
|
||||
MarkdownContent,
|
||||
MarkdownContentPropsT,
|
||||
} from 'components/ui/MarkdownContent/MarkdownContent'
|
||||
|
||||
const markdownExample = (
|
||||
<>
|
||||
<h1>Header Level 1: Steps example</h1>
|
||||
<ol>
|
||||
<li>Start with step 1</li>
|
||||
<li>Continue with step 2</li>
|
||||
<li>Finish with step 3</li>
|
||||
</ol>
|
||||
<h2>Header Level 2: Highlighted code example</h2>
|
||||
<pre>
|
||||
<code className="hljs language-yaml">
|
||||
<span className="hljs-attr">steps:</span>
|
||||
{'\n'}
|
||||
<span className="hljs-bullet">-</span> <span className="hljs-attr">uses:</span>{' '}
|
||||
<span className="hljs-string">actions/checkout@v2</span>
|
||||
{'\n'}
|
||||
<span className="hljs-bullet">-</span> <span className="hljs-attr">uses:</span>{' '}
|
||||
<span className="hljs-string">actions/setup-java@v2</span>
|
||||
{'\n '}
|
||||
<span className="hljs-attr">with:</span>
|
||||
{'\n '}
|
||||
<span className="hljs-attr">java-version:</span> <span className="hljs-string">'11'</span>
|
||||
{'\n '}
|
||||
<span className="hljs-attr">distribution:</span>{' '}
|
||||
<span className="hljs-string">'adopt'</span>
|
||||
</code>
|
||||
</pre>
|
||||
<h3>Header Level 3: Table example</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Qualifier</th>
|
||||
<th>Example</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<code>sort:interactions</code> or <code>sort:interactions-desc</code>
|
||||
</td>
|
||||
<td>
|
||||
<a href="https://github.com/search?q=org%3Agithub+sort%3Ainteractions&type=Issues">
|
||||
<strong>org:github sort:interactions</strong>
|
||||
</a>{' '}
|
||||
matches issues in repositories owned by GitHub, sorted by the highest combined number of
|
||||
reactions and comments.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<code>sort:interactions-asc</code>
|
||||
</td>
|
||||
<td>
|
||||
<a href="https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Ainteractions-asc&type=Issues">
|
||||
<strong>org:github sort:interactions-asc</strong>
|
||||
</a>{' '}
|
||||
matches issues in repositories owned by GitHub, sorted by the lowest combined number of
|
||||
reactions and comments.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4>Header Level 4: Procedural image example</h4>
|
||||
<img
|
||||
alt="Group assignment"
|
||||
className="procedural-image-wrapper"
|
||||
src="/assets/images/help/classroom/assignment-group-hero.png"
|
||||
/>
|
||||
</>
|
||||
)
|
||||
|
||||
const stories = [
|
||||
{
|
||||
@@ -31,8 +107,23 @@ const stories = [
|
||||
{ variant: 'success', children: 'I am a little font', className: 'f6' } as CalloutPropsT,
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'MarkdownContent',
|
||||
component: MarkdownContent,
|
||||
variants: [{ children: markdownExample } as MarkdownContentPropsT],
|
||||
},
|
||||
]
|
||||
|
||||
function displayProps(props: Object) {
|
||||
const xprops = Object.fromEntries(
|
||||
Object.entries(props).map(([key, value]) => [
|
||||
key,
|
||||
key === 'children' ? ReactDomServer.renderToString(value) : value,
|
||||
])
|
||||
)
|
||||
return JSON.stringify(xprops, null, 2)
|
||||
}
|
||||
|
||||
export default function Storybook() {
|
||||
return (
|
||||
<div className="p-4 mx-auto" style={{ maxWidth: 1200 }}>
|
||||
@@ -51,13 +142,16 @@ export default function Storybook() {
|
||||
<div className="col-12 col-lg-9">
|
||||
{stories.map(({ name, component, variants }) => (
|
||||
<div id={name} key={name} className="mb-4">
|
||||
<h2 className="position-sticky top-0 color-bg-primary border-bottom">{name}</h2>
|
||||
<h2 className="position-sticky top-0 color-bg-primary border-bottom z-2">{name}</h2>
|
||||
{variants.map((props) => (
|
||||
<div className="my-4" key={JSON.stringify(props)}>
|
||||
{/* @ts-ignore */}
|
||||
{React.createElement(component, props)}
|
||||
<pre className="mt-2 p-2 color-bg-tertiary border rounded-2">
|
||||
{JSON.stringify(props, null, 2)}
|
||||
<pre
|
||||
className="mt-2 p-2 color-bg-tertiary border rounded-2"
|
||||
style={{ whiteSpace: 'pre-wrap' }}
|
||||
>
|
||||
{displayProps(props)}
|
||||
</pre>
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user