Commit Graph

2556 Commits

Author SHA1 Message Date
slorber 9579ac10fc split collectRedirects and writeRedirectFiles in separate files 2020-05-25 18:21:41 +02:00
slorber 2695548b93 add proper normalizePluginOptions + tests 2020-05-25 18:05:57 +02:00
slorber 92c2d0839c add tests for redirectCreators 2020-05-25 17:07:00 +02:00
slorber d1a162ec30 createRedirectPageContent: use eta template + encode URI for meta refresh header + tests 2020-05-25 16:27:36 +02:00
slorber fde4933cd5 add utils tests 2020-05-25 16:03:39 +02:00
slorber fd47ca1925 feat(v2): docusaurus-plugin-client-redirects 2020-05-22 20:15:16 +02:00
Alexey Pyltsyn 05c3aa31f4
fix(v2): do not highlight root docs path in navbar (#2778) 2020-05-20 16:49:11 +08:00
Alexey Pyltsyn 0dc0c35ec8 docs(v2): misc update 2020-05-20 11:41:39 +03:00
Alexey Pyltsyn e8f50af8f0
fix(v2): check for docs homepage correctly (#2777) 2020-05-20 16:18:56 +08:00
Alexey Pyltsyn d94a549cfb v2.0.0-alpha.55 2020-05-19 13:55:03 +03:00
Alexey Pyltsyn 570ce36cc7
chore(v2): v2.0.0-alpha.55 (#2774) 2020-05-19 13:38:09 +03:00
Alexey Pyltsyn 4f38d78118
chore(v2): upgrade Infima to 0.2.0-alpha.11 (#2773) 2020-05-19 12:40:20 +03:00
Alexey Pyltsyn da0f865831
fix(v2): remove Markdown syntax from excerpt (#2701)
* fix(v2): remove Markdown syntax from excerpt

* Update snapshots

* Use Remark

* Switch to own solution
2020-05-18 19:57:03 +08:00
Alexey Pyltsyn c7baa125e6
chore(v2): mention about docs home page in init templates (#2763)
* chore(v2): mention about docs home page in init templates

* use home page id for docs

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-05-18 13:14:06 +08:00
Alexey Pyltsyn fc161b8455
docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
Alexey Pyltsyn cc688f48fc
refactor(v2): add support for dark mode to live code blocks (#2767) 2020-05-18 11:24:32 +08:00
Alexey Pyltsyn eed2ade7b3
refactor(v2): remove extra active CSS class for menu item links (#2766) 2020-05-18 11:22:12 +08:00
Alexey Pyltsyn 48b2b753bb
fix(v2): remove invalid attr from mobile nav links (#2765)
* fix(v2): remove invalid attr from mobile nav links

* Update index.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-05-18 11:21:36 +08:00
Alexey Pyltsyn 8e24454154
feat(v2): allow import SVG images (#2764) 2020-05-18 11:18:02 +08:00
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