Commit graph

1302 commits

Author SHA1 Message Date
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
Yangshun Tay
1050de7d1c
v1.7.0 (#1199)
* v1.7.0

* fix release

* fix release
2019-01-23 23:47:52 -08:00
Yangshun Tay
370a874a0a fix: turn off react/no-array-index-key lint rule 2019-01-23 23:34:13 -08:00
Yangshun Tay
dcd3361413 misc: update docs for new features 2019-01-23 23:20:11 -08:00
Fienny Angelina
5ce85e5b5e feat: code block tab (#1063)
* Try to find a way to recognize the codeblock tabs, its title, and
where it ends
- I try using DOCUSAURUS_CODE_TABS to mark the start
- Use TAB_TITLE to mark the title of the tab
- END_TAB to mark the end of that tab
- END_DOCUSAURUS_CODE_TABS to mark the end of the whole code blocks
then parse using regex and render accordingly

* Added on click hook

* Added example on how to write it, how to use it, how it will look like can be reverted later

* Fix css error

* - Move addEventListener part to lib/static
- Remove comments

* Add documentation

* Remove examples

* Change syntax of the codetabs
2019-01-23 21:48:01 -08:00
Marvin Chin
4ce7ae2c98 fix: wrong padding for single row mobile nav (#1191) 2019-01-23 21:42:16 -08:00
tsmrachel
d5fd15ecbe feat: collapsible categories (#1128)
* feat : #1084 Collapsus - The Collapsible Menu

* updated docs

* fixed prettier

* fix for category not auto-expanding upon navigating to a subcategory under it

* as requested by endiliey. Do not merge this commit.

* Update api-site-config.md

* Update guides-navigation.md

* Update SideNav.js

* Update main.css

* Update SideNav.js

* Delete subcategory1.md

* Delete subcategory2.md

* Update sidebars.json
2019-01-23 14:13:27 -08:00
zakaria harti
c27a430529 docs: showcase user react-leaflet (#1127) 2019-01-23 13:40:36 -08:00
Simen Bekkhus
f6342731cc fix: add margin-bottom: 0 to blog post author (#1193) 2019-01-22 09:37:11 -08:00
Yifan Ma
54a338acaa docs: showcase user Redux (#1192)
* Add Redux as a user on the user page

* Update users.js
2019-01-20 23:56:18 -08:00
Marvin Chin
3ff79fceb1 docs: add missing trailing slash to sample site config base url (#1190) 2019-01-18 09:31:02 -08:00
Marvin Chin
4dcd6840c3 fix: missing default value for grid block content objects (#1186) 2019-01-16 00:31:27 -08:00
Zoltan Kochan
e31ecdfd0c fix: pass docusaurus-publish cli args to build command (#1185)
* fix: --skip-image-compression

The --skip-image-compression flag is passed thru to the build command

* prettier
2019-01-15 11:54:17 +08:00
Roy, Haoqiang Zhang
47bcac91f2 docs: showcase user katex (#1181) 2019-01-07 00:01:55 -08:00
Mike Perry Y Attara
3233c2c8c1 docs: replace gulp favicon with svg gulp logo (#1175)
* add Node SerialPort

* add react-native-sensors logo

* add React Native Sensors to users

* fix gulp image

* add gulp logo as svg

* Update users.js

* Update react-native-sensors.svg
2019-01-04 11:01:56 -08:00