svg and png conversion moved to docs

This commit is contained in:
Matt Venn
2023-02-22 10:40:43 +01:00
parent 7f3d197c4d
commit 77a0b2db7d
3 changed files with 22 additions and 0 deletions
+5
View File
@@ -24,6 +24,8 @@ if __name__ == '__main__':
# documentation
parser.add_argument('--create-project-pdf', help="create a single page PDF", action="store_const", const=True)
parser.add_argument('--create-svg', help="create a svg of the GDS layout", action="store_const", const=True)
parser.add_argument('--create-png', help="create a png of the GDS layout", action="store_const", const=True)
# configure
parser.add_argument('--create-user-config', help="create the user_config.tcl file with top module and source files", action="store_const", const=True)
@@ -67,5 +69,8 @@ if __name__ == '__main__':
elif args.create_project_pdf:
documentation.create_pdf(project_yaml)
elif args.create_svg or args.create_png:
documentation.create_svg(args)
else:
parser.print_help()