Commit graph

2513 commits

Author SHA1 Message Date
Fanny
dd1ad5d943
Merge pull request #2739 from facebook/fanny/copyright-headers
chore(v2): Add missing copyright headers
2020-05-13 14:26:04 -03:00
fanny
f8a22d1394 çhore(v2): revert changes 2020-05-13 14:07:35 -03:00
fanny
06f8a90b81 chore(v2): remove unnecessary comments 2020-05-13 13:34:58 -03:00
fanny
a6cc1f88e3 çhore(v2): revert changes 2020-05-13 13:32:04 -03:00
Jimmy
aac4e27a90
feat(v2): add canonical URL to <head> (#2694) 2020-05-13 11:29:38 +08:00
Fanny
7d8aeacf52
feat(v2): bootstrap layout navbar (#2668)
* feat(v2): add minor adjustements and footer component

* fix(v2): margin and spacing of footer

* feat(v2): add navbar component

* ádd collapse classname

* feat(v2): add dependencies

* feat(v2): remove unused code

* feat(v2): remove unused links

* feat(v2): add reactstrap components :|

* feat(v2): add brand and other nav componnets
2020-05-13 11:24:53 +08:00
fanny
c23f065175 chore(v2): Add copyright headers 2020-05-12 14:01:12 -03:00
Yangshun Tay
03070a2b8d chore: add copyright headers to missing files 2020-05-11 00:11:11 +08:00
Alexey Pyltsyn
93b39e674f
chore(v2): upgrade Infima to 0.2.0-alpha.10 (#2729)
* chore(v2): upgrade Infima to 0.2.0-alpha.10

* Changelog
2020-05-10 21:03:45 +08:00
Jonny Nabors
afe70d973f
docs(v2): add new community plugin for dotenv support (#2730)
* Add new community plugin for dotenv support

Adds a link to a new community plugin that introduces support for environment variables managed in `.env` files.

* Update resources.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-05-10 21:01:27 +08:00
Taylor Reece
dc08f3b416
chore(v2): bump webpack-dev-server to 3.11.0 to address yargs vulnerability (#2728) 2020-05-09 01:05:46 +08:00
Ben Gubler
368eb4279f
refactor(v2): replace EJS with Eta for SSR generation (#2684)
* Replace EJS with Eta for SSR generation

* Format with Prettier

* Remove ejs alias

* Don't autotrim, Terser will minify already

* Don't autoTrim, files are HTML-minified later

* Equivalent of rmWhitespace option for Eta

* Update Eta version and add rmWhitespace

* Format with Prettier
2020-05-05 14:25:26 +08:00
Alexey Pyltsyn
df815db031 docs(v2): fix correct route base path for docs-only mode 2020-05-02 23:58:56 +03:00
dependabot[bot]
054601a69b
chore(deps): bump acorn from 6.4.0 to 6.4.1 (#2703)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-02 03:06:11 +08:00
Marco Moretti
5761835ae8
docs(v2): replace word append with prepend to describe useBaseUrl hook (#2707)
* [doc] Replace word append with prepand to describe useBaseUrl hook

* [doc] Replace word append with prepend to describe useBaseUrl hook

* [doc] Replace append for all document versions
2020-05-02 03:05:51 +08:00
Alexey Pyltsyn
52b20826fd docs(v2): add note about IE11 2020-04-30 11:06:19 +03:00
Alexey Pyltsyn
01c71e201a Merge branch 'master' of github.com:facebook/docusaurus 2020-04-30 11:04:44 +03:00
Fanny
3017723057 feat(v2): bootstrap pagination (#2695)
* feat(v2): Add pagination

* çhore(v2): remove console.log

* feat(v2): remove changes in template
2020-04-30 11:04:02 +03:00
Alexey Pyltsyn
6190bf79a1 docs(v2): add note about IE11 2020-04-30 10:59:58 +03:00
Fanny
3e1c4f5093
feat(v2): bootstrap pagination (#2695)
* feat(v2): Add pagination

* çhore(v2): remove console.log

* feat(v2): remove changes in template
2020-04-30 01:07:08 +08:00
Alexey Pyltsyn
16dd08a690
refactor(v2): make semicolon optional in imports for excerpt (#2696) 2020-04-30 01:05:29 +08:00
Yamagishi Kazutoshi
57c7550a87
fix(v2): add routeBasePath to feed link (#2691) 2020-04-29 23:22:42 +08:00
Alexey Pyltsyn
36726b4b0e docs(v2): delete alpha.40 2020-04-28 18:42:21 +03:00
Alexey Pyltsyn
d41f8ca1a9 docs(v2): various improvements 2020-04-28 17:44:06 +03:00
Alexey Pyltsyn
753d117025 v2.0.0-alpha.54 2020-04-28 09:49:27 +03:00
Alexey Pyltsyn
8335808fc0 chore(v2): v2.0.0-alpha.54 2020-04-28 09:42:25 +03:00
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