Commit Graph

378 Commits

Author SHA1 Message Date
Renovate Bot
9af875fe66 chore(deps): update dependency nodemon to v1.17.2 2018-03-21 14:05:14 +00:00
Renovate Bot
97008bccc2 chore(deps): update dependency meteor-theme-hexo to v1.0.3 2018-03-21 14:04:41 +00:00
Renovate Bot
992523e869 chore(deps): update dependency apollo-hexo-config to v1.0.5 2018-03-21 13:53:45 +00:00
Renovate Bot
09100b90bb chore(deps): pin dependencies 2018-03-21 13:52:55 +00:00
Jesse Rosenberger
8886f8e038 docs: Add Renovate configuration.
While some repositories which host Hexo docs alongside other code may not have
Renovate setup, it's anticipated that they will in the future, at the very
least for the docs portions of the respective repositories.

By having this `renovate` section in the `package.json` for the Hexo docs, we
can ensure that they will receive the proper treatment and minimize the amount
of manual work necessary on those repositories.

Additionally, this ensures that there is a single point of upstream Apollo-docs
Renovate configuration through the use of the
[`renovate-config-apollo-docs`](https://npm.im/renovate-config-apollo-docs)
package, which inherits further from
[`renovate-config-mdg-docs`](https://npm.im/renovate-config-mdg-docs).

Repositories which already have Renovate setup should benefit automatically
from this new docs-specific configuration.
2018-03-13 10:20:06 -07:00
Jesse Rosenberger
002c099740 docs: Upgrade Hexo generator/tag/server dependencies. 2018-03-13 10:20:06 -07:00
Jesse Rosenberger
8db9d66bca docs: Upgrade Hexo to 3.6.0. 2018-03-13 10:20:06 -07:00
Jesse Rosenberger
0688caef8c docs: Add _multiconfig.yml, a build artifact, to docs .gitignore. 2018-03-13 10:20:06 -07:00
Jesse Rosenberger
decbcb9789 docs: Remove _config.yml options now covered by global theme config. 2018-03-13 10:20:06 -07:00
Jesse Rosenberger
88d914d6bd 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`).
2018-03-13 10:20:06 -07:00
Jesse Rosenberger
5c95232451 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.
2018-03-13 10:20:06 -07:00
Jesse Rosenberger
dd40ba858f docs: Make scripts consistent across "docs" repos.
For example, the `test` and `start` commands.
2018-03-13 10:20:06 -07:00
Julian Martinez
496ef728f9 Update index.md 2018-02-20 15:13:58 -08:00
Julian Martinez
4c205f4d65 Simplified and pared down language. 2018-02-20 14:39:45 -08:00
Jesse Rosenberger
6ab44f1ce3 Update various documentation dependencies. 2018-02-06 19:13:50 +02:00
Jesse Rosenberger
6b33772f9d Update hexo to latest version, 3.5.0. 2018-02-06 19:13:50 +02:00
Jesse Rosenberger
e811330413 Update hexo-renderer-marked to latest version.
Similar to HEAD^, this is to update a low-severity vulnerability by the
dependend upon `marked` npm.
2018-02-06 19:13:50 +02:00
Jesse Rosenberger
a9a296328b Update hexo-renderer-ejs to latest version.
Most notably to update `ejs` and quell the vulnerability warning on
GitHub, which had a low probability of being problematic as the usage
here is for a statically generated site.
2018-02-06 19:13:50 +02:00
Jesse Rosenberger
897443cd3e Update JSONStream discrepancies in package-lock.json.
The differences, which are purely ordering differences, are seemingly due
to a difference in `npm` versions.
2018-02-06 19:13:50 +02:00
Jesse Rosenberger
49542e34b3 Netlify requires a .nvmrc to specify the Node.js version.
Otherwise, they just use their "default" version of Node.js, which isn't
necessarily what we want and doesn't come with npm@5.

Their best practices (see refs) recommend setting a `.nvmrc`, which I support.

Ref: https://www.netlify.com/docs/build-settings/#build-environment-variables
Ref: https://www.netlify.com/docs/#helpful-hints
2018-02-06 19:13:50 +02:00
Sashko Stubailo
af0195e852 Update theme 2017-12-08 15:39:23 -08:00
Thea Lamkin
afedc7588d Docs fixes 2017-10-27 15:05:36 -07:00
Sashko Stubailo
65f00a56a2 Fix engine link 2017-10-24 11:37:12 -07:00
Sashko Stubailo
ce9bc2e820 Bump theme 2017-10-24 11:03:51 -07:00
Sashko Stubailo
8cc049513d Update links/theme 2017-10-24 10:55:07 -07:00
Sashko Stubailo
3bb93bdf4a Add docs 2017-10-24 10:42:37 -07:00
Sashko Stubailo
751ef78299 Theme update 2017-10-24 09:51:44 -07:00
Sashko Stubailo
ade5f1f21e Add docs site 2017-10-22 15:21:35 -07:00