Commit Graph

46 Commits

Author SHA1 Message Date
Renovate Bot
40043dcc09 Update dependency hexo-server to v0.3.3 2018-08-26 07:59:21 +00:00
Jesse Rosenberger
310f81d0aa docs: Add browser auto-reloading on source content changes. (#186)
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 12:08:54 -07:00
renovate[bot]
37c8de2986 Update dependency apollo-hexo-config to v1.0.8 (#185)
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 17:29:00 -07:00
Renovate Bot
b7b086eb50 chore(deps): update dependency meteor-theme-hexo to v1.0.16 2018-06-27 22:39:40 +00:00
Renovate Bot
818f76415c chore(deps): update dependency meteor-theme-hexo to v1.0.15 2018-06-20 22:35:14 +00:00
Renovate Bot
9623438fe3 chore(deps): update dependency meteor-theme-hexo to v1.0.14 2018-06-20 16:36:50 +00:00
Renovate Bot
341422af47 Update dependency meteor-theme-hexo to v1.0.13 2018-05-31 21:25:01 +00:00
Jesse Rosenberger
b71dda7d01 Merge branch 'master' into 201705-docs 2018-05-31 21:39:49 +03:00
Renovate Bot
6d376a7f7d chore(deps): update dependency meteor-theme-hexo to v1.0.11 2018-05-31 18:19:05 +00:00
unicodeveloper
fcab22a500 Bump to latest theme version 2018-05-31 06:16:45 +01:00
unicodeveloper
ab1408d7e4 Update to latest beta 2018-05-30 13:34:01 +01:00
Jesse Rosenberger
6d40655303 Introduce guides, practices and fundamentals. 2018-05-29 20:57:13 +03: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
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
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
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
Sashko Stubailo
ade5f1f21e Add docs site 2017-10-22 15:21:35 -07:00