This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 347
Improve link API and context #81
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
381df1b
being initial refactor with current compat at 100%
9fd2aeb
go back to from
8ad9970
support extensions
7146ec9
fix deploy script
9885903
refactor context usage
25a83a8
add documentation to packages
6ebfcf0
fixed state bug in retry and initial pass at docs
78f99fe
remove theme
a760c3d
setup submodule for theme
bc92eee
docs nit
ba1c6d6
tweak dangerfile for now
6310ad6
chore: Publish
6bc2603
chore: Publish
880c4b2
update docs and fix bug in dedup
1c66a9a
chore: Publish
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,3 +53,6 @@ package-lock.json | |
# Compiled | ||
dist | ||
lib | ||
|
||
|
||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "docs/themes/meteor"] | ||
path = docs/themes/meteor | ||
url = https://github.com/meteor/hexo-theme-meteor.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.DS_Store | ||
Thumbs.db | ||
db.json | ||
*.log | ||
node_modules/ | ||
public/ | ||
.deploy*/ | ||
docs.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "themes/meteor"] | ||
path = themes/meteor | ||
url = https://github.com/meteor/hexo-theme-meteor.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# docs | ||
|
||
[![Greenkeeper badge](https://badges.greenkeeper.io/apollographql/react-docs.svg)](https://greenkeeper.io/) | ||
|
||
To run: | ||
|
||
``` | ||
git clone --recursive https://github.com/apollographql/react-docs.git | ||
cd react-docs | ||
npm install | ||
npm start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# Hexo Configuration | ||
## Docs: http://hexo.io/docs/configuration.html | ||
## Source: https://github.com/hexojs/hexo/ | ||
|
||
# Site | ||
title: Apollo Link Docs | ||
propertytitle: Using Apollo Link | ||
subtitle: Apollo Link Guide | ||
description: A guide to using Apollo Link to customize Apollo Client. | ||
author: | ||
language: | ||
timezone: | ||
versions: | ||
- '1' | ||
sidebar_categories: | ||
null: | ||
- index | ||
- installation | ||
- concepts | ||
Usage: | ||
- stateless | ||
- stateful | ||
- composition | ||
github_repo: apollographql/apollo-link | ||
content_root: 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 | ||
|
||
# URL | ||
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' | ||
url: http://dev.apollodata.com/links | ||
root: /links/ | ||
permalink: :year/:month/:day/:title/ | ||
permalink_defaults: | ||
|
||
# Directory | ||
source_dir: source | ||
public_dir: public | ||
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@color-primary: #22A699; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
machine: | ||
node: | ||
version: 8.1.2 | ||
|
||
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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could really use a
Recipes
section here, with stuff like:And maybe a
Links
section with all of the individual Link READMEs.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree! I haven't gotten around to doing that yet but we should totally have one! cc @peggyrayzis