Commit Graph

49 Commits

Author SHA1 Message Date
Renovate Bot
6d376a7f7d chore(deps): update dependency meteor-theme-hexo to v1.0.11 2018-05-31 18:19:05 +00:00
renovate[bot]
8dc4d28782 chore(deps): update dependency meteor-theme-hexo to v1.0.10 (#154)
This Pull Request updates dependency [meteor-theme-hexo](https://github.com/meteor/meteor-theme-hexo) from `v1.0.9` to `v1.0.10`



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

### [`v1.0.10`](https://github.com/meteor/meteor-theme-hexo/blob/master/CHANGELOG.md#v1010)
[Compare Source](https://github.com/meteor/meteor-theme-hexo/compare/v1.0.9...2b6e168dbc17614e77dd6d8c55d48afa5a1f125a)
* Add cookie consent banner to help accommodate GDPR regulations.

---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-05-23 15:02:00 +03:00
renovate[bot]
97d79c2c59 chore(deps): update dependency hexo-server to v0.3.2 (#153) 2018-05-22 18:00:14 +03:00
renovate[bot]
3ee8415db2 chore(deps): update dependency meteor-theme-hexo to v1.0.9 (#152)
This Pull Request updates dependency [meteor-theme-hexo](https://github.com/meteor/meteor-theme-hexo) from `v1.0.6` to `v1.0.9`



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

### [`v1.0.9`](https://github.com/meteor/meteor-theme-hexo/blob/master/CHANGELOG.md#v109)
[Compare Source](https://github.com/meteor/meteor-theme-hexo/compare/v1.0.8...v1.0.9)
* Fix the dropdown so it can detect single digit versions from the URL.

---

### [`v1.0.8`](https://github.com/meteor/meteor-theme-hexo/blob/master/CHANGELOG.md#v108)
[Compare Source](https://github.com/meteor/meteor-theme-hexo/compare/v1.0.7...v1.0.8)
* Update the letter-spacing on the sidebar title, in order to fit additional
  content onto a single line (like a version dropdown).

---

### [`v1.0.7`](https://github.com/meteor/meteor-theme-hexo/blob/master/CHANGELOG.md#v107)
[Compare Source](https://github.com/meteor/meteor-theme-hexo/compare/v1.0.6...v1.0.7)
* Fix the color of charcoal colored dropdown boxes on the charcoal colored
  background.
* Fix the version selector to support path-based docs deployments.

---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-05-22 17:59:02 +03:00
Renovate Bot
30068930f0 chore(deps): update hexo-related packages 2018-04-13 13:11:13 +00:00
renovate[bot]
863c29ed35 chore(deps): update dependency meteor-theme-hexo to v1.0.5 (#148) 2018-04-11 12:23:18 +03:00
Renovate Bot
72c14854fb chore(deps): update dependency hexo to v3.7.1 2018-04-10 07:09:33 +00:00
renovate[bot]
6041d8c4ac chore(deps): pin dependency hexo-prism-plus to v1.0.0 (#146) 2018-04-06 22:39:55 +03:00
Jesse Rosenberger
80bb5b97e7 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:48 +03:00
Jesse Rosenberger
202064d19c 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:21:55 +03:00
Jesse Rosenberger
163318d78f docs: Add hexo-prism-plus to enable Prism syntax highlighting. (#145)
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:08:41 +03:00
Renovate Bot
1e72f9f80a chore(deps): update dependency apollo-hexo-config to v1.0.6 2018-04-06 13:08:20 +00:00
Renovate Bot
c3a68711e4 chore(deps): update dependency hexo to v3.7.0 2018-03-30 12:35:03 +00:00
Jesse Rosenberger
126b35e69c Move Docs Renovate configuration into top-level renovate.json. (#142)
* Move Docs Renovate configuration into top-level `renovate.json`.

In the same nature as 9ab276576b.

* [squash] w/ previous commit

Ref: 9ab276576b
2018-03-30 13:00:52 +03:00
Jesse Rosenberger
354993b507 docs: Further standardize format of _config.yml files.
Many of these comments are unhelpful anyway and deserve to be maintained in the
"doc docs" (yes, docs for the docs), which live at https://github.com/apollographql/docs-docs/.
2018-03-23 19:37:44 +02:00
Jesse Rosenberger
13682d380a 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 19:04:33 +02:00
Jesse Rosenberger
25017ea691 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 18:54:00 +02:00
Jesse Rosenberger
7cc3dbe60d 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 18:39:12 +02:00
Jesse Rosenberger
9ffa321323 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 18:18:10 +02:00
Jesse Rosenberger
702819c063 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 17:52:29 +02:00
Jesse Rosenberger
062042d2b9 Merge branch 'master' into renovate/nodemon-1.x 2018-03-21 16:35:46 +02:00
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