Skip to content

Commit

Permalink
1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Aug 23, 2022
1 parent b8e9e9e commit ed5dc28
Show file tree
Hide file tree
Showing 13 changed files with 119 additions and 42,393 deletions.
18 changes: 9 additions & 9 deletions build1.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ if (!$file) {
$shortFile = [IO.Path]::GetFileNameWithoutExtension($file)

# this does swagger-codegen
if ($shortFile -eq "daemon") { # need to let the custom codegen template know to use websocket for deamon
java -jar ./tools/swagger-codegen-cli.jar generate -l html2 -i ./src/$file -o ./build/tmp/$file `
-t tools/templates/htmlDocs2 --additional-properties endpoint=$shortFile websocket=true
}
else {
java -jar ./tools/swagger-codegen-cli.jar generate -l html2 -i ./src/$file -o ./build/tmp/$file `
-t tools/templates/htmlDocs2 --additional-properties endpoint=$shortFile
}
Copy-Item ./build/tmp/$file/index.html -Destination ./build/site/$shortFile.html
# if ($shortFile -eq "daemon") { # need to let the custom codegen template know to use websocket for deamon
# java -jar ./tools/swagger-codegen-cli.jar generate -l html2 -i ./src/$file -o ./build/tmp/$file `
# -t tools/templates/htmlDocs2 --additional-properties endpoint=$shortFile websocket=true
#}
#else {
# java -jar ./tools/swagger-codegen-cli.jar generate -l html2 -i ./src/$file -o ./build/tmp/$file `
# -t tools/templates/htmlDocs2 --additional-properties endpoint=$shortFile
#}
#Copy-Item ./build/tmp/$file/index.html -Destination ./build/site/$shortFile.html

# this does redocly
npx redoc-cli build src/$file --output build/redoc/$shortFile.html --options.theme.colors.primary.main=green
58 changes: 31 additions & 27 deletions docs/redoc/full_node.html

Large diffs are not rendered by default.

153 changes: 78 additions & 75 deletions docs/redoc/wallet.html

Large diffs are not rendered by default.

3,640 changes: 0 additions & 3,640 deletions docs/static/crawler.html

This file was deleted.

6,026 changes: 0 additions & 6,026 deletions docs/static/daemon.html

This file was deleted.

5,532 changes: 0 additions & 5,532 deletions docs/static/farmer.html

This file was deleted.

7,546 changes: 0 additions & 7,546 deletions docs/static/full_node.html

This file was deleted.

4,176 changes: 0 additions & 4,176 deletions docs/static/harvester.html

This file was deleted.

6 changes: 0 additions & 6 deletions docs/static/images/chia-logo.svg

This file was deleted.

Binary file removed docs/static/images/favicon.ico
Binary file not shown.
60 changes: 0 additions & 60 deletions docs/static/index.html

This file was deleted.

Loading

0 comments on commit ed5dc28

Please sign in to comment.