Просмотр исходного кода

Update formatting of markdown scripts

pull/569/head
Dave Machado 6 лет назад
Родитель
Сommit
7fb4f77080
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 948D4778D01A7B3F
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      build/md2json.py
  2. +1
    -1
      build/validate_format.py

+ 1
- 1
build/md2json.py Просмотреть файл

@@ -1,7 +1,7 @@
#!/usr/bin/env python3

import sys
import json
import sys


def markdown_to_json(filename, anchor):


+ 1
- 1
build/validate_format.py Просмотреть файл

@@ -89,7 +89,7 @@ def check_format(filename):
# START Link
# url should be wrapped in '[Go!]()' Markdown syntax
link = segments[index_link]
if not link.startswith('[Go!](') or not link.endswith(')'):
if not link.startswith('[Go!](http') or not link.endswith(')'):
add_error(line_num, 'link format should be "[Go!](LINK)"')
# END Link
# END Check Entries


Загрузка…
Отмена
Сохранить