Commit graph

6337 commits

Author SHA1 Message Date
Endi
9bb6ba113d feat(v2): persistent & responsive dark mode toggle (#1521) 2019-05-28 08:53:26 -07:00
endiliey
f5a8caf34d fix(v2): a11y responsive navbar 2019-05-28 16:25:28 +08:00
Yangshun Tay
09036743b7 misc(v2): fix CSS 2019-05-27 20:39:23 -07:00
Yangshun Tay
e76288341f feat(v2): responsive navbar 2019-05-27 17:59:42 -07:00
nickbui729
9b2ff32e7e docs: showcase user Quix (#1510)
* added users

* removed zios from users
2019-05-27 10:27:04 -07:00
Tushar Sharma
bff9a53095 fix: enable live reloading title of doc (#1507)
* fix: enable live reloading title of doc

* fix: removing unnecessary reload statements

* fix: only title change should trigger a live reload

* fix: adding more properties that triggers a live reload

* fix: refactoring
2019-05-27 14:48:01 +07:00
Yangshun Tay
ef1af0a5be
fix: don't collapse the blog navigation even if collapsible is true (#1519)
* fix: don't collapse the blog navigation even if collapsible is true

* fix: read docsSideNavCollapsible from props
2019-05-26 20:37:58 -07:00
Yangshun Tay
b8965dcf38
feat(v2): use new pagination nav CSS (#1520) 2019-05-26 20:19:16 -07:00
Yangshun Tay
c75cec76ec misc: update Docusaurus 2 URL 2019-05-26 16:43:28 -07:00
Yangshun Tay
dc2a0eda0a
misc: add funding links 2019-05-25 22:54:15 -07:00
Sam Zhou
5217af67b8 chore(v2): Replace Boolean with boolean (#1518) 2019-05-26 08:57:23 +07:00
endiliey
d52e6d3c3f chore(v2): fix TS definition & workspaces config 2019-05-25 23:48:12 +08:00
Endi
99a58263ca
feat(v2): docusaurus init (#1516)
* feat(v2): docusaurus init

* change logo
2019-05-25 14:16:42 +07:00
Endi
64a86f6264 refactor(v2): add test & static typing for routes.ts (#1514) 2019-05-24 09:57:41 -07:00
Filipe Doutel Silva
34d674cdf5 fix(v2): wrong modules path on windows (#1513)
* fix: wrong modules path on windows

* use json stringify to escape string
2019-05-24 18:04:29 +07:00
SADIK KUZU
1282df063c docs: fix typo in website/pages folder structure (#1506) 2019-05-23 09:21:46 -07:00
Christian Oliff
b1698e2195 misc: https link to stackoverflow.com in v1 example (#1512) 2019-05-23 09:20:17 -07:00
Matteo Manzinello
306cde352e docs: add mailgo to users (#1504) 2019-05-22 13:22:30 -07:00
Endi
166816af40
fix: reload siteConfig.js automatically when locally served page is refreshed (#1509)
* fix: livereload siteConfig

* fix test

* nits
2019-05-22 22:31:51 +07:00
Endi
aa157969cf
chore(v2): cleanup & update deps (#1505)
* chore(v2): rename useBaseUrl -> withBaseUrl & update deps

* nits
2019-05-22 19:20:53 +07:00
Yangshun Tay
3fc3644875 feat(v2): create useBaseURL helper (#1503)
* feat(v2): create withBaseURL helper

* typescript & refactor

* nits
2019-05-22 17:32:52 +07:00
Endi
e3f8785652
fix(v2): wrong copy static files target directory (#1502) 2019-05-22 10:17:54 +07:00
Endi
7bbf677e67 docs(v2): introduction (#1501)
* docs(v2): introduction

* typo

* remove lines about gatsby complex

* tweak
2019-05-21 18:56:42 -07:00
Endi
e4de7c3ed4
refactor(v2): use copy webpack plugin instead of manual copy (#1500)
* refactor: use copy webpack plugin instead of manual copy

* export static to constant

* nits prettier
2019-05-22 00:29:32 +07:00
endiliey
7e1e3e9a4c chore: point website-1.x to v1.1.0 2019-05-21 18:25:07 +08:00
Endi
32c5bfe6a4
v1.10.0 (#1498) 2019-05-21 17:22:36 +07:00
ConfigCat
f9ae2ae151 chore: adding ConfigCat to Users page (#1495)
* adding configcat to users

* updating configcat info link

* updating configcat info link to docs
2019-05-21 17:14:27 +07:00
Endi
32c582ded1
chore: upgrade shelljs version (#1497) 2019-05-21 15:32:56 +07:00
Endi
a45f8cab68
chore(v2): add @types/webpack-dev-server and @types/react-dev-utils (#1496) 2019-05-21 13:58:14 +07:00
Endi
305e698e6e refactor(v2): migrate core to Typescript ❄️🌀🐋 (#1494)
* refactor(v2): add typing for docusaurus/core

* wip: last working

* refactor(v2): add typing for @docusaurus/core

* prettier

* dont run in parallel otherwise some are uncompiled

* nits

* more typing

* more typing

* nits

* type commands

* nits
2019-05-20 09:59:04 -07:00
Cole
0568ad4992 feat: allow different host through CLI flag (#1475)
* feat(core): use 0.0.0.0 for livereload address

* test(core): update server tests

* feat(cli): add host by command line flag

* test: revert test changes

* fix(core): update server to use custom host if supplied

* refactor: nits
2019-05-20 23:31:41 +07:00
Hongarc
382b88bb49 fix: mobile navigation should show deepest breadcrumb instead of outermost (#1493) 2019-05-19 16:13:39 +07:00
Hongarc
89582c7b7a refactor: better regex & path parsing for metadata (#1492)
* Don't need using `toString` after `path.basename`

* Use `parse` instead of `basename+extname`
2019-05-19 15:54:29 +07:00
Hongarc
9a18b7430a refactor: simplify blog url replacement regex (#1491) 2019-05-19 15:20:49 +07:00
Endi
cbd2a589e3 refactor(v2): migrate to Typescript ❄️🌀🐋 (#1490)
* refactor(v2): migrate to typescript

* scripts nits

* fix test

* nits

* nits

* tsconfig tweak
2019-05-18 11:37:35 -07:00
Sakti Kr Chourasia
c052b6acd8 fix: content displayed on bottom of mobile viewport when TOC is active (#1489)
* Remove TOC margin bottom for mobile
2019-05-18 14:37:18 +07:00
Hongarc
1587810e8f fix: wrong url in next/prev button in some cases (#1488) 2019-05-18 13:29:13 +07:00
Sakti Kr Chourasia
084a49819f fix: h3 topics with Markdown formatting causes a glitch on mobile (#1467)
* fixed h3 topics with Markdown formatting causes a glitch on mobile

* replaced currenttarget to headings for if check

* use var instead of es6
2019-05-18 12:57:57 +07:00
Hongarc
79b5ffd700 docs: add some showcase user of facebook (#1486)
* docs: showcase user Idb

* docs: showcase user Netconsd

* docs: showcase user Redex
2019-05-17 11:27:32 -07:00
Hongarc
f18e07343c docs: fix typo for docs folder (#1484)
* docs: fix typo for `docs` folder

* docs: request change for #1484

* Update api-doc-markdown.md
2019-05-17 10:26:55 -07:00
Hongarc
96445eee32 docs: remove pinned for Taro (#1482) 2019-05-17 09:36:07 -07:00
Hongarc
f86787239f docs: showcase user Ax (#1483) 2019-05-17 09:18:27 -07:00
Hongarc
4672a10e5f docs: update StreamPipes logo (#1481) 2019-05-17 09:17:04 -07:00
Endi
1ec4a9f999
chore: remove noWatch cli options because you cant disable watch in wds (#1480) 2019-05-17 21:51:16 +07:00
Endi
05ba7d835d
fix(v2): should be able to build even if static folder doesnt exist (#1479) 2019-05-17 18:15:48 +07:00
Wei Gao
0e5cac94cb docs(v2): CLI docs (#1476)
* WiP: CLI docs

* Tweak word choices for CLI docs

- Use the word swizzle directly
- Follow variable convention for shell

* Resolve docs discussion

* Update cli.md
2019-05-17 18:01:34 +07:00
Yangshun Tay
89ef4b9c44 feat(v2): move navbar config into themeConfig (#1477)
* feat(v2): move navbar config into themeConfig

* misc: fix tests

* fix: support external url for logo
2019-05-17 14:54:11 +07:00
Endi
6b75bb3270
fix: missing cli commands (#1478)
* fix: missing cli commands

* centralize
2019-05-17 14:27:53 +07:00
TurekBot
be149e182f docs: clarify location of sidebars.json (#1472)
In #1468 we clarify where the `docs` folder is. 
Here, we make it clear where `sidebars.json` is.
2019-05-16 19:29:02 -07:00
Hongarc
54a00e7a04 docs: normalized spelling of web server (#1473) 2019-05-16 19:28:22 -07:00