Skip to content

Commit

Permalink
Resolves issue preventing ref docgen. (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
digimaun authored Jul 20, 2022
1 parent 3d353b1 commit 95fd0d3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ unreleased
+++++++++++++++


0.16.1
+++++++++++++++

* Fix issue preventing reference docgen.


0.16.0
+++++++++++++++

Expand Down
2 changes: 2 additions & 0 deletions azext_iot/common/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ def ensure_azure_namespace_path():
from azext_iot.constants import EXTENSION_NAME

ext_path = get_extension_path(EXTENSION_NAME)
if not ext_path:
return

ext_azure_dir = os.path.join(ext_path, "azure")
if os.path.isdir(ext_azure_dir):
Expand Down
2 changes: 1 addition & 1 deletion azext_iot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import os

VERSION = "0.16.0"
VERSION = "0.16.1"
EXTENSION_NAME = "azure-iot"
EXTENSION_ROOT = os.path.dirname(os.path.abspath(__file__))
EXTENSION_CONFIG_ROOT_KEY = "iotext"
Expand Down
2 changes: 2 additions & 0 deletions azext_iot/deviceupdate/providers/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def reload_modules() -> None:
import importlib

ext_path = get_extension_path(EXTENSION_NAME)
if not ext_path:
return

ext_azure_dir = os.path.join(ext_path, "azure")
if not os.path.isdir(ext_azure_dir):
Expand Down
3 changes: 0 additions & 3 deletions azext_iot/sdk/deviceupdate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azext_iot.common.utility import ensure_azure_namespace_path
ensure_azure_namespace_path()

0 comments on commit 95fd0d3

Please sign in to comment.