diff --git a/docs/circle.yml b/docs/circle.yml deleted file mode 100644 index 37d5e3cd2c..0000000000 --- a/docs/circle.yml +++ /dev/null @@ -1,26 +0,0 @@ -machine: - node: - version: 0.12 - -checkout: - post: - - git submodule update --init - -dependencies: - cache_directories: - - "site/node_modules" - override: - - npm install -g hexo-cli - - npm install - - cd code; npm install - -test: - override: - # maybe we will need tests in the future - - echo 'ok!' - -deployment: - s3: - branch: /^(master|version-.*)/ - commands: - - npm run deploy diff --git a/docs/source/index.mdx b/docs/source/index.mdx index a6183ad3f6..d8b70e768b 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -4,25 +4,21 @@ sidebar_title: Introduction description: A strongly-typed, caching GraphQL client for iOS, written in Swift --- -import { Link } from 'gatsby'; - **Apollo iOS** is an [open-source](https://github.com/apollographql/apollo-ios) GraphQL client for native iOS apps, written in Swift. It enables you to execute queries and mutations against a GraphQL server and returns results as operation-specific Swift types.

- - +

## Benefits diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000000..049d8113ec --- /dev/null +++ b/netlify.toml @@ -0,0 +1,19 @@ +[build] + ignore = "exit 0" + +[build.environment] + NODE_VERSION = "16" + +[context.deploy-preview.build] + base = "docs" + ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ." + command = """\ + cd ../ + rm -rf monodocs + git clone https://github.com/apollographql/docs --branch main --single-branch monodocs + cd monodocs + npm i + cp -r ../docs local + DOCS_LOCAL=true npm run build \ + """ + publish = "../monodocs/public"