/
githubmirror
/
obsidian-developer-docs
Обзор
Документация
Войти
/
githubmirror
/
obsidian-developer-docs
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
config/gendoc.sh
17 строк
692 B
Johannes Theiner
Fix issue links to functions being resolved, if there are multiple function declarations with the same name.
18 окт 2023, 17:12
Не верифицирован
18 окт 2023, 17:12
afcde9a
Код
Авторство
О чём код?
#!/bin/bash # 1. Run api-extractor api-extractor run --local --verbose node pre-process.js # Remove everything under ../en/Reference/TypeScript API before doing step 2 rm -rf ../en/Reference/TypeScript\ API/* mkdir -p ../en/Reference/TypeScript\ API # 2. Run api-documenter and ensure it finishes before proceeding # The absolute path is not a bug; this is Silver's fork of api-documenter # Ths fork is available at here if you want to build your own: https://github.com/ericaxu/rushstack-obsidian D:\\Dropbox\\Projects\\rushstack\\apps\\api-documenter\\bin\\api-documenter markdown --output ../en/Reference/TypeScript\ API && \ # 3. Run post-process.js with Node.js node post-process.js