-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/v11.1] Update to 11.1.0-rc.1 (#1964)
* Check DocC top sections (#1954) * Update license year (#1958) * MAPSIOS-1254: Fix the annotation could disappear when dragged (#1962) * Update to 11.1.0-rc.1 (#1963) --------- Co-authored-by: Ivan Persidsky <[email protected]>
- Loading branch information
1 parent
58aa4f2
commit 42d28e7
Showing
19 changed files
with
98 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version" : "11.1.0-beta.1" | ||
"version" : "11.1.0-rc.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# Load the JSON file | ||
import argparse | ||
import json | ||
|
||
acceptedTopSectionTitles = ['Essentials', 'Style', 'Annotations', 'Advanced', 'Other', 'Dependencies', 'Internal', 'Extended Modules'] | ||
|
||
def main(): | ||
parser = argparse.ArgumentParser(description='Check DocC top sections for unexpected items.') | ||
parser.add_argument('--docc', required=True, | ||
type=str, help='Path to doccarchive folder') | ||
|
||
args = parser.parse_args() | ||
|
||
root_file_path = f"{args.docc}/data/documentation/mapboxmaps.json" | ||
print(f"Checking DocC top sections for unexpected items in {args.docc}") | ||
|
||
with open(root_file_path) as f: | ||
root = json.load(f) | ||
|
||
sectionTitles = list(map(lambda section: section['title'], root['topicSections'])) | ||
|
||
unexpectedTitles = list(filter(lambda title: title not in acceptedTopSectionTitles, sectionTitles)) | ||
|
||
if len(unexpectedTitles) > 0: | ||
print(f"Unexpected section titles found: {unexpectedTitles}") | ||
exit(1) | ||
else: | ||
print("Check passed.") | ||
|
||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"MapboxCoreMaps": "11.1.0-beta.1", | ||
"MapboxCommon": "24.1.0-beta.2", | ||
"MapboxCoreMaps": "11.1.0-rc.1", | ||
"MapboxCommon": "24.1.0-rc.1", | ||
"Turf": "2.7.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters