-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #40: build-docs shouldn't rely on specific dir layout for deps.
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
@echo off | ||
rdmd --build-only -c -Isrc -I../libInputVisitor -I../taggedalgebraic/source -Dddocs_tmp -X -Xfdocs/docs.json --force src/sdlang/package.d | ||
for /f %%i in ('dub describe --data=import-paths') do set IMPORT_PATHS=%%i | ||
rdmd --build-only -c %IMPORT_PATHS% -Dddocs_tmp -X -Xfdocs/docs.json --force src/sdlang/package.d | ||
rmdir /S /Q docs_tmp > NUL 2> NUL | ||
del src\sdlang\package.exe | ||
ddox filter docs/docs.json --ex sdlang.lexer --ex sdlang.symbol --ex libInputVisitor --ex taggedalgebraic --min-protection Public | ||
ddox filter docs/docs.json --ex sdlang.lexer --ex sdlang.symbol --ex taggedalgebraic --min-protection Public | ||
ddox generate-html docs/docs.json docs/public --navigation-type=ModuleTree --override-macros=ddoc/macros.ddoc |