Skip to content

Commit

Permalink
Merge docs from ios-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnwalraven committed Oct 17, 2017
2 parents 66389ab + dc139bf commit f43ea89
Show file tree
Hide file tree
Showing 24 changed files with 5,592 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[submodule "Carthage/Checkouts/SQLite.swift"]
path = Carthage/Checkouts/SQLite.swift
url = https://github.com/stephencelis/SQLite.swift.git

[submodule "docs/themes/meteor"]
path = docs/themes/meteor
url = https://github.com/meteor/hexo-theme-meteor.git
9 changes: 9 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
Thumbs.db
db.json
*.log
node_modules/
public/*
!public/_redirects
.deploy*/
docs.json
9 changes: 9 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# docs

To run:

```
git submodule update --init
npm install
npm start
```
96 changes: 96 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Hexo Configuration
## Docs: http://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: Apollo iOS Guide
subtitle: Using Apollo with iOS
description:
author:
language:
timezone:
versions:
- '1'
sidebar_categories:
null:
- index
- installation
- api-reference
Usage:
- downloading-schema
- initialization
- fetching-queries
- fragments
- watching-queries
- mutations
github_repo: apollographql/apollo-ios
content_root: source

social_links:
github: 'https://github.com/apollographql'
twitter: '@apollographql'

# API keys
apis:
segment: wgrIo8Bul0Ujl8USETG3DB6hONdy4kTg
gtm: GTM-PNFDVBB

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://www.apollographql.com/docs/ios/
root: /docs/ios/
permalink: :year/:month/:day/:title/
permalink_defaults:

# Directory
source_dir: source
public_dir: public/docs/ios
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: true
tab_replace:

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: meteor

# Deployment
## Docs: http://hexo.io/docs/deployment.html
deploy:
type:
1 change: 1 addition & 0 deletions docs/assets/theme-colors.less
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@color-primary: #22A699;
26 changes: 26 additions & 0 deletions docs/circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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
Loading

0 comments on commit f43ea89

Please sign in to comment.