Skip to content

Commit d033070

Browse files
committed
Add a gettingstarted.html to all exporters
1 parent e9d0fbd commit d033070

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

tools/export/GettingStarted.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="refresh"
6+
content="1;url="https://developer.mbed.org/handbook/Getting-Started-mbed-Exporters>
7+
<script type="text/javascript">
8+
window.location.href = "https://developer.mbed.org/handbook/Getting-Started-mbed-Exporters"
9+
</script>
10+
<title>Page Redirection</title>
11+
</head>
12+
<body>
13+
If you are not redirected automatically, please follow the
14+
<a href='https://developer.mbed.org/handbook/Getting-Started-mbed-Exporters'>link to the online exporter documentation</a>
15+
</body>
16+
</html>

tools/export/exporters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(self, target, export_dir, project_name, toolchain,
7171
jinja_loader = FileSystemLoader(os.path.dirname(os.path.abspath(__file__)))
7272
self.jinja_environment = Environment(loader=jinja_loader)
7373
self.resources = resources
74-
self.generated_files = []
74+
self.generated_files = [join(self.TEMPLATE_DIR,"GettingStarted.html")]
7575
self.builder_files_dict = {}
7676

7777
def get_toolchain(self):

0 commit comments

Comments
 (0)