Skip to content

Commit

Permalink
Remove tutorials (#1660)
Browse files Browse the repository at this point in the history
This PR removes tutorial notebooks and related tools as they're being
moved to a closed-source repository.

---------

Co-authored-by: Eric Arellano <[email protected]>
  • Loading branch information
frankharkins and Eric-Arellano authored Jul 15, 2024
1 parent a6e3861 commit 02d6aa7
Show file tree
Hide file tree
Showing 109 changed files with 9 additions and 9,115 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/deploy-tutorials.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/learning-uploader-test.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/notebook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ name: Test notebooks
on:
pull_request:
paths:
- "tutorials/**/*.ipynb"
- "docs/**/*.ipynb"
- "!docs/api/**/*"
workflow_dispatch:
Expand Down Expand Up @@ -47,7 +46,7 @@ jobs:
id: all-changed-files
uses: tj-actions/changed-files@af2816c65436325c50621100d67f6e853cd1b0f1
with:
files: "{tutorials,docs}/**/*.ipynb"
files: "docs/**/*.ipynb"
separator: "\n"

- name: Check for notebooks that require Linux
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,14 +426,6 @@ This content lives on https://docs.quantum.ibm.com.

See the section "Syncing content with open source repo" in the internal docs repo's README.
### Deploy tutorials
This content lives on https://learning.quantum.ibm.com.
To deploy a file from the `tutorials/` directory in this repository, see the instructions in the [tutorials directory README](https://github.com/Qiskit/documentation/blob/main/tutorials/README.md).
To deploy a file from the ibm-quantum-learning-enablement repository, see the instructions in the internal tutorial repo's tutorials directory README.

# How to write the documentation
Refer to our [style guide](./style-guide.md) for technical writing guidance.
Expand Down
28 changes: 3 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@
"check:qiskit-bot": "node -r esbuild-register scripts/commands/checkQiskitBotFiles.ts",
"check:stale-images": "node -r esbuild-register scripts/commands/checkStaleImages.ts",
"fmt": "prettier --write .",
"test": "jest --testPathIgnorePatterns='tutorial-uploader'",
"test:tutorial-uploader": "jest scripts/tutorial-uploader",
"test": "jest",
"typecheck": "tsc",
"regen-apis": "node -r esbuild-register scripts/commands/regenerateApiDocs.ts",
"gen-api": "node -r esbuild-register scripts/commands/updateApiDocs.ts",
"make-historical": "node -r esbuild-register scripts/commands/convertApiDocsToHistorical.ts",
"tutorial:sync": "node -r esbuild-register scripts/tutorial-uploader/sync.ts",
"tutorial:validate": "node -r esbuild-register scripts/tutorial-uploader/validate-config.ts",
"tutorial:setup-testing": "node -r esbuild-register scripts/tutorial-uploader/setup-for-testing.ts"
"make-historical": "node -r esbuild-register scripts/commands/convertApiDocsToHistorical.ts"
},
"devDependencies": {
"@swc/jest": "^0.2.29",
Expand Down Expand Up @@ -64,10 +60,8 @@
"zx": "^7.2.3"
},
"dependencies": {
"@directus/sdk": "^16.0.1",
"esbuild": "^0.19.11",
"fast-levenshtein": "^3.0.0",
"js-yaml": "^4.1.0",
"markdown-link-extractor": "^3.1.0",
"transform-markdown-links": "^2.1.0"
}
Expand Down
57 changes: 0 additions & 57 deletions scripts/ibm-quantum-learning-uploader/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions scripts/ibm-quantum-learning-uploader/pyproject.toml

This file was deleted.

Loading

0 comments on commit 02d6aa7

Please sign in to comment.