Commit graph

2537 commits

Author SHA1 Message Date
Artem Kovalov
6db5e8dff8
docs(v2): add deployment workflow manual for GitHub Actions (#2670)
* docs: add deployment workflow manual for GitHub Actions

Steps to build and deploy Docusaurus with GitHub Actions

* docs(v2): improve formatting

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-05-18 11:07:48 +08:00
Fanny
7e97d40075
feat(v2): bootstrap doc sidebar (#2735)
* 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

* feat(v2): Add the layout tag

* feat(v2): bootstrap start doc components

* feat(v2: Add syntax highlight

* Ádd Page components

* feat(v2): Bootstrap MDX Componnets

* fix(v2): Fix layout height

* fix(v2): Fix spacings

* feat:(v2): Add the layout in doc content

* feat(v2): Start the pagination

* feat(v2): Finish pagination

* Fix margins in mobile

* feat(v2): Add the doc sidebar

* feat(v2): Add sidebar

* feat(v2): Makes sidebar responsive

* feat(v2): Add context

* feat(v2): Add new hook and docs to the template sidebar

* feat(v2): Add css modules

* feat(v2): add sidebar class

* feat(v2): add floating action button

* fix fab styles

* fix(v2): fix height

* feat(v2): Remove context

* feat(v2): Finish sidebar

* feat(v2): Add resize window hook

* feat(v2): Remove unsed fields

* feat(v2): Add theme

* feat(v2): improve sidebar definitions

* feat(v2): fix conflicts
2020-05-18 11:06:48 +08:00
Alexey Pyltsyn
463efec20d
fix(v2): avoid duplication search input in navbar (#2762) 2020-05-17 23:24:17 +08:00
Alexey Pyltsyn
778adb2d26
refactor(v2): improve UX of search page (#2761) 2020-05-17 22:53:21 +08:00
Fanny
b91f02dee2
feat(v2): bootstrap doc paginator (#2734)
* 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

* feat(v2): Add the layout tag

* feat(v2): bootstrap start doc components

* feat(v2: Add syntax highlight

* Ádd Page components

* feat(v2): Bootstrap MDX Componnets

* fix(v2): Fix layout height

* fix(v2): Fix spacings

* feat:(v2): Add the layout in doc content

* feat(v2): Start the pagination

* feat(v2): Finish pagination

* Fix margins in mobile

* feat(v2): Add theme
2020-05-17 22:51:03 +08:00
Alexey Pyltsyn
d910ff118e
refactor(v2): add @theme-init alias to give access to initial components (#2464) 2020-05-17 22:47:05 +08:00
Fanny
d145f03ea8
refactor(v2): change the label for docs introduction (#2716)
* change the label for docs introduction

* change file id

* refactor(v2): change name
2020-05-17 19:29:57 +08:00
Yamagishi Kazutoshi
5ea263d272
fix(v2): add support for esModule to lqip-loader (#2693) 2020-05-17 19:26:53 +08:00
Ben Gubler
daafd2f0cc
feat(v2): allow activeBaseTest in NavLink (#2690)
* Update documentation, add support for activeBaseTest

* Implicit else

* Fix Regular Expression capitalization

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>

* Refactor isActive to ternary function, rename activeBaseTest to activeBaseRegex

* Update website/docs/theme-classic.md

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>

* Fix typo

* Update website/docs/theme-classic.md

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>

* Update theme-classic.md

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-05-17 19:23:32 +08:00
Fanny
063484a05a
feat(v2): bootstrap layout (#2710)
* 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

* feat(v2): Add the layout tag

* fix(v2): Fix layout height

* fix(v2): Fix spacings
2020-05-17 18:01:38 +08:00
Fanny
a42b665089
feat(v2): bootstrap MDX Components (#2709)
* feat(v2): Bootstrap MDX Componnets

* feat(v2): Add theme
2020-05-17 17:51:18 +08:00
Alexey Pyltsyn
00a8e9e365
feat(v2): allow home page for docs (#2652)
* feat(v2): allow home page for docs

* Refactor

* Remove debugging info 🤦‍♂️

* Add sort routes for first test case

* Sort child routes for consistency
2020-05-17 17:48:02 +08:00
Alexey Pyltsyn
393adc5324
fix(v2): move anchor link to right of heading (#2760) 2020-05-17 17:38:41 +08:00
Alexey Pyltsyn
2d0b36df1b
fix(v2): remove extra top margin of tab item (#2758) 2020-05-17 17:37:05 +08:00
Alexey Pyltsyn
3ad4550854
feat(v2): add search page (#2756) 2020-05-17 15:55:40 +08:00
Alexey Pyltsyn
1fe2dc192e
fix(v2): restore hiding of docs toc (#2759) 2020-05-17 15:45:14 +08:00
Fanny
3a2f150093
docs(v2): change fanny's description (#2757)
* feat(v2): change fanny's description

* Update team.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-05-17 12:37:45 +08:00
Rajiv Singh
78add75057
docs(v2): fix typo in deployment (#2755) 2020-05-16 15:03:27 +08:00
Sébastien Lorber
9c94dd7c86
docs(v2): typo in creating page (#2753) 2020-05-16 01:16:05 +08:00
Julien Deniau
29506be389
fix(v2): fix index page features.length when 0 (#2751) 2020-05-15 21:29:48 +08:00
Rajiv Singh
5a4a2d361f
docs: fix getting-started-publishing.md (#2747) 2020-05-14 14:19:30 +08:00
Yangshun Tay
c117a6fe79 docs(v2): update team page 2020-05-14 13:52:01 +08:00
Yangshun Tay
cfd76e3599 docs(v2): revise the introduction 2020-05-14 13:01:18 +08:00
Yangshun Tay
be7367b2f8
feat(v2): allow prepending of baseUrl to href in navbar and footer (#2746) 2020-05-14 11:47:28 +08:00
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