mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
[vm/docs] Rename index.md to README.md
R=kevmoo@google.com TEST=docs only change Change-Id: I7e0f3a8fd7d4917dead0e8e4c80c0bbdd0ff591c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/283683 Reviewed-by: Kevin Moore <kevmoo@google.com>
This commit is contained in:
parent
ba3171ae3e
commit
3128c61d1a
|
@ -132,8 +132,9 @@ class Page(Artifact):
|
|||
|
||||
def __init__(self, name: str):
|
||||
self.name = name
|
||||
super().__init__(os.path.join(OUTPUT_DIR, name + '.html'),
|
||||
[os.path.join(WIKI_SOURCE_DIR, name + '.md')])
|
||||
output_name = 'index' if name == 'README' else name
|
||||
super().__init__(os.path.join(OUTPUT_DIR, f'{output_name}.html'),
|
||||
[os.path.join(WIKI_SOURCE_DIR, f'{name}.md')])
|
||||
|
||||
def __repr__(self):
|
||||
return f'Page({self.output} <- {self.inputs[0]})'
|
||||
|
|
Loading…
Reference in a new issue