Update GitHub links (#1052)
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
pollfly 2025-02-25 18:54:28 +02:00 committed by GitHub
parent 02d24aff06
commit 2dde3530dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View File

@ -28,4 +28,4 @@ jobs:
# Runs a single command using the runners shell # Runs a single command using the runners shell
- name: Run a one-line script - name: Run a one-line script
run: | run: |
grep -r -Eoh "(https?://github.com/[a-zA-Z0-9./?=_%:-]*)" $GITHUB_WORKSPACE | sort -u | grep -v "://github.com/allegroai/clearml-docs" | xargs -n 1 sh -c 'curl --output /dev/null --silent --head --fail $0 || curl --output /dev/null --silent --head --fail --write-out "%{url_effective}: %{http_code}\n" $0' grep -r -Eoh "(https?://github.com/[a-zA-Z0-9./?=_%:-]*)" $GITHUB_WORKSPACE | sort -u | grep -v "://github.com/clearml/clearml-docs" | xargs -n 1 sh -c 'curl --output /dev/null --silent --head --fail $0 || curl --output /dev/null --silent --head --fail --write-out "%{url_effective}: %{http_code}\n" $0'

View File

@ -25,7 +25,7 @@ jobs:
env: env:
INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
with: with:
text: Link Checker failure in github.com/allegroai/clearl-docs text: Link Checker failure in github.com/clearml/clearl-docs
blocks: | blocks: |
[ [
{"type": "section", "text": {"type": "mrkdwn", "text": "Testing!"}} {"type": "section", "text": {"type": "mrkdwn", "text": "Testing!"}}

View File

@ -68,7 +68,7 @@ module.exports = {
}, },
announcementBar: { announcementBar: {
id: 'supportus', id: 'supportus',
content: 'If you ❤️ <b>ClearML</b>, ⭐️ us on <a target="_blank" rel="noopener noreferrer" href="https://github.com/allegroai/clearml">GitHub</a>!', content: 'If you ❤️ <b>ClearML</b>, ⭐️ us on <a target="_blank" rel="noopener noreferrer" href="https://github.com/clearml/clearml">GitHub</a>!',
isCloseable: true, isCloseable: true,
}, },
navbar: { navbar: {
@ -168,7 +168,7 @@ module.exports = {
'aria-label': 'Twitter', 'aria-label': 'Twitter',
}, },
{ {
href: 'https://github.com/allegroai/clearml', href: 'https://github.com/clearml/clearml',
position: 'right', position: 'right',
className: 'header-ico header-ico--github', className: 'header-ico header-ico--github',
'aria-label': 'GitHub repository', 'aria-label': 'GitHub repository',
@ -215,7 +215,7 @@ module.exports = {
}, },
{ {
label: 'GitHub', label: 'GitHub',
href: 'https://github.com/allegroai/clearml', href: 'https://github.com/clearml/clearml',
}, },
], ],
}, },
@ -233,13 +233,13 @@ module.exports = {
// Please change this to your repo. // Please change this to your repo.
breadcrumbs: false, breadcrumbs: false,
editUrl: editUrl:
'https://github.com/allegroai/clearml-docs/edit/main/', 'https://github.com/clearml/clearml-docs/edit/main/',
}, },
// API: { // API: {
// sidebarPath: require.resolve('./sidebars.js'), // sidebarPath: require.resolve('./sidebars.js'),
// // Please change this to your repo. // // Please change this to your repo.
// editUrl: // editUrl:
// 'https://github.com/allegroai/clearml-docs/edit/main/', // 'https://github.com/clearml/clearml-docs/edit/main/',
// }, // },
blog: { blog: {
blogTitle: 'ClearML Tutorials', blogTitle: 'ClearML Tutorials',
@ -249,7 +249,7 @@ module.exports = {
showReadingTime: true, showReadingTime: true,
// Please change this to your repo. // Please change this to your repo.
editUrl: editUrl:
'https://github.com/allegroai/clearml-docs/edit/main/tutorials/', 'https://github.com/clearml/clearml-docs/edit/main/tutorials/',
}, },
theme: { theme: {
customCss: require.resolve('./src/css/custom.css'), customCss: require.resolve('./src/css/custom.css'),