From 550407ea02387bb39b96e6397d68d0d4b3276173 Mon Sep 17 00:00:00 2001 From: BowlingX Date: Fri, 13 Aug 2021 15:27:05 +0200 Subject: [PATCH] fix(docs): fixed documentation command --- .github/workflows/test.yml | 1 + README.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9102e8..544f906 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,6 +39,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: yarn doc - name: Deploy 🚀 Documentation uses: JamesIves/github-pages-deploy-action@4.1.4 with: diff --git a/README.md b/README.md index 013c0f0..922b983 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Allows bypassing certain parts of the query before it's send to the server. ### Setup +```ts import KeepLink from '@freshcells/apollo-link-field-keep' // ... @@ -27,6 +28,7 @@ Allows bypassing certain parts of the query before it's send to the server. // .. other links ]), }) +``` You can then use the `@keep` directive as: