Skip to content

Commit

Permalink
Release v1.3.0
Browse files Browse the repository at this point in the history
**Main Changes:**
- Add tanh function to ParamObj (#798)
- Upgrades to AnalogDevice specs (#807) 
- **Defining the new Backend API classes** (#764)
- **Documentation Upgrade** (#811)
  • Loading branch information
HGSilveri authored Feb 14, 2025
2 parents 08005e3 + d7eca4d commit a414a79
Show file tree
Hide file tree
Showing 104 changed files with 5,975 additions and 1,092 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ _build
__pycache__/
build/
docs/build/
_autosummary/
dist/
env*
*.egg-info/
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.10"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.2
1.3.0
5 changes: 2 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# For generating documentation.
Sphinx < 7
Sphinx < 8
sphinx-rtd-theme # documentation theme
sphinx_autodoc_typehints == 1.21.3
sphinx_autodoc_typehints == 2.2.1
nbsphinx
nbsphinx-link
ipython >= 8.10 # Avoids bug with code highlighting
myst-parser

# Not on PyPI
# pandoc
1 change: 1 addition & 0 deletions docs/source/_static/assets/pulser_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/* Limit content width, for large screens only */
@media screen and (min-width: 1100px) {
.wy-nav-content {
width: 80% !important;
max-width: 1600px !important;
}
}

/* Apply Pasqal branding colors */
.wy-nav-content-wrap {
background-color: #fcfcfc;
}

.wy-nav-top,
.wy-nav-side {
background-color: #243237;
}

.wy-side-nav-search {
background-color: #00ac85;
}

.wy-side-nav-search a.icon {
font-size: 0px;
margin-bottom: 1rem;
}

.wy-side-nav-search a.icon img.logo {
max-width: 200px;
}

.wy-menu-vertical header,
.wy-menu-vertical p.caption {
color: #00ac85;
}

.wy-menu-vertical a {
color: white;
}

.wy-menu-vertical a:hover {
background: #173035;
}

a {
color: #00ac85;
}

a:hover {
color: #00c887;
}
4 changes: 0 additions & 4 deletions docs/source/_static/css/max_width.css

This file was deleted.

37 changes: 37 additions & 0 deletions docs/source/_templates/autosummary/class.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{{ objname| escape | underline}}

.. currentmodule:: {{ module }}

.. autoclass:: {{ objname }}
:members:
:inherited-members:
:show-inheritance:
:member-order: groupwise

{% block attributes %}
{% if attributes %}
.. rubric:: {{ _('Attributes') }}

.. autosummary::
:nosignatures:
{% for item in attributes %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}

{% block methods %}
{% if methods and methods != ['__init__'] %}
.. rubric:: {{ _('Methods') }}

.. autosummary::
:nosignatures:
{% for item in methods %}
{%- if not item.startswith('_') or item in ['__call__'] %}
~{{ name }}.{{ item }}
{%- endif -%}
{%- endfor %}

.. rubric:: {{ _('Signatures') }}
{% endif %}
{% endblock %}
5 changes: 5 additions & 0 deletions docs/source/_templates/autosummary/function.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ objname | escape | underline}}

.. currentmodule:: {{ module }}

.. autofunction:: {{ objname }}
44 changes: 44 additions & 0 deletions docs/source/_templates/autosummary/module.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{% extends "!autosummary/module.rst" %}

{# This file is almost the same as the default, but adds :toctree: to the autosummary directives.
The original can be found at `sphinx/ext/autosummary/templates/autosummary/module.rst`. #}


{% block functions %}
{%- if functions %}
.. rubric:: {{ _('Functions') }}

.. autosummary::
:toctree:

{% for item in functions %}
{{ item }}
{%- endfor %}
{% endif %}
{%- endblock %}

{% block classes %}
{% if classes %}
.. rubric:: {{ _('Classes') }}
.. autosummary::
:toctree:
:nosignatures:

{% for item in classes %}
~{{ fullname }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}

{%- block modules %}
{#{%- if modules %}
.. rubric:: Modules

.. autosummary::
:toctree:

{% for item in modules %}
{{ item }}
{%- endfor %}
{% endif %}#}
{%- endblock %}
37 changes: 0 additions & 37 deletions docs/source/apidoc/backend.rst

This file was deleted.

Loading

0 comments on commit a414a79

Please sign in to comment.