Skip to content

Commit 5cef9e2

Browse files
authored
Remove Actions experimental articles (#27524)
1 parent 4f38681 commit 5cef9e2

File tree

10 files changed

+4
-1139
lines changed

10 files changed

+4
-1139
lines changed

components/article/ArticlePage.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ const ClientSideHighlightJS = dynamic(() => import('./ClientSideHighlightJS'), {
2222

2323
// Mapping of a "normal" article to it's interactive counterpart
2424
const interactiveAlternatives: Record<string, { href: string }> = {
25-
'/actions/automating-builds-and-tests/building-and-testing-nodejs': {
26-
href: '/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python?langId=nodejs',
27-
},
28-
'/actions/automating-builds-and-tests/building-and-testing-python': {
29-
href: '/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python?langId=python',
30-
},
3125
'/codespaces/setting-up-your-project-for-codespaces/setting-up-your-nodejs-project-for-codespaces':
3226
{
3327
href: '/codespaces/setting-up-your-project-for-codespaces/setting-up-your-project-for-codespaces?langId=nodejs',

components/context/PlaygroundContext.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@ import React, { createContext, useContext, useState } from 'react'
22
import { CodeLanguage, PlaygroundArticleT } from 'components/playground/types'
33
import { useRouter } from 'next/router'
44

5-
import actionsJsArticle from 'components/playground/content/actions/guides/building-and-testing-nodejs-or-python/nodejs'
6-
import actionsPyArticle from 'components/playground/content/actions/guides/building-and-testing-nodejs-or-python/python'
75
import codespacesJsArticle from 'components/playground/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-project-for-codespaces/nodejs'
86
import codespacesPyArticle from 'components/playground/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-project-for-codespaces/python'
97
import codespacesNetArticle from 'components/playground/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-project-for-codespaces/dotnet'
108
import codespacesJavaArticle from 'components/playground/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-project-for-codespaces/java'
119

1210
const articles = [
13-
actionsJsArticle,
14-
actionsPyArticle,
1511
codespacesJsArticle,
1612
codespacesPyArticle,
1713
codespacesJavaArticle,

0 commit comments

Comments
 (0)