Skip to content

Commit

Permalink
Showing 10 changed files with 1 addition and 775 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ Describe the changes in this PR here.
- [ ] Write tests for all new functionality. Put tests in correct [Test Plan](https://github.com/mapbox/mapbox-maps-ios/tree/main/Tests/TestPlans) (Unit, Integration, All)
- [ ] If tests were not written, please explain why.
- [ ] Add documentation comments for any added or updated public APIs.
- [ ] Add any new public, top-level symbols to the Jazzy config's `custom_categories` (scripts/doc-generation/.jazzy.yaml)
- [ ] Add any new public, top-level symbols to the DocC custom catatlog (Sources/MapboxMaps/Documentation.docc/API Catalogs)
- [ ] Add a changelog entry to to bottom of the relevant section (typically the `## main` heading near the top).
- [ ] Update the guides (internal access only), README.md, and DEVELOPING.md if their contents are impacted by these changes.
- [ ] If this PR is a `v10.[version]` release branch fix / enhancement, merge it to `main` first and then port to `v10.[version]` release branch.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -7,7 +7,6 @@ node_modules
developer.xcconfig
Carthage
Cartfile*
api-docs
MapboxAccessToken
scripts/release/packager/artifacts
scripts/release/packager/build
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "jazzy-theme"]
path = scripts/doc-generation/jazzy-theme
url = https://github.com/mapbox/jazzy-theme.git
314 changes: 0 additions & 314 deletions scripts/doc-generation/.jazzy.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/doc-generation/Gemfile

This file was deleted.

120 changes: 0 additions & 120 deletions scripts/doc-generation/Gemfile.lock

This file was deleted.

121 changes: 0 additions & 121 deletions scripts/doc-generation/generate-docs.sh

This file was deleted.

199 changes: 0 additions & 199 deletions scripts/doc-generation/generate-maps-docs.sh

This file was deleted.

1 change: 0 additions & 1 deletion scripts/doc-generation/jazzy-theme
Submodule jazzy-theme deleted from 75b917
12 changes: 0 additions & 12 deletions scripts/release/upload-docs
Original file line number Diff line number Diff line change
@@ -7,8 +7,6 @@ logging.basicConfig(level=logging.INFO)

def main():
parser = argparse.ArgumentParser(description='Upload documentation.')
parser.add_argument('--jazzy-docs', required=True,
type=dir_path, help='Path to jazzy docs')
parser.add_argument('--docc-docs', default=None,
type=dir_path, help='Path to DocC docs')
parser.add_argument('--version', default=None, required=True,
@@ -37,16 +35,6 @@ def main():
if not args.dry_run:
repo.remote().push()

if args.jazzy_docs and args.jazzy_docs.exists() and args.jazzy_docs.is_dir():
print(f"Copy jazzy docs from {args.jazzy_docs} to {repo.working_dir}/{args.version}-jazzy")
shutil.copytree(args.jazzy_docs, Path(repo.working_dir) / f"{args.version}-jazzy", dirs_exist_ok=True)
repo.index.add([f"{args.version}-jazzy"])

repo.index.commit(f"Add jazzy documentation for {args.version} version")

if not args.dry_run:
repo.remote().push()

if not args.dry_run:
shutil.rmtree(tmpdirname)

0 comments on commit 124093f

Please sign in to comment.