Skip to content

Commit

Permalink
preparations for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Nov 22, 2023
1 parent 56fdb44 commit 77220fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,3 @@ esbuild-why-*.html

.yalc
yalc.lock
docs/shared/client.api.json
2 changes: 1 addition & 1 deletion api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

"docModel": {
"enabled": false,
"apiJsonFilePath": "<projectFolder>/docs/shared/<unscopedPackageName>.api.json",
"apiJsonFilePath": "<projectFolder>/docs/public/<unscopedPackageName>.api.json",
"includeForgottenExports": true
},

Expand Down
7 changes: 5 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[build]
publish = "docs/public"
command = "npm run typedoc"
command = """\
npm run typedoc
npm run docmodel
"""

[build.environment]
NODE_VERSION = "18"
Expand All @@ -13,7 +16,7 @@
npm run docmodel
cd ../
rm -rf monodocs
git clone https://github.com/apollographql/docs --branch pr/apidoc --single-branch monodocs
git clone https://github.com/apollographql/docs --branch main --single-branch monodocs
cd monodocs
npm i
cp -r ../docs local
Expand Down

0 comments on commit 77220fe

Please sign in to comment.