Commit graph

1316 commits

Author SHA1 Message Date
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
Yangshun Tay
d5722f0a54 fix(v2): fix CI path error 2019-02-24 14:24:24 -08:00
Yangshun Tay
f559b1dc7c refactor(v2): move website dir out of v2 for cleaner separations 2019-02-24 14:13:08 -08:00
Yangshun Tay
63851a6f14 chore(v2): remove prettier from specific projects 2019-02-23 14:28:32 -08:00
Yangshun Tay
7eac4827ad fix(v2): lint 2019-02-23 13:26:45 -08:00
Yangshun Tay
b33de00a32 chore(v2): generic styling improvements 2019-02-23 12:50:31 -08:00
Yangshun Tay
c46a894a01 chore(v2): remove hardcoded references to config filename 2019-02-23 11:59:44 -08:00
Yangshun Tay
7dae4bd0d1
chore: rename siteConfig.js to docusaurus.config.js (#1245)
* chore: rename siteConfig.js to docusaurus.config.js

* Prettier
2019-02-23 11:16:24 -08:00
Kasra Bigdeli
870f6daa6b docs: update CaptainDuckDuck to CapRover (#1244) 2019-02-23 07:25:31 -08:00
Jeff Wen
376dd2b018 fix: hovering algolia logo break its background color (#1240)
* fix: css break when hover algolia logo

* Tweak

* Improve

* Remove empty line
2019-02-22 15:56:37 +08:00
Marvin Chin
b2f3642fc6 fix: use clean url for og:url when cleanUrl is true (#1242) 2019-02-21 12:24:31 -08:00
Paul O’Shannessy
360696f269 Remove more references to code.facebook.com (#1231)
I missed a couple things in #1224 :(
2019-02-12 12:20:44 -08:00
YoshinoriN
db62233051 chore: upgrade husky to 1.3.1 (#1229) 2019-02-12 10:34:31 +08:00
Bart Anthonissen
922d42e211 docs: add ScanTrust to users (#1228)
ScanTrust would like to be added to the docusaurus website as user of the docusaurus open source
software. We are using it for our 'ScanTrust Dev Portal'
2019-02-11 18:39:56 +08:00
Yangshun Tay
31d0b5fec1 chore: upgrade v2 deps 2019-02-10 02:06:41 +08:00
Yangshun Tay
1efaabc158
docs: mention about CNAME option in publishing docs (#1227)
* docs: mention about CNAME option in publishing docs

* Update getting-started-publishing.md
2019-02-08 21:15:59 +08:00
Yangshun Tay
2dae42d0f9 fix: change mainContainer padding to align with sidebars 2019-02-08 12:06:04 +08:00
Jerome Simeon
fbb4d57d61 docs: showcase user accord-project (#1225)
Signed-off-by: Jerome Simeon <jeromesimeon@me.com>
2019-02-08 08:56:43 +08:00
Paul O’Shannessy
c5ee753b86 Update code.facebook.com links to appropriate new destination (#1224)
This site mostly doesn't exist anymore, so we should just link to the new
locations. The exception is that the CLA is still there.
2019-02-06 14:29:17 -08:00
Yangshun Tay
311b44aeaa
v1.7.2 (#1212) 2019-01-28 22:18:12 -08:00
Yangshun Tay
1fb1a92293
fix: change sidebar chevron icon to use svg (#1211) 2019-01-28 22:03:11 -08:00
Yangshun Tay
a99dbb1976
fix: make search bar taller on widescreen (#1210) 2019-01-28 21:27:21 -08:00
Marvin Chin
487fd573e5 fix: docs asset links should follow specified docsUrl (#1204) 2019-01-28 09:20:00 -08:00
Bartosz Szczeciński
1888e0fb92 fix: horizontal overflow in collapsible sidebar (#1205)
When the sidebar is collapsible, a horizontal scrollbar can be seen, e.g.:

https://docusaurus.io/docs/en/installation - https://i.imgur.com/IkrkLrp.png

This is caused by the arrow being rendered outside of the sidebar box.
2019-01-28 09:18:54 -08:00
Joel Marcey
cbcbf5a8c2
Add copyright header to codetabs.js 2019-01-25 13:45:11 -08:00
Joel Marcey
fdd5117300
Add copyright header to CodeTabsMarkdownBlock.js 2019-01-25 13:42:47 -08:00
Joel Marcey
49efdd8fa2
v1.7.1 (#1202) 2019-01-24 07:06:45 -08:00
Ahmad Alfy
945f511ecb fix: revert image-min back to dependencies (#1201) 2019-01-24 06:20:26 -08:00