Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfixes: config, version, deploy-docs (backport #27) #28

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: ./.github/actions/install-optimization
- uses: ./.github/actions/install-algorithms
with:
os: ${{ matrix.os }}
- name: Install Dependencies
Expand Down
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
import os
import sys

import qiskit_algorithms

sys.path.insert(0, os.path.abspath(".."))
sys.path.append(os.path.abspath("."))

Expand All @@ -29,9 +31,9 @@
author = "Qiskit Algorithms Development Team"

# The short X.Y version
version = "0.1"
version = qiskit_algorithms.__version__
# The full version, including alpha/beta/rc tags
release = "0.1.0"
release = qiskit_algorithms.__version__

# Manually add the gallery CSS file for now
# TODO: Figure out why the styling is not working by default
Expand Down
3 changes: 3 additions & 0 deletions qiskit_algorithms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,10 @@
VQEResult,
)

from .version import __version__

__all__ = [
"__version__",
"AlgorithmJob",
"AlgorithmResult",
"VariationalAlgorithm",
Expand Down
Loading