From 82c905bba6b31571b4ca684c7792fb68ad156724 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Fri, 3 Mar 2023 14:14:33 +0000 Subject: [PATCH] Remove unneeded Sphinx templates and static files (#9712) These files are several files left over from old versions of the documentation, and several from before `qiskit-sphinx-theme` was entirely separate from the Terra docs-build process. Having them remain in the repository causes local (or CI) builds of the documentation to pull from these templates instead of those provided by the theme package, which causes us to get different behaviour to what will actually be deployed during the metapackage docs build. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 40f73a3d6ec6ae01ec67fd0566e7203d28118ed1) --- docs/_static/custom.css | 27 -- docs/_templates/layout.html | 397 ------------------- docs/_templates/page.html | 14 - docs/_templates/theme_variables.jinja | 25 -- docs/_templates/versions.html | 30 -- docs/conf.py | 4 +- docs/images/logo.png | Bin 9489 -> 0 bytes qiskit/circuit/classicalfunction/__init__.py | 32 +- 8 files changed, 14 insertions(+), 515 deletions(-) delete mode 100644 docs/_static/custom.css delete mode 100644 docs/_templates/layout.html delete mode 100644 docs/_templates/page.html delete mode 100644 docs/_templates/theme_variables.jinja delete mode 100644 docs/_templates/versions.html delete mode 100644 docs/images/logo.png diff --git a/docs/_static/custom.css b/docs/_static/custom.css deleted file mode 100644 index 3f981b658127..000000000000 --- a/docs/_static/custom.css +++ /dev/null @@ -1,27 +0,0 @@ -.toggle .header { - display: block; - clear: both; - background-color: #785EF0; - color: #f9f9f9; - height: 40px; - padding-top: 10px; - padding-left: 5px; - margin-bottom: 20px; -} - -.toggle .header:before { - float: left; - content: "▶ "; - font-size: 20px; - -} - -.toggle .header.open:before { - float: left; - content: "▼ "; - font-size: 20px; -} - -.toggle{ - background: #FBFBFB; -} diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html deleted file mode 100644 index c56567944194..000000000000 --- a/docs/_templates/layout.html +++ /dev/null @@ -1,397 +0,0 @@ -{# TEMPLATE VAR SETTINGS #} -{%- set url_root = pathto('', 1) %} -{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} -{%- if not embedded and docstitle %} - {%- set titlesuffix = " — "|safe + docstitle|e %} -{%- else %} - {%- set titlesuffix = "" %} -{%- endif %} -{%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %} -{% import 'theme_variables.jinja' as theme_variables %} - - - - - - - {{ metatags }} - - {% block htmltitle %} - {{ title|striptags|e }}{{ titlesuffix }} - {% endblock %} - - {# FAVICON #} - {% if favicon %} - - {% endif %} - {# CANONICAL URL #} - {% if theme_canonical_url %} - - {% endif %} - - {# CSS #} - - {# OPENSEARCH #} - {% if not embedded %} - {% if use_opensearch %} - - {% endif %} - - {% endif %} - - - - {%- for css in css_files %} - {%- if css|attr("rel") %} - - {%- else %} - - {%- endif %} - {%- endfor %} - {%- for cssfile in extra_css_files %} - - {%- endfor %} - - {%- block linktags %} - {%- if hasdoc('about') %} - - {%- endif %} - {%- if hasdoc('genindex') %} - - {%- endif %} - {%- if hasdoc('search') %} - - {%- endif %} - {%- if hasdoc('copyright') %} - - {%- endif %} - {%- if next %} - - {%- endif %} - {%- if prev %} - - {%- endif %} - {%- endblock %} - {%- block extrahead %} {% endblock %} - - {# Keep modernizr in head - http://modernizr.com/docs/#installing #} - - - - -
- -
- - - - - {% block extrabody %} {% endblock %} - - {# SIDE NAV, TOGGLES ON MOBILE #} - - {% include "versions.html" %} - - - - - -
-
-
- {% include "breadcrumbs.html" %} -
- -
- Shortcuts -
-
- -
-
- - {%- block content %} - {% if theme_style_external_links|tobool %} - - -
-
-
- {{ toc }} -
-
-
-
-
- - {% if not embedded %} - - {% if sphinx_version >= "1.8.0" %} - - {%- for scriptfile in script_files %} - {{ js_tag(scriptfile) }} - {%- endfor %} - {% else %} - - {%- for scriptfile in script_files %} - - {%- endfor %} - {% endif %} - - {% endif %} - - - - - - - - -{%- block footer %} {% endblock %} - -
-
-
- - - -
-
-
-
- - -
-
-
- - -
- - - - - - - - diff --git a/docs/_templates/page.html b/docs/_templates/page.html deleted file mode 100644 index 429a7dedd9a2..000000000000 --- a/docs/_templates/page.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "!page.html" %} - -{% block footer %} - -{% endblock %} \ No newline at end of file diff --git a/docs/_templates/theme_variables.jinja b/docs/_templates/theme_variables.jinja deleted file mode 100644 index 1c1b9b8fa8d2..000000000000 --- a/docs/_templates/theme_variables.jinja +++ /dev/null @@ -1,25 +0,0 @@ -{%- set external_urls = { - 'github': 'https://github.com/Qiskit/', - 'github_issues': 'https://github.com/Qiskit/qiskit/issues', - 'contributing': 'https://github.com/Qiskit/qiskit/blob/master/CONTRIBUTING.md', - 'docs': 'https://qiskit.org/documentation/', - 'ml': 'https://qiskit.org/documentation/machine-learning/', - 'nature': 'https://qiskit.org/documentation/nature/', - 'finance': 'https://qiskit.org/documentation/finance/', - 'optim': 'https://qiskit.org/documentation/optimization/', - 'experiments': 'https://qiskit.org/documentation/experiments/', - 'partners': 'https://qiskit.org/documentation/partners/', - 'twitter': 'https://twitter.com/qiskit', - 'events': 'https://qiskit.org/events', - 'textbook': 'https://qiskit.org/textbook', - 'slack': 'https://qiskit.slack.com', - 'home': 'https://qiskit.org/', - 'blog': 'https://pytorch.org/blog/', - 'resources': 'https://qiskit.org/learn', - 'support': 'https://pytorch.org/support', - 'youtube': 'https://www.youtube.com/qiskit', - 'iqx': 'https://quantum-computing.ibm.com/', - 'iqx_systems': 'https://quantum-computing.ibm.com/docs/manage/backends/', - 'ibm': 'https://www.ibm.com/quantum-computing/', -} --%} diff --git a/docs/_templates/versions.html b/docs/_templates/versions.html deleted file mode 100644 index 7bc837867be0..000000000000 --- a/docs/_templates/versions.html +++ /dev/null @@ -1,30 +0,0 @@ -
- - {{ version_label }} - - -
- {% if translations %} -
-
{{ _('Languages') }}
- {% for code, language in translations_list %} -
{{ language }}
- {% endfor %} -
- {% endif %} -
-
Previous Releases
- {% for version in version_list %} -
{{ version }}
- {% endfor %} -
-
- -
diff --git a/docs/conf.py b/docs/conf.py index c9e91d27dda0..c603ef509630 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -67,7 +67,7 @@ # -- Options for HTML output ------------------------------------------------- -html_theme = "qiskit_sphinx_theme" # use the theme in subdir 'theme' +html_theme = "qiskit_sphinx_theme" html_last_updated_fmt = "%Y/%m/%d" html_theme_options = { "logo_only": True, @@ -75,8 +75,6 @@ "prev_next_buttons_location": "bottom", "style_external_links": True, } -html_static_path = ["_static"] -html_css_files = [] # -- Options for Autosummary and Autodoc ------------------------------------- diff --git a/docs/images/logo.png b/docs/images/logo.png deleted file mode 100644 index c4f83672e4046aad1e65cfda275129e5c64dfa1c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9489 zcma)C1yEeUmK_FnPjDt^a1AoJySsGyGO*>08UO&ml#`WIf5~J2J}5{p?*r-Wrk4!CQcOt< z0QeSz{>K#Yr4BNaRaXK4yyyUcfDi!S;ROmf1OQyw0f6K8001}@0C???*`g*0007ag zG<98cl@!5d_O`61=Jp>TtRA)wFA@NNpa=M+XbW*M1$o%o*g1negsA?(0Kb&~!faHa ze^6XL2~p`Pse&ZzogkohtlX^ZRKjQ=5J=F;+ybmFDg7_;mzogOM;8|dFdLh@yF05p z7puLKB^w7nKR+8gCmSax%L{|W+0)L&)Pu#&nfjkf{#%bE#M#Wr%E86T-VXFvujvPS zR~I2Fs=tQ*o&MQQ7b}bZv1I4`uWr3`knQgmHV#&Hwtwq>5f%K4g4H3;_BO76)oa;V zxd?L#{)7C#;s3GrPbmp|TL&kIv-69XFvq_{{uBG(d=)1v$V>nJn)x^XKe7MKSN&-3 zV*lc6Co3~KI~R!4i?M%6|91obZ^plL39|il*MGS0pJVe6^kr~_(FEE4J3?!BrxRK?6iRS>n&k?u@z?fw4BV z7zp8G%|SNFh3cfA(cqHJgKbb$6;R-rx0dzIqXBwYrYQT;X3k4Q%qDl~X8!)a)@@WK z60Th$rAa!gk25+R1sI;8nx3mNRu@NXx1aUk-7owYiUGRa({~sVy8GANHx$e?n zZexQoUz^m2$OlB`=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p&CKXIKzq_p1`_$3uWt~g>9Q(K{TO`N9+ zYv4~xd=1AeLlhQ-*R?IuAl5>KA}retrj1Qx$JPsZfq z(8-pjTs2c{FI?0qhV3RLy8rd;Q!;C&siR@A4n_3GK z*Ey{c$5Rh1ox%!f?dMv^$T~G~Ni;4X59t$eYkvisbzDMwYj9CcUp4_wcrp<#f$;c)#S^Lg^M{AH z850}SFswfeTwh>0VV}eJ{~o}-dpvDE$kwnNP31@_7;A<9!2ytUr#=q)ii$9j_QmgZ zkImn+U@6edM8MNl*)Lu-rv^`6gM#ibq}_tN_C($s#t5;^;FB)`7rdW*~|?jd4Nug7>e4IdpahOBr6H|1ebsvSKT zv*5{>zUtM3O3yq#?V{RX=8T;7p&BZ4LO!O7+EbQa1|NGup2=w0|DFw6woJvBj4c~r zL2;7OXDHSvFH=s)d9vEm+1Fu^l^9Inu^GsARyQHs=zyf~eA|W#INBbaTW#VIF?n7j zE>fn?98(rzPxqV&fg{|8%Ow5Wx@kyIQo~}02#VTWP?qlCn4)<2X#fvQZh16!w^!CLsyYXlfFgc5$>4#vsz zBbfihv{FJG?xWVI!33FIk7|0_=vQ|5+8B9gu&b=Q@mz@dDP0;dU=O(a1u+0YN&Om0H+g%JtG6x{3i4WrvsK<@! zLhE(l7oAfQVc^^PTtLje$QRZ?3c##gmL=*^|GClS-K~HAacxIEJxrHi;twsRYP_-_ n%Kzuq#{YTIqwCpw^BK@RVaVRmos#|cHj Int1: Supplementary Information ========================= -.. container:: toggle - - .. container:: header - - **Tweedledum** - - Tweedledum is a C++-17 header-only library that implements a large set of - reversible (and quantum) synthesis, optimization, and mapping algorithms. - The classical function compiler relies on it and its dependencies to both represent logic - networks and synthesize them into quantum circuits. - -.. container:: toggle +Tweedledum +---------- - .. container:: header +Tweedledum is a C++-17 header-only library that implements a large set of +reversible (and quantum) synthesis, optimization, and mapping algorithms. +The classical function compiler relies on it and its dependencies to both represent logic +networks and synthesize them into quantum circuits. - **ClassicalFunction data types** +ClassicalFunction data types +---------------------------- - At the moment, the only type supported by the classical_function compilers is - ``qiskit.circuit.classicalfunction.types.Int1``. The classical function function - to parse *must* include type hints (just ``Int1`` for now). The resulting gate - will be a gate in the size of the sum of all the parameters and the return. +At the moment, the only type supported by the classical_function compilers is +``qiskit.circuit.classicalfunction.types.Int1``. The classical function function +to parse *must* include type hints (just ``Int1`` for now). The resulting gate +will be a gate in the size of the sum of all the parameters and the return. - The type ``Int1`` means the classical function will only operate at bit level. +The type ``Int1`` means the classical function will only operate at bit level. ClassicalFunction compiler API