Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

enable textbook versioning #2042

Merged
merged 8 commits into from
Apr 11, 2023
Merged

enable textbook versioning #2042

merged 8 commits into from
Apr 11, 2023

Conversation

vabarbosa
Copy link
Contributor

@vabarbosa vabarbosa commented Mar 29, 2023

this PR is part of a bigger set of changes required as the Textbook gets re-organized/versioned: #2046

Changes

Fixes #1844

this PR adds the support and includes current version and legacy version of textbook

Implementation details

  • textbook content moved to a separate repo
  • update URL to handle versioning
  • add versioning banner
  • support versioning translation workflow
  • remove references to beta

Related

Qiskit/qiskit.org#3105

* Handle versioning in server

* Replace notebooks with Qiskit/textbook submodule

* Update toc.yaml

* Correct image paths

* Update documentation

* Fix workflows

* Fix formatting in legacy notebooks

* Cleanup package.json
* Remove all versioned content

In anticipation of switching to releases instead of git submodules

* Update script to handle new versions
* Make logic tighter
* Handle translated content

* Add v2 notebooks

* Add v1 notebooks

* Increase node space size

* Update documentation

* Fix tests
@JRussellHuffman
Copy link

Is there a preview URL for this that I can peak at?

@vabarbosa vabarbosa mentioned this pull request Apr 5, 2023
@vabarbosa
Copy link
Contributor Author

Is there a preview URL for this that I can peak at?

there are some merge conflicts we need to resolve before preview link

Two v1 courses used the same URL (ch-quantum-hardware), I've updated the TOC to follow the v2 scheme
Some URLs were inadvertently changed when switching to releases.
@vabarbosa
Copy link
Contributor Author

vabarbosa commented Apr 11, 2023

@frankharkins thank you! i initially created this PR so i can't mark it approved but i think you can 😄
when you are ready we can merge it

Copy link
Member

@frankharkins frankharkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do it

@frankharkins frankharkins merged commit 6f5241e into main Apr 11, 2023
@frankharkins frankharkins deleted the feat/versioning branch April 11, 2023 19:31
@frankharkins frankharkins mentioned this pull request Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Access legacy version of the textbook
3 participants