Commit graph

2537 commits

Author SHA1 Message Date
Alexey Pyltsyn
ab5590bafa
fix(v2): add default value for options in theme classic [ci skip] (#2688) 2020-04-28 09:30:18 +03:00
Sam Zhou
94b712d4fd
fix(v2): Add all webpack module aliases to type declaration file (#2687) 2020-04-28 09:28:02 +03:00
Alexey Pyltsyn
f8f6478c36 docs(v2): fix correct value for blog-only mode 2020-04-28 09:19:46 +03:00
Joe Previte
7caf7de417
docs: add swizzle example (#2680) 2020-04-28 10:53:45 +08:00
Joe Previte
b94b2181b2
misc: update test plan in contributing (#2679) 2020-04-28 01:19:40 +08:00
Alexey Pyltsyn
f0d9cb26ce misc: improve npm publishing instructions 2020-04-27 17:09:00 +03:00
Alexey Pyltsyn
d90fdb04d5 v2.0.0-alpha.53 2020-04-27 16:38:33 +03:00
Alexey Pyltsyn
0b990b86ad chore(v2): v2.0.0-alpha.53 2020-04-27 16:37:51 +03:00
Alexey Pyltsyn
7359945f52 v2.0.0-alpha.52 2020-04-27 16:30:15 +03:00
Alexey Pyltsyn
d0c43a4ef8
chore(v2): v2.0.0-alpha.52 (#2677) 2020-04-27 16:29:04 +03:00
Alexey Pyltsyn
46118b3fe4
fix(v2): allow build website without custom css (#2676) 2020-04-27 21:09:57 +08:00
Alexey Pyltsyn
c9c5aedcb5 v2.0.0-alpha.51 2020-04-27 14:44:56 +03:00
Alexey Pyltsyn
ef3741fd7f
chore(v2): v2.0.0-alpha.51 (#2673) 2020-04-27 14:43:17 +03:00
Alexey Pyltsyn
7389a60514
fix(v2): add a11y support for dropdown (#2672)
* fix(v2): add a11y support for dropdown

* fix(v2): add aria-label for navbar GH link
2020-04-27 14:17:55 +03:00
Yangshun Tay
1d8cc4b10f
chore(v2): upgrade Infima (#2669)
* chore(v2): upgrade Infima

* Make proper classes for active items

* upgrade Infima to v0.2.0-alpha.9

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-04-27 10:50:28 +08:00
Alexey Pyltsyn
c0e531e5d9
feat(v2): add ability to specify CSS class for navbar item (#2660)
* feat(v2): add ability to specify CSS class for navbar item

* Fix linting issues
2020-04-27 02:21:36 +08:00
Alexey Pyltsyn
379d3e0d23
chore(v2): upgrade prism-react-renderer to latest version (#2666) 2020-04-27 00:50:06 +08:00
Alexey Pyltsyn
af89a92628
feat(v2): add fallback to BrowserOnly component (#2665)
* feat(v2): add fallback to BrowserOnly component

* Update BrowserOnly.tsx

* Update docusaurus-core.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-26 20:39:34 +08:00
Alexey Pyltsyn
8730df7044
chore: upgrade shelljs to 0.8.4 (#2661) 2020-04-26 03:34:48 +08:00
Alexey Pyltsyn
901682ee46 Merge branch 'master' of github.com:facebook/docusaurus 2020-04-25 19:56:06 +03:00
Alexey Pyltsyn
2d0ba85973 chore: update caniuse-lite (yarn.lock) 2020-04-25 19:55:31 +03:00
Sylvain Pace
1471a6eb3a
docs(v2): add mention that appID is optional (#2659) 2020-04-25 19:00:01 +03:00
Alexey Pyltsyn
fed12e49a4 fix(v2): disable focus on clicked sidebar category 2020-04-25 09:05:09 +03:00
Alexey Pyltsyn
71b66f1a42
refactor(v2): lose focus of active sidebar item after click on it (#2656) 2020-04-25 11:59:14 +08:00
Yangshun Tay
70f6023adf misc: update CODEOWNERS 2020-04-24 12:24:53 +08:00
Alexey Pyltsyn
9e1f816fcd
fix(v2): use remark-admonitions separately in each plugin instead of in preset only (#2642)
* fix(v2): use remark-admonitions separately in each plugin instead of in preset only

* Update types.d.ts

* Update types.d.ts

* Address fixes from review

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-24 12:18:54 +08:00
Anayo Oleru
3c27e23f38
docs(v1): showcase user Quicksi (#2650)
- quicksi
- add logo
- add info link
2020-04-24 10:28:13 +08:00
Alexey Pyltsyn
0a2a037dbb fix(v2): adjust proper padding top of doc page on mobiles 2020-04-23 10:42:16 +03:00
Alexey Pyltsyn
796bd0ce8a
fix(v2): hide sidebar after click on child item (#2649) 2020-04-23 15:14:06 +08:00
Alexey Pyltsyn
510bec6532
Revert "feat(v2): add option to toggle sidebar category open by default (#2613)" (#2644)
This reverts commit 1863a3c805.
2020-04-22 18:50:18 +03:00
Yangshun Tay
7d792840ba misc: prettier 2020-04-22 20:39:11 +08:00
Sam Zhou
61c917fd8f
refactor(v2): Expose docusaurus module type aliases to end-users (#2608) 2020-04-22 20:33:03 +08:00
Alexey Pyltsyn
bfeb1044fb
misc: simplify test release script (#2641)
* misc: simplify test release script

* misc: suppress output of Docker command
2020-04-22 20:31:44 +08:00
Joe Previte
1863a3c805
feat(v2): add option to toggle sidebar category open by default (#2613)
* feat: update sidebar categ to  take collapsed prop

* feat: add extra sidebars collapsed test

* fix: only mutate item.collapsed if necessary

* feat: update docs for SidebarItemCategory

* fix: update snapshots

* fix: update json to match new sidebar schema

* fix: update last snapshot
2020-04-22 20:31:10 +08:00
Alexey Pyltsyn
84fa4be865
fix(v2): ignore import declarations in excerpt (#2380)
* fix(v2): ignore import declarations in excerpt

* Update index.ts

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-22 20:28:14 +08:00
Yangshun Tay
956d701cf5 chore: add legal links to v1 website 2020-04-22 14:35:25 +08:00
Alexey Pyltsyn
4367197c77
refactor(v2): extract scroll position detection into separate hook (#2627) 2020-04-22 13:56:04 +08:00
Sam Zhou
41b3c66f5e
fix(v2): fix copyright footer (#2640)
* fix(v2): Fix copyright footer

* Run prettier
2020-04-22 08:52:59 +03:00
Kamil Kisiela
7e57acb8af
docs(v2): showcase GraphQL Code Generator and GraphQL Mesh (#2639) 2020-04-22 12:31:40 +08:00
Yangshun Tay
e1258baa77
chore(v2): add Privacy Policy and Terms of Use links to footer (#2638)
* chore(v2): add Privacy Policy and Terms of Services links to footer

* rename

* Shift to links
2020-04-22 12:30:03 +08:00
Fanny
2bc54a80fc
feat(v2): bootstrap layout footer (#2635)
* feat(v2): add minor adjustements and footer component

* fix(v2): margin and spacing of footer

* fix(v2): spacings

* fix(v2): remove unrelated links of the bootstrap template

* fix(v2): remove unrelated links of the bootstrap template
2020-04-21 19:54:12 +08:00
Tom Brien
852b5e8f13
feat(v2): add CLI option for polling (#2630)
* Add CLI option to polling

Some environments (specifically docker containers) can have issues with file watching for live reloads. [Webpack Dev Server provides a polling alternative](https://webpack.js.org/configuration/watch/#watchoptionspoll) option for this

* Update docusaurus.js

* Update cli.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-20 10:49:43 +08:00
Alexey Pyltsyn
2823d73e19
fix(v2): hide doc sidebar on mobiles (#2631) 2020-04-20 10:48:10 +08:00
Alexey Pyltsyn
52d15e0f7e
fix(v2): make border right of doc sidebar equals doc page (#2626) 2020-04-19 21:28:35 +08:00
Alexey Pyltsyn
2c4490a1ff
fix(v2): disable tab focus on collapsed doc sidebar items (#2625) 2020-04-19 21:28:08 +08:00
Yangshun Tay
409f8788dc
fix(v2): hide mobile navbar hamburger when there are no links (#2624) 2020-04-18 12:09:28 +08:00
Reece Dunham
614adca45f
fix(v2): don't include 404 page in sitemaps (#2616)
* fix(v2): don't include 404 page in sitemaps

Signed-off-by: Reece Dunham <me@rdil.rocks>

* fix: improve implementation as requested

Signed-off-by: Reece Dunham <me@rdil.rocks>

* Fix issue with baseUrls
2020-04-18 11:27:11 +08:00
Alexey Pyltsyn
14f4ef875a
feat(v2): add ability set dark mode by default (#2597)
* feat(v2): add ability set dark mode by default

* s/forceDarkMode/defaultDarkMode

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-17 19:19:55 +08:00
Fanny
ea5a50c4de
feat(v2): bootstrap theme blog post page (#2591)
* feat(v2): init the blog post card

* feat(v2): Update card design

* chore(v2): remove unused dependency

* feat(v2): add post list

* feat(v2): improve html tags

* chore(v2): run prettier

* feat(v2): remove old tag

* feat(v2): apply suggestions

* feat(v2): add tags for blog post

* feat(v2): add post content

* feat(v2): add tags

* feat(v2): add specific tag page

* feat(v2): fix tablet layout

* feat(v2): fix tablet layout

* feat(v2): add blog post page

* feat(v2): apply suggestions

* Update 2020-04-14-blog-plugin.md

* Update 2020-04-14-large-blog-post.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-15 10:03:23 +08:00
Yangshun Tay
2f2e3cd99d docs(v2): fix doc changes in #2606 2020-04-15 02:38:55 +08:00