Skip to content

Commit

Permalink
chore(sage-monorepo): update Redocly and fix migration bugs for all p…
Browse files Browse the repository at this point in the history
…rojects (#2820)
  • Loading branch information
tschaffter authored Sep 16, 2024
1 parent 7044f7a commit a4a504d
Show file tree
Hide file tree
Showing 4 changed files with 744 additions and 580 deletions.
5 changes: 4 additions & 1 deletion apps/openchallenges/api-docs/index.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<html>

<head>
<meta charset='utf8' />
<title>{{title}}</title>
<!-- needed for adaptive design -->
{{!-- <meta description='{{{templateOptions.metaDescription}}}' /> --}}
<meta description='{{{templateOptions.metaDescription}}}' />
<meta name='viewport' content='width=device-width, initial-scale=1' />
<style>
body { padding: 0; margin: 0; }
Expand All @@ -14,7 +15,9 @@
rel='stylesheet'
/>{{/unless}}
</head>

<body>
{{{redocHTML}}}
</body>

</html>
2 changes: 1 addition & 1 deletion apps/openchallenges/api-docs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": {
"executor": "nx:run-commands",
"options": {
"command": "redocly build-docs --config redocly.yaml --template index.hbs --output build/redoc-static.html",
"command": "redocly build-docs --config redocly.yaml --template index.hbs --templateOptions.metaDescription=\"OpenChallenges REST API docs\" --output build/redoc-static.html",
"cwd": "apps/openchallenges/api-docs"
}
},
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
"ngx-avatars": "1.5.0",
"ngx-countup": "13.1.0",
"ngx-typed-js": "2.1.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"regenerator-runtime": "0.13.11",
"rollbar": "2.26.4",
"rxjs": "7.8.1",
Expand Down Expand Up @@ -87,7 +89,7 @@
"@openapitools/openapi-generator-cli": "2.5.2",
"@playwright/test": "^1.36.0",
"@prettier/plugin-xml": "2.2.0",
"@redocly/cli": "1.0.0-beta.131",
"@redocly/cli": "1.25.2",
"@schematics/angular": "18.0.7",
"@storybook/addon-essentials": "7.6.19",
"@storybook/angular": "7.6.19",
Expand Down
Loading

0 comments on commit a4a504d

Please sign in to comment.