Add additional docs files

This commit is contained in:
Martijn Walraven 2017-10-16 17:15:08 -07:00
parent c874d2f7f6
commit 213acbba32
7 changed files with 147 additions and 0 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "docs/themes/meteor"]
path = docs/themes/meteor
url = https://github.com/meteor/hexo-theme-meteor.git

9
docs/.gitignore vendored Normal file
View file

@ -0,0 +1,9 @@
.DS_Store
Thumbs.db
db.json
*.log
node_modules/
public/*
!public/_redirects
.deploy*/
docs.json

105
docs/_config.yml Normal file
View file

@ -0,0 +1,105 @@
# Hexo Configuration
## Docs: http://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Apollo Server Docs
propertytitle: Using Apollo Server
subtitle: Apollo Server Guide
description: A guide to using Apollo Server.
author:
language:
timezone:
versions:
- '1'
sidebar_categories:
null:
- index
- setup
- requests
- graphiql
- migration-hapi
- migration
github_repo: apollographql/apollo-server
content_root: docs/source
typescript_api_box:
data_file: docs.json
social_links:
github: 'https://github.com/apollographql'
twitter: '@apollographql'
slackInvitePage: 'https://www.apollodata.com/#slack'
# API keys
apis:
segment: wgrIo8Bul0Ujl8USETG3DB6hONdy4kTg
docsearch:
apiKey: 768e823959d35bbd51e4b2439be13fb7
indexName: apollodata
gtm: GTM-PNFDVBB
logo:
nav_mobile: links/logo/logo-apollo-space-left.svg
title: Apollo
url: https://www.apollographql.com/
# 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/apollo-server/
root: /docs/apollo-server/
permalink: :year/:month/:day/:title/
permalink_defaults:
# Directory
source_dir: source
public_dir: public/docs/apollo-server
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:

View file

@ -0,0 +1 @@
@color-primary: #22A699;

27
docs/package.json Normal file
View file

@ -0,0 +1,27 @@
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.2.0"
},
"dependencies": {
"handlebars": "^4.0.5",
"hexo": "3.2.0",
"hexo-generator-archive": "^0.1.2",
"hexo-generator-category": "^0.1.2",
"hexo-generator-index": "^0.1.2",
"hexo-generator-tag": "^0.1.1",
"hexo-renderer-ejs": "^0.1.0",
"hexo-renderer-less": "^0.2.0",
"hexo-renderer-marked": "^0.2.4",
"hexo-server": "^0.1.2",
"lodash": "^4.13.1",
"showdown": "^1.4.2"
},
"scripts": {
"start": "hexo serve",
"build": "hexo generate",
"develop-theme": "nodemon -x 'rm db.json; hexo serve' -w assets/ -w code/ -w source/ -w themes/ -w scripts/"
}
}

1
docs/public/_redirects Normal file
View file

@ -0,0 +1 @@
/ /docs/graphql-tools/

1
docs/themes/meteor vendored Submodule

@ -0,0 +1 @@
Subproject commit fedc652a4d27af0dbd4343010694db4c9c0717cf