Skip to content

Commit b8011c9

Browse files
authored
Enforce strict checking during the Sphinx documentation build process for azure-maps-render (#34887)
1 parent 37eb477 commit b8011c9

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

sdk/maps/azure-maps-render/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ pyright = false
33
type_check_samples = false
44
verifytypes = false
55
ci_enabled = false
6+
strict_sphinx = true

sdk/maps/azure-maps-render/samples/async_samples/sample_get_copyright_from_bounding_box_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def get_copyright_from_bounding_box_async():
4444
print(result.general_copyrights[0])
4545
print("Result country code:")
4646
print(result.regions[0].country.iso3)
47-
# [END get_copyright_from_bounding_box]
47+
# [END get_copyright_from_bounding_box_async]
4848

4949
if __name__ == '__main__':
5050
asyncio.run(get_copyright_from_bounding_box_async())

sdk/maps/azure-maps-render/samples/async_samples/sample_get_map_tileset_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
subscription_key = os.getenv("AZURE_SUBSCRIPTION_KEY")
2222

2323
async def get_map_tileset_async():
24-
# [START get_map_tile_async]
24+
# [START get_map_tileset_async]
2525
from azure.core.credentials import AzureKeyCredential
2626
from azure.maps.render.aio import MapsRenderClient
2727
from azure.maps.render.models import TilesetID
@@ -35,7 +35,7 @@ async def get_map_tileset_async():
3535
print(result.map_attribution)
3636
print(result.bounds)
3737
print(result.version)
38-
# [END get_map_tile_async]
38+
# [END get_map_tileset_async]
3939

4040
if __name__ == '__main__':
4141
asyncio.run(get_map_tileset_async())

0 commit comments

Comments
 (0)