Qiskit / qiskit-metapackage

Qiskit is an open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules.
https://qiskit.org
Apache License 2.0
3.03k stars 753 forks source link

Use `templates` and `source_images` folders from Terra #1748

Closed Eric-Arellano closed 1 year ago

Eric-Arellano commented 1 year ago

This makes progress towards https://github.com/Qiskit/qiskit-metapackage/issues/1722.

We are not ready to yet move actual docs pages like maintainers_guide.rst to Terra because it requires that those docs are in a released version of Terra, such as 0.24.1.

But, Terra has already had duplicate copies of _templates and source_images. So, it's safe for us to de-duplicate those folders.

This PR is prework for future de-duplication.

--

To simplify this PR, I removed the DOCS_FROM_MASTER feature, which was not used in CI or anywhere.

I also tweaked the functionality of docs currently existing. We now will delete them at the end of the run. And we don't clone tutorials if they already existed.