2019-03-23 04:46:16 -04:00
|
|
|
{
|
|
|
|
|
"name": "@docusaurus/plugin-content-blog",
|
2019-11-08 01:27:03 -05:00
|
|
|
"version": "2.0.0-alpha.33",
|
2019-03-30 18:34:28 -04:00
|
|
|
"description": "Blog plugin for Docusaurus",
|
2019-09-16 11:46:57 -04:00
|
|
|
"main": "lib/index.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"tsc": "tsc"
|
|
|
|
|
},
|
2019-04-10 10:21:35 -04:00
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
2019-03-23 04:46:16 -04:00
|
|
|
"license": "MIT",
|
2019-09-25 05:48:56 -04:00
|
|
|
"devDependencies": {
|
2019-11-08 01:27:03 -05:00
|
|
|
"@docusaurus/types": "^2.0.0-alpha.33"
|
2019-09-25 05:48:56 -04:00
|
|
|
},
|
2019-03-23 04:46:16 -04:00
|
|
|
"dependencies": {
|
2019-11-08 01:27:03 -05:00
|
|
|
"@docusaurus/mdx-loader": "^2.0.0-alpha.33",
|
|
|
|
|
"@docusaurus/utils": "^2.0.0-alpha.33",
|
feat(v2): Implement plugin creating feed for blog posts (#1916)
* feat(v2): Implement feed for blog posts
Fixes: #1698
Test plan:
- added tests
Ran `yarn build` on website with the following config (and disabled blog
from preset-classic):
```js
[
'@docusaurus/plugin-content-blog',
{
path: '../website-1.x/blog',
feedOptions: {
copyright: 'Copy',
type: 'atom',
},
},
],
```
which genereted the following feed:
```xml
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>https://v2.docusaurus.io/blog</id>
<title>Docusaurus Blog</title>
<updated>2018-12-14T00:00:00.000Z</updated>
<generator>https://github.com/jpmonette/feed</generator>
<link rel="alternate" href="https://v2.docusaurus.io/blog"/>
<subtitle>Docusaurus Blog</subtitle>
<icon>https://v2.docusaurus.io/img/docusaurus.ico</icon>
<rights>Copy</rights>
<entry>
<title type="html"><![CDATA[Happy 1st Birthday Slash!]]></title>
<id>Happy 1st Birthday Slash!</id>
<link href="https://v2.docusaurus.io/blog/2018/12/14/Happy-First-Birthday-Slash"/>
<updated>2018-12-14T00:00:00.000Z</updated>
<summary type="html"><]]></summary>
</entry>
<entry>
<title type="html"><![CDATA[Towards Docusaurus 2]]></title>
<id>Towards Docusaurus 2</id>
<link href="https://v2.docusaurus.io/blog/2018/09/11/Towards-Docusaurus-2"/>
<updated>2018-09-11T00:00:00.000Z</updated>
<summary type="html">< over nine months ago as a way to easily build open source documentation websites. Since then, it has amassed over 8,600 GitHub Stars, and is used by many popular open source projects such as [React Native](https://facebook.github.io/react-native/), [Babel](https://babeljs.io/), [Jest](https://jestjs.io/), [Reason](https://reasonml.github.io/) and [Prettier](https://prettier.io/).]]></summary>
</entry>
<entry>
<title type="html"><![CDATA[How I Converted Profilo to Docusaurus in Under 2 Hours]]></title>
<id>How I Converted Profilo to Docusaurus in Under 2 Hours</id>
<link href="https://v2.docusaurus.io/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus"/>
<updated>2018-04-30T00:00:00.000Z</updated>
<summary type="html"><![CDATA[> _“Joel and I were discussing having a website and how it would have been great to launch with it. So I challenged myself to add Docusaurus support. It took just over an hour and a half. I'm going to send you a PR with the addition so you can take a look and see if you like it. Your workflow for adding docs wouldn't be much different from editing those markdown files.”_]]></summary>
</entry>
<entry>
<title type="html"><![CDATA[Introducing Docusaurus]]></title>
<id>Introducing Docusaurus</id>
<link href="https://v2.docusaurus.io/blog/2017/12/14/introducing-docusaurus"/>
<updated>2017-12-14T00:00:00.000Z</updated>
<summary type="html"><]]></summary>
</entry>
</feed>
```
* new feedOptions type 'all' and use correct path
2019-11-06 02:45:31 -05:00
|
|
|
"feed": "^4.0.0",
|
2019-07-17 11:59:13 -04:00
|
|
|
"fs-extra": "^8.1.0",
|
|
|
|
|
"globby": "^10.0.1",
|
2019-05-13 13:08:18 -04:00
|
|
|
"loader-utils": "^1.2.3",
|
2019-08-01 08:14:12 -04:00
|
|
|
"lodash": "^4.17.15"
|
2019-03-29 09:11:02 -04:00
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
2019-05-16 03:33:32 -04:00
|
|
|
"@docusaurus/core": "^2.0.0",
|
2019-05-06 08:25:04 -04:00
|
|
|
"react": "^16.8.4",
|
|
|
|
|
"react-dom": "^16.8.4"
|
|
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=8"
|
2019-03-23 04:46:16 -04:00
|
|
|
}
|
|
|
|
|
}
|