Commit graph

1343 commits

Author SHA1 Message Date
Yangshun Tay
1edbeecbe5 chore(v2): add ESLint rule to check for Facebook copyright headers in JS files (#1301) 2019-03-24 14:50:26 +07:00
Endilie Yacop Sucipto
3f9cc96330
Merge pull request #1300 from facebook/lerna-path-fix
fix: update non-coding files affected by monorepo change
2019-03-24 12:10:01 +07:00
Yangshun Tay
1602b459da fix: update paths for monorepo 2019-03-23 21:53:32 -07:00
Endilie Yacop Sucipto
73b89658cc refactor(v2): plugins lifecycle (#1299)
* refactor(v2): plugins lifecycle

* dont allow duplicate plugin & fix typo
2019-03-23 16:08:36 -07:00
Endilie Yacop Sucipto
3a7a253db7
refactor(v2): plugin, utils as separate package (#1298)
* refactor(v2): plugin, utils as separate package

* rename docusaurus-plugin to @docusaurus/plugin

* update snapshot
2019-03-23 15:46:16 +07:00
endiliey
9597a8ce9c fix: deploy website CI 2019-03-23 15:40:39 +08:00
Endilie Yacop Sucipto
1f91d19a8c
chore: move to monorepo (#1297)
* chore: move to monorepo

* lint all js file

* simplify circleCI

* fix failing tests

* fix tests due to folder rename

* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00
Endilie Yacop Sucipto
6b1d2e8c9c
feat(v2): local plugin path resolve (#1294)
* feat(v2): plugin resolve

* nits

* Update README.md
2019-03-22 00:00:25 +07:00
endiliey
14a9c5461f chore: fix npm badge link 2019-03-21 18:02:19 +08:00
Yangshun Tay
a062ef33b6 fix: empty white bar on landing page (#1293) 2019-03-21 11:29:16 +07:00
Endilie Yacop Sucipto
527ff3e65f
chore(v2): update navbar logic (#1291) 2019-03-21 01:28:27 +07:00
Yangshun Tay
880280826d misc: update v2 preview link 2019-03-20 09:43:32 -07:00
vikrantsinghthakur
79bbe8e59e fix: handle case insensitive table of contents token (#1288)
* fix: check for lowercase TOC token

* run prettier

* fix: handle case insensitive

* nits
2019-03-20 17:24:17 +07:00
Yangshun Tay
d89401b47e feat: change landing page hero (#1290)
* docs: add v2 roadmap to landing page

* feat: change landing page hero

* fix: remove CSS test as it doesn't account for autoprefixing
2019-03-20 16:54:42 +07:00
Yangshun Tay
189f7cbedd docs: add v2 roadmap to landing page (#1289) 2019-03-20 16:21:11 +07:00
Jake Bolam
e41bf66342 v1.7.3 (#1286)
* v1.7.3

* Update versions.json

* update changelog
2019-03-19 23:01:05 -07:00
Jake Bolam
00143d4a8e docs: add All Contributors to users page (#1287)
* docs: add user All Contributors

* add image

* Make All Contributors pinned
2019-03-19 12:09:47 -07:00
Joel Marcey
bd430668c8
Add Netlify badge 2019-03-19 10:11:13 -07:00
Alex Krolick
f15ba1b2ac fix(codetabs): fix key warning (#1284)
- closes #1255
2019-03-17 21:53:58 -07:00
Yangshun Tay
93e2b7dab3 fix(v2): copyright headers 2019-03-14 11:21:26 -07:00
Endilie Yacop Sucipto
63f014fce5
fix: relative path markdown linking on versioned docs (#1281) 2019-03-14 16:03:42 +08:00
Yangshun Tay
d78220a818
feat(v2): embed Canny feedback widget (#1280)
* feat(v2): embed Canny feedback widget

* docs(v2): Mention source of Canny widget

* misc(v2): add newline
2019-03-13 22:51:16 -07:00
Yangshun Tay
398d7c7ae4
feat(v2): pluginify pages (#1278)
* feat(v2): convert pages into a plugin

* fix: update tests
2019-03-13 13:08:12 -07:00
Charles Plant St.Louis
2da59ed4af docs: add Polymath to users (#1276) 2019-03-11 18:57:02 -07:00
Sidak Singh Aulakh
bb7cb3f840 docs: showcase user Twirp (#1275)
* Added twirp to users

* Added the twirp user logo

* Update users.js
2019-03-11 13:41:00 -07:00
Pavle Jonoski
cac141c290 docs: showcase user Microkubes (#1274) 2019-03-11 09:00:11 -07:00
Yangshun Tay
53a123cb55
feat(v2): generate metadata via plugins (#1273) 2019-03-10 19:08:36 -07:00
Yangshun Tay
cefee2dec1
feat(v2): allow plugins to specify paths to watch (#1272) 2019-03-09 13:00:44 -08:00
Yangshun Tay
8629abf73a chore(v2): upgrade React 2019-03-08 23:26:50 -08:00
Endilie Yacop Sucipto
643addb729
feat(v2): enable JSX in markdown using MDX (#1263)
* feat(v2): enable JSX in markdown

* reformat docs

* chore(v2): nits

* remove dummy test

* include .mdx extension

* add syntax highlighting with prismjs
2019-03-08 01:02:47 +08:00
Yangshun Tay
801453fae6 fix: upgrade jest to remove security vulnerability (#1267)
* fix: upgrade jest to remove security vulnerability

* fix lint
2019-03-07 16:15:59 +08:00
Adel El Masery
48f95219a8 docs: update api-pages.md to document about overriding default styles (#1266)
docs: update api-pages.md to document about overriding default styles
2019-03-06 13:41:02 -08:00
Endilie Yacop Sucipto
2ad7413dd7 refactor(v2): determine all available routes/url (#1264)
* refactor(v2): determine all available routes/url

* nits

* test(v2): routes snapshot

* sort for consistent snapshot test due to async ordering
2019-03-06 10:51:16 -08:00
Endilie Yacop Sucipto
c73da00252 fix: wrong sidebar_label and title on versioned_docs (#1265)
* fix: wrong sidebar_label and title on versioned_docs

* nits
2019-03-06 10:41:05 -08:00
Yangshun Tay
0f94c062a5 fix(v2): clean build dir only on build command 2019-03-05 00:00:49 -08:00
Yangshun Tay
d64581f2b4 misc(v2): misc fixes 2019-03-04 22:39:07 -08:00
endiliey
95b0cb942f fix(v2): blog not showing metadata & missing asset 2019-03-04 16:24:39 +08:00
endiliey
039af9b213 chore(v2): fix v2 readme 2019-03-04 14:32:48 +08:00
Yangshun Tay
7475051526 refactor(v2): convert blog page to be added to routes by plugin lifecycle 2019-03-03 22:14:16 -08:00
Yangshun Tay
74d26d4f3d feat(v2): plugin lifecycle - add generateRoutes() API 2019-03-03 18:46:09 -08:00
Yangshun Tay
70d185d862 fix(v2): don't display footer on docs page 2019-03-02 21:03:58 -08:00
Yangshun Tay
b13e468b16 refactor(v2): point blog plugin path to v1's blog directory 2019-03-02 20:40:31 -08:00
Yangshun Tay
95ca07a646 refactor(v2): shift plugin cache generation into its own dir 2019-03-02 20:29:49 -08:00
Yangshun Tay
92c7e1f44b refactor(v2): convert plugins into a class 2019-03-01 22:44:34 -08:00
Ben Otte
006f7050cd docs: showcase user Scalafmt (#1250)
* Update users.js

added scalameta object

* adding scalameta logo

* adding scalameta logo

* Update users.js
2019-02-26 22:07:34 -08:00
Fienny Angelina
a1d36be61c fix: make referenced links work with code block tabs (#1249)
* Fix bug Code block tabs broke the referenced links

- The reason is that the previous Codeblock implementation separates
the tabs, the markdown before tabs, and the markdown after tabs into
separate Remarkable component, thus they don't share information
regarding the reference link
- To solve this, change the Doc implementation so that one Doc
have only one Remarkable component by transforming the codeblock
into html string and add it as part of the markdown, letting the
Remarkable take care of the html string
- However, this approach made us need to ensure that there is no
newline in the codetab, otherwise, the formatting inside the
code will be broken. Thus, I replace every newline inside the
code tag with a br tag

Fix #1215

* Fix prettier
2019-02-26 08:56:30 -08:00
Yangshun Tay
8375236db4 fix(v2): s/blogMetadatas/blogMetadata 2019-02-24 23:33:08 -08:00
Yangshun Tay
03ac87a1e1 chore(v2): remove console.log 2019-02-24 23:20:47 -08:00
Yangshun Tay
e5b7daef33 feat(v2): create docusaurus-content-blog plugin draft 2019-02-24 23:11:15 -08:00
Yangshun Tay
211e04f409 refactor(v2): shift generated files out of core into website dir 2019-02-24 15:20:58 -08:00