Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sai Kishor Kothakota <[email protected]>
  • Loading branch information
christophfroehlich and saikishor authored May 14, 2024
1 parent d3fcf3c commit 6ca3a5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ multiversion: Makefile
@echo Step 3: Deleting temporary commits
./make_help_scripts/delete_tmp_commits.py
@echo Step 4: Create correct index + legacy master version
./make_help_scripts/fix_index.py --builddir $(BUILDDIR)
./make_help_scripts/fix_index.py --build-dir $(BUILDDIR)

multiversion-with-errors: Makefile
@echo Building multi version documentation without API
Expand All @@ -92,7 +92,7 @@ multiversion-with-errors: Makefile
@echo Step 3: Deleting temporary commits
./make_help_scripts/delete_tmp_commits.py
@echo Step 4: Create correct index + legacy master version
./make_help_scripts/fix_index.py --builddir $(BUILDDIR)
./make_help_scripts/fix_index.py --build-dir $(BUILDDIR)

multiversion-with-api: Makefile
@echo Building multi version documentation with API
Expand All @@ -107,7 +107,7 @@ multiversion-with-api: Makefile
@echo Step 5: Building multiversion API
./make_help_scripts/create_api_multi_version.py
@echo Step 6: Create correct index + legacy master version
./make_help_scripts/fix_index.py --builddir $(BUILDDIR)
./make_help_scripts/fix_index.py --build-dir $(BUILDDIR)

.PHONY: help Makefile html-with-errors html-with-api multiversion multiversion-with-api multiversion-with-errors html-all-subrepos html-all-subrepos-with-api html-all-subrepos-with-errors linkcheck-all-subrepos-with-api

Expand Down
4 changes: 2 additions & 2 deletions make_help_scripts/fix_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def fix_index(base_branch, builddir):

if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Fix index.')
parser.add_argument('--builddir', required=True, help='Build directory.')
parser.add_argument('--build-dir', required=True, help='Build directory.')

args = parser.parse_args()
fix_index(deploy_defines.base_branch, args.builddir)
fix_index(deploy_defines.base_branch, args.build_dir)

0 comments on commit 6ca3a5b

Please sign in to comment.