Commit graph

62 commits

Author SHA1 Message Date
renovate[bot]
c6df148893
chore(deps): update dependency chexo to v1.0.7 (#2039) 2018-11-28 23:55:06 +00:00
Jesse Rosenberger
3cf2d55e07
Bump generated hexo version (not hexo itself). 2018-11-15 13:12:20 +02:00
Jesse Rosenberger
05331d9a94
Update hexo-versioned-netlify-redirects to latest version.
To support having a source `_redirects` file on disk, in addition to
supporting the generated version redirects.
2018-11-15 13:11:30 +02:00
renovate[bot]
9b86ef4a93 chore(deps): update dependency hexo-prism-plus to v1.1.0 (#1962) 2018-11-14 16:52:05 +02:00
renovate[bot]
8bf483efc5 chore(deps): update dependency meteor-theme-hexo to v2 (#1941)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| meteor-theme-hexo | devDependencies | major | `1.0.16` -> `2.0.1` | [source](https://renovatebot.com/gh/meteor/meteor-theme-hexo) |

---

### Release Notes

<details>
<summary>meteor/meteor-theme-hexo</summary>

### [`v2.0.1`](https://renovatebot.com/gh/meteor/meteor-theme-hexo/compare/v1.0.16...v2.0.1)

[Compare Source](https://renovatebot.com/gh/meteor/meteor-theme-hexo/compare/v1.0.16...v2.0.1)

</details>

---

### Renovate configuration

📅 **Schedule**: "" in timezone America/Los_Angeles.

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server).
2018-11-12 10:26:16 -08:00
Renovate Bot
a619a8cd28 chore(deps): update dependency hexo to v3.8.0 2018-10-19 09:46:12 +00:00
Renovate Bot
e848353814
chore(deps): update dependency hexo-server to v0.3.3 2018-08-28 09:25:12 +00:00
Jesse Rosenberger
c5082ce64f
docs: Add browser auto-reloading on source content changes. (#1336)
By virtue of a relatively simple `hexo-browsersync` package[0], which
implements BrowserSync[1] in Hexo, this change brings support for automatically
reloading the browser when the source content has changed.

No more pressing "Reload" in order to see the changes to the Markdown source
when working on documentation! 🎉

[0]: https://npm.im/hexo-browsersync
[1]: https://www.browsersync.io
2018-07-11 16:36:47 -07:00
renovate[bot]
f2ff23fba6 chore(deps): update dependency apollo-hexo-config to v1.0.8 (#1329)
This Pull Request updates dependency [apollo-hexo-config](https://github.com/apollographql/apollo-hexo-config) from `v1.0.7` to `v1.0.8`



<details>
<summary>Release Notes</summary>

### [`v1.0.8`](https://github.com/apollographql/apollo-hexo-config/compare/v1.0.7...v1.0.8)
[Compare Source](https://github.com/apollographql/apollo-hexo-config/compare/v1.0.7...v1.0.8)


---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-07-10 16:18:55 -07:00
renovate[bot]
7fa445d08b chore(deps): update dependency meteor-theme-hexo to v1.0.16 (#1262)
This Pull Request updates dependency [meteor-theme-hexo](https://github.com/meteor/meteor-theme-hexo) from `v1.0.15` to `v1.0.16`



<details>
<summary>Release Notes</summary>

### [`v1.0.16`](https://github.com/meteor/meteor-theme-hexo/blob/master/CHANGELOG.md#v1016)
[Compare Source](https://github.com/meteor/meteor-theme-hexo/compare/v1.0.15...v1.0.16)
* Re-introduce the scrolling ability within search results.
  [PR #&#8203;83](`https://github.com/meteor/meteor-theme-hexo/pull/83`)

---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-06-28 17:25:49 +03:00
Renovate Bot
69c39ccd8e chore(deps): update dependency meteor-theme-hexo to v1.0.15 2018-06-21 23:32:31 +00:00
renovate[bot]
dcdd2253f6 chore(deps): pin dependency hexo-versioned-netlify-redirects to v1.0.7 (#1203)
This Pull Request updates dependency `hexo-versioned-netlify-redirects` from `^1.0.7` to `v1.0.7`



---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-06-20 23:51:06 +03:00
renovate[bot]
bf9e0e749d chore(deps): update dependency meteor-theme-hexo to v1.0.14 (#1199)
This Pull Request updates dependency [meteor-theme-hexo](https://github.com/meteor/meteor-theme-hexo) from `v1.0.13` to `v1.0.14`

**Note**: This PR was created on a configured schedule ("after 10pm every weekday,before 5am every weekday" in timezone `America/Los_Angeles`) and will not receive updates outside those times.


<details>
<summary>Release Notes</summary>

### [`v1.0.14`](https://github.com/meteor/meteor-theme-hexo/blob/master/CHANGELOG.md#v1014)
[Compare Source](https://github.com/meteor/meteor-theme-hexo/compare/v1.0.13...v1.0.14)
* Allow the "Edit on GitHub" button to work on "versioned" documentation.
  [PR #&#8203;80](`https://github.com/meteor/meteor-theme-hexo/pull/80`)

---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-06-20 13:05:17 +03:00
Jesse Rosenberger
139e6b70e9
chore(deps): update dependency meteor-theme-hexo to v1.0.13 (#1118) 2018-06-01 01:04:20 +03:00
Renovate Bot
f6fd3b2231 chore(deps): update dependency meteor-theme-hexo to v1.0.10 2018-05-23 13:02:39 +00:00
Renovate Bot
92e212e5a6 chore(deps): update dependency hexo-server to v0.3.2 2018-05-05 08:07:36 +00:00
Jesse Rosenberger
80497d56fa
Update package.json's hexo.version to 3.7.1. 2018-05-03 07:29:18 -07:00
Jesse Rosenberger
e4d1b6a3a7
Update meteor-theme-hexo to 1.0.9. 2018-05-02 18:07:04 -07:00
Jesse Rosenberger
9c19dec4bd
Update hexo-versioned-netlify-deploys to 1.0.7.
Hopefully for the last time!
2018-05-01 21:37:16 -07:00
Jesse Rosenberger
063edd7b05
Update hexo-versioned-netlify-redirects to 1.0.6. 2018-05-01 21:37:16 -07:00
Jesse Rosenberger
5a2034ea9d
Update hexo-versioned-netlify-redirects to 1.0.5. 2018-05-01 21:37:16 -07:00
Jesse Rosenberger
fbe56d8846
Update hexo-versioned-netlify-redirects to 1.0.4.
Follows-up on 07efd96d15f93f3e30fd63942d75ce65e26eb672.
2018-05-01 21:37:16 -07:00
Jesse Rosenberger
0ccf214161
Update hexo-versioned-netlify-redirects to 1.0.3.
In order to include the changes from
https://github.com/meteor/hexo-versioned-netlify-redirects/pull/1, which
should properly handle the sub-path roots of this Hexo deployment.
2018-05-01 21:37:16 -07:00
Jesse Rosenberger
b9d49ae723
Enable version support via Netlify redirects.
This uses `hexo-versioned-netlify-redirects`[0], a package I wrote just for
this purpose (on Meteor) a few months back.

With any luck, this will do the trick for Apollo too.

[0]: https://github.com/meteor/hexo-versioned-netlify-redirects
2018-05-01 21:37:16 -07:00
Renovate Bot
5b7fb673ff chore(deps): update hexo-related packages 2018-04-13 13:02:59 +00:00
renovate[bot]
a06796ed5c chore(deps): update hexo-related packages (#958) 2018-04-11 11:45:30 +03:00
renovate[bot]
80f6f1c56d chore(deps): pin dependency hexo-prism-plus to v1.0.0 (#949) 2018-04-06 22:39:51 +03:00
Jesse Rosenberger
9dc25a7895
docs: Update apollo-hexo-config to 1.0.7.
To enable Prism syntax highlighting, along with the new `meteor-theme-hexo`.

Ref: https://github.com/apollographql/apollo-hexo-config/commit/547107b0
Ref: https://github.com/meteor/meteor-theme-hexo/pull/61
2018-04-06 21:27:55 +03:00
Jesse Rosenberger
7ca7796fab
docs: Update meteor-theme-hexo to 1.0.4.
To enable Prism syntax highlighting.

[0] https://github.com/meteor/meteor-theme-hexo/pull/61
2018-04-06 21:22:07 +03:00
Jesse Rosenberger
0fd2df2fe1 docs: Add hexo-prism-plus to enable Prism syntax highlighting.
The default syntax highlighting provided by Hexo uses highlight.js.  While
there are a number of great syntax highlights provided by highlight.js, some of
the more important ones to the Apollo project: `graphql`, `typescript`, and
`jsx` are notably missing.

This uses the `hexo-prism-plus` plugin for Hexo, along with some upstream
configuration to `apollo-hexo-config`[0] and `meteor-theme-hexo` (previously
named `hexo-theme-meteor`)[1].  See refs for more information!

[0] https://github.com/apollographql/apollo-hexo-config/commit/547107b0
[1] https://github.com/meteor/meteor-theme-hexo/pull/61
2018-04-06 21:06:26 +03:00
Renovate Bot
b2eb1066c0 chore(deps): update dependency apollo-hexo-config to v1.0.6 2018-04-06 13:01:51 +00:00
Jesse Rosenberger
9ab276576b
Move Docs Renovate configuration into top-level renovate.json.
As determined in
https://github.com/renovateapp/config-help/issues/23#issuecomment-377202632,
it seems that it's not possible to have this sort of inherited
configuration.  It's possible that when I first introduced this behavior
that this behavior was on its way out (and the breaking change in Renovate
v11 on its way in).

Luckily, Renovate's shared configuration option still allows this to be
relatively painless and our `apollo-docs` shared configuration[0] does most
of the heavy lifting here so there won't be too much Renovate toe-stepping.

If this works well in the `apollo-server` repository, I'll transplant this
change to the other docs repositories[1].

[0] https://github.com/apollographql/renovate-config-apollo-docs
[1] https://github.com/meteor/hexo-theme-meteor
2018-03-29 14:33:35 +03:00
Renovate Bot
2c4af9cfd7 chore(deps): update dependency hexo to v3.7.0 2018-03-29 08:01:52 +00:00
Jesse Rosenberger
06fc7ee5d4 docs: Remove unnecessary handlebars dependency.
This the reason for this unneeded dependency traces back to the `api-box` on
https://github.com/meteor/docs, though its dependency hasn't been necessary on
any other docs deployment, including this one, since then.
2018-03-23 20:08:31 +02:00
Jesse Rosenberger
7d83875306 docs: Remove lodash, which doesn't seem to have ever been used.
I can't find any evidence in any docs deployment that `lodash` ever needed to
be a direct dependency.  It's possible that this is an artifact that once lived
in an early stage of the docs and just propagated out as a result of making new
docs from old docs repositories.  The `theme-example` application should help
set better precedence for this in the future.
2018-03-23 20:08:31 +02:00
Jesse Rosenberger
9500205e59 docs: Remove develop-theme script, now managed elsewhere.
Rather than developing the theme on individual docs deployments, that work
should now be done on the theme repository[0] and the example doc
deployment[1] since those repositories contain the infrastructure for testing
and deploying changes across all docs properties.  More information on
developing the theme can be found on those repository's `README.md`s.

[0] https://github.com/meteor/hexo-theme-meteor
[1] https://github.com/meteor/theme-example
2018-03-23 20:08:31 +02:00
Jesse Rosenberger
42ae12437d docs: Remove unnecessary showdown dependency.
While I'm aware of the need for the `showdown` package for rendering some
content on the Meteor Docs, I'm not aware of any Apollo repository that uses
it.  I've searched through the source, and cannot find any usage.

If there is a repository that uses it directly (in its `scripts/` directory),
it should be switched to using a plugin, which can explicitly declare
`showdown` as a dependency, rather than depending on it at the root of the
repository. (This is how `hexo-typescript-api-box` does it on the
`apollo-client` docs, which has correctly removed the direct dependency.)

Luckily, these repositories now have tests so if any of these fail, we should
know pretty easily and be able to add the dependency back to just those that
need it.
2018-03-23 20:08:31 +02:00
Jesse Rosenberger
616632ffdb docs: Remove unnecessary hexo-generator-* plugins.
Generators are used for generating additional content in Hexo.  While these
are great for making a blog (for example, `hexo-generator-index` to put all
your blog posts on an index page, `hexo-generator-tag` to keep a page updated
with all your trending blog tags, and `hexo-generator-archive` if you want to
store your aging content somewhere where nobody will find it), they don't seem
to be at all necessary for our purposes, which are documentation.

Unfortunately, they are in the default skeleton of a new Hexo project and they
don't seem to have ever been removed from our non-blog docs deployments,
despite the fact that they seem unnecessary.

In an effort to drastically reduce the overhead of maintaining these docs
deployments, I'm removing these as "unnecessary" until proven otherwise.
2018-03-23 20:08:31 +02:00
Renovate Bot
d9f1db12bd chore(deps): update dependency apollo-hexo-config to v1.0.5 2018-03-22 06:54:24 +00:00
Renovate Bot
ce49ff6132 chore(deps): update dependency meteor-theme-hexo to v1.0.3 2018-03-21 13:10:06 +00:00
Renovate Bot
0e0663d68e chore(deps): update dependency apollo-hexo-config to v1.0.4 2018-03-21 11:25:12 +00:00
Renovate Bot
92d37794d7 chore(deps): update dependency apollo-hexo-config to v1.0.3 2018-03-21 06:24:12 +00:00
renovate[bot]
baf312bb6a chore(deps): update dependency meteor-theme-hexo to v1.0.2 (#892) 2018-03-17 11:18:14 +02:00
renovate[bot]
444ad69f56 chore(deps): update dependency nodemon to v1.17.2 (#889) 2018-03-16 15:49:29 +02:00
renovate[bot]
84926f137a chore(deps): pin dependencies (#873) 2018-03-13 10:49:28 +02:00
Jesse Rosenberger
fbdcac1a0f
[docs] Use package-based Hexo theme, rather than a Git submodule. (#869)
* docs: Use `devDependencies` instead of `dependencies`.

It's safe to mark all dependencies of this theme as 'dev' dependencies, as
none of them are needed to be installed in a production setting.

This was done automatically, so in some cases, this merges existing
`devDependencies`, and may also have added a missing `nodemon` `devDependency`
in cases where it was missing.  In other cases, this commit may not have
made such a change.

* docs: Remove _config.yml options now covered by global theme config.

* docs: Add `_multiconfig.yml`, a build artifact, to docs `.gitignore`.

* docs: Use theme from npm, rather than submodule, using `chexo`.

The theme which the docs in this repository are based on
([`hexo-theme-meteor`](https://github.com/meteor/hexo-theme-meteor)) has been
published to npm.

Additionally, most of the configuration which was once present in this
repository's `_config.yml` file, has been moved into an Apollo-centric theme
configuration npm,
[`apollo-hexo-config`](https://www.npmjs.com/package/apollo-hexo-config) (and
similarly, [GitHub](https://github.com/apollographql/apollo-hexo-config)).

The theme bundled in this npm is a converged version of the two `apollo`
and `master` branches on the `hexo-theme-meteor` repository, which is a result
of the work undertaken in https://github.com/meteor/hexo-theme-meteor/pull/51.

Lastly, this makes use of a new `chexo` npm which acts as a wrapper for `hexo`
but permits the use of an inherited configuration from npm, rather than a
statically defined CLI file parameter (previously with `--config a,b`).

* docs: Upgrade Hexo generator/tag/server dependencies.

* docs: Add missing `meteor-theme-hexo` package.

This was apparently missed, only on this repository (???) in my automated
commits, probably due to my own error.
2018-03-12 21:13:22 +02:00
Jesse Rosenberger
272f8d27fd
[docs] Update Hexo dependencies for cross-repo consistency. (#815)
* docs: Add npm clean/test 'scripts'.

* docs: Update `hexo` npm to latest version.

* docs: Update `hexo-renderer-ejs` npm to latest version.

* docs: Update `hexo-renderer-marked` npm to latest version.

* docs: Add .nvmrc for use, and as recommended, by Netlify.

* docs: Update additional Hexo dependencies.
2018-02-28 13:22:07 +02:00
Renovate Bot
af673d80a8 fix(deps): update dependency hexo to v3.6.0 2018-02-28 08:16:54 +00:00
Renovate Bot
fbdf2fdf3f fix(deps): update dependency hexo to v3.5.0 2018-01-29 11:03:38 +00:00
Laurin Quast
df51fd90da Setup prettier (#724)
* Setup prettier and precommit hooks

* Format code with prettier

* Use husky because it works...

* Move prettier config to .prettierrc file

* Implement fixing markdown file formatting when running lint-fix script

* Format markdown files

* Add .json file formatting

* Fixes json file formatting

* Add pretteir linting step

* Remove tslint

* Use gitignore for prettier

* Fix linting errors

* Ignore submodule folder
2018-01-08 15:08:01 -08:00