Commit Graph

605 Commits

Author SHA1 Message Date
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
ddb4f43369 Update Renovate to use apollo-docs shared configuration. 2018-03-30 12:54:15 +03:00
Evans Hauser
ceb0a657b0 Update 18-03-27.md 2018-03-26 20:55:40 -07:00
Evans Hauser
68ee075763 18-03-27: add schema transforms to agenda 2018-03-26 19:56:36 -07:00
Evans Hauser
f9d2550df4 add agenda for march 27 contributor meeting 2018-03-26 15:45:18 -07:00
Jesse Rosenberger
891e4ac4fc Merge pull request #139 from apollographql/abernix/remove-unnecessary-hexo-deps
[docs] Remove unnecessary docs-related dependencies.
2018-03-23 20:17:13 +02: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
def57499b1 Merge pull request #138 from apollographql/renovate/nodemon-1.x
chore(deps): update dependency nodemon to v1.17.2
2018-03-21 16:36:32 +02:00
Jesse Rosenberger
062042d2b9 Merge branch 'master' into renovate/nodemon-1.x 2018-03-21 16:35:46 +02:00
Jesse Rosenberger
0823f684bc Merge pull request #137 from apollographql/renovate/meteor-theme-hexo-1.x
chore(deps): update dependency meteor-theme-hexo to v1.0.3
2018-03-21 16:11:30 +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
Jesse Rosenberger
920d497215 Merge pull request #135 from apollographql/renovate/apollo-hexo-config-1.x
chore(deps): update dependency apollo-hexo-config to v1.0.5
2018-03-21 16:04:19 +02:00
Renovate Bot
992523e869 chore(deps): update dependency apollo-hexo-config to v1.0.5 2018-03-21 13:53:45 +00:00
Jesse Rosenberger
864d4ffe96 Merge pull request #134 from apollographql/renovate/pin-dependencies
chore(deps): pin dependencies
2018-03-21 15:53:29 +02:00
Renovate Bot
09100b90bb chore(deps): pin dependencies 2018-03-21 13:52:55 +00:00
Jesse Rosenberger
f8a5ef3fd0 Merge pull request #133 from apollographql/renovate/configure
Configure Renovate
2018-03-21 15:52:38 +02:00
renovate[bot]
b2abfc860a Add renovate.json 2018-03-21 13:48:40 +00:00
Jesse Rosenberger
b9ba825354 Remove rogue package-lock.json.
Originally committed in 78053189fc, this
`package-lock.json` was created as a result of running `npm install` in
a repository that didn't have a `package.json` or a `node_modules` to begin
with, as demonstrated by its empty contents.

I'm removing it to avoid confusion, or incorrect interpretation by other tools.
2018-03-21 15:44:32 +02:00
apollo-bot[bot]
828403c6ce [apollo-bot] Update the Templates with docs label (#132) 2018-03-13 10:21:04 -07: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
Evans Hauser
93ea265a0b Update 18-03-06.md 2018-03-06 11:11:39 -08:00
Evans Hauser
1daaafed13 add 18-03-06 agenda 2018-03-06 09:12:09 -08:00
apollo-bot[bot]
485ba74ba1 [apollo-bot] Update the Issue/PR Templates with auto label (#130) 2018-03-02 21:53:29 +00:00
Evans Hauser
aa6cb6ab1f Update 18-02-27.md 2018-02-27 14:51:48 -08:00
Evans Hauser
9835d6c1f7 Update 18-02-27.md 2018-02-27 14:51:01 -08:00
Evans Hauser
3e1a1848d2 Update 18-02-27.md 2018-02-27 14:06:58 -08:00
Evans Hauser
bb42c876cb add agenda for 18-02-27 meeting 2018-02-26 20:16:57 -08:00
Julian Martinez
496ef728f9 Update index.md 2018-02-20 15:13:58 -08:00
Julian Martinez
24e961569f Merge pull request #127 from apollographql/index_revisions_simplified
Simplified and pared down language on the Apollo index page
2018-02-20 15:04:19 -08:00
Julian Martinez
4c205f4d65 Simplified and pared down language. 2018-02-20 14:39:45 -08:00
Evans Hauser
1f1233fc8f Update 18-02-20.md 2018-02-20 10:52:43 -08:00
Evans Hauser
0a3d0f51be Update 18-02-20.md 2018-02-20 10:51:47 -08:00