Teik Jun
2e055f4ae2
fix(v2): make client-redirect-plugin not baseUrl sensitive ( #3010 )
...
* feat(v2): use relative routes path in postBuild hook
* feat(v2): use relativeRoutesPath in other methods and modify tests
* fix(v2): fix D2 client redirects and tests
* feat(v2): add tests for relativeRoutesPaths
* fix(v2): fix some typos in configValidation
* fix(v2): fix an eslint warning and restart github action
* refactor(v2): create a removePrefix method
* refactor(v2): inline unnecessary method
2020-06-29 18:38:28 +02:00
slorber
c964a1e3b6
add introduction redirect
2020-06-10 17:22:08 +02:00
slorber
a02f90c064
Merge branch 'master' into feature/client-side-redirects
2020-06-04 11:42:00 +02:00
Alexey Pyltsyn
5c6670b94e
fix(v2): fix broken URL to introduction
2020-06-04 03:38:01 +03:00
slorber
00a79f69c7
Add chalk non-blocking errors + fix config bug
2020-06-03 19:28:57 +02:00
slorber
77c7ac0ddb
add more redirect tests to d2 site config
2020-06-03 18:15:12 +02:00
slorber
e057bbd662
add proper redirect config for tests
2020-06-03 17:55:46 +02:00
slorber
c224efb8a1
Add better options validation error
2020-06-03 17:53:54 +02:00
slorber
362573a391
Merge branch 'master' into feature/client-side-redirects
2020-05-27 16:51:04 +02:00
Alexey Pyltsyn
2105700fb7
refactor(v2): various tweaks to website ( #2816 )
2020-05-27 20:56:59 +08:00
slorber
0c330df5cc
fix template import issue
2020-05-25 20:06:52 +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
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
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
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
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
Sam Zhou
41b3c66f5e
fix(v2): fix copyright footer ( #2640 )
...
* fix(v2): Fix copyright footer
* Run prettier
2020-04-22 08:52:59 +03: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
Alexey Pyltsyn
f4c2ae7cee
fix(v2): fix path for footer menu item Help
2020-04-07 14:24:55 +03:00
Yangshun Tay
c1ef488115
docs(v2): add community pages ( #2545 )
...
* docs(v2): add community pages
* misc fixes
2020-04-06 01:10:22 +08:00
Alexey Pyltsyn
1f00d15c74
chore(v2): fix code style (revert previous changes)
2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd
chore(v2): fix code style
2020-04-05 17:30:59 +03:00
Yangshun Tay
b07507c9cc
chore(v2): upgrade devDependencies ( #2538 )
...
* chore(v2): upgrade devDependencies
* chore(v2): upgrade devDependencies
* chore: prettier
2020-04-05 19:07:44 +08:00
Fanny
5e664a1f26
feat(v2): add edit url in post page ( #2524 )
...
* Add edit page url in docs
* feat(v2): Create EditPage component
* feat(v2): Improve component
* Add test
* çhore(v2): update description
* çhore(v2): update url
* fix(v2): test
* fix(v2): test
* feat(v2): change the prop of EditPage component
* chore(v2): Remove packages
* feat(v2): Update old tests
* chore(v2): fix package
* fix(v2): fix editUrl
* docs(v2): document editUrl
* --
* --
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-05 17:34:48 +08:00
Yangshun Tay
2a2824e976
docs(v2): add link to master docs ( #2506 )
2020-04-02 14:45:10 +08:00
Yangshun Tay
f51b56460e
fix(v2): tweak colors for announcement bar ( #2505 )
...
* fix(v2): tweak colors for announcement bar
* black
2020-04-02 14:41:49 +08:00
Alexey Pyltsyn
0c1d593e00
refactor(v2): improve announcement bar ( #2504 )
2020-04-02 14:31:53 +08:00
Alexey Pyltsyn
1577ab98e9
fix(v2): fix HTML issues nav dropdown and highlight docs item ( #2489 )
2020-04-02 01:07:51 +08:00
Yangshun Tay
f96c2b61d7
feat(v2): nav dropdown ( #2487 )
...
* feat(v2): allow nav dropdown
* docs(v2): document navbar links
* fix bug
2020-04-01 03:10:04 +08:00
Alexey Pyltsyn
0f73a1fad8
feat(v2): add announcement bar ( #2330 )
...
* feat(v2): add announcement bar
* Refactor: move to Layout
* Fixes
* Refactor to simplify
* Changes: id, styles, docs
2020-04-01 00:08:55 +08:00
Alexey Pyltsyn
5b08ba7f48
polish(v2): add logo for dark mode ( #2439 )
2020-03-22 21:33:19 +08:00
Alexey Pyltsyn
18169814c8
fix(v2): fix aspect ratio for Open Graph image ( #2435 )
2020-03-22 10:05:23 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Yangshun Tay
787b073bb7
docs(v2): nav links activeBasePath ( #2303 )
...
* docs(v2): Nav links activeBasePath
* rename activeBaseRoute to activeBasePath
* fixes
2020-02-21 09:44:14 +08:00
Yangshun Tay
c46bf90f60
feat(v2): allow navbar links to show active style by specifiying a base path ( #2299 )
2020-02-20 10:10:22 +08:00
Yangshun Tay
a2642e8acf
fix(v2): don't even print anonymizeIP if false in Google Analytics plugin
2020-01-12 22:19:22 +08:00
Alexey Pyltsyn
1c032a0bd9
refactor(v2): change title of last footer column ( #2170 )
2020-01-02 00:43:08 +08:00
Alexey Pyltsyn
5c06f5884e
fix(v2): improve accessibility for Netlify badge ( #2168 )
2020-01-01 23:23:57 +08:00
Alexey Pyltsyn
92c68ed742
feat(v2): add support another Prism theme for dark mode ( #1984 )
...
* feat(v2): add support another Prism theme for dark mode
* add dynamically change Prism theme
* Prepare for review
* PR review changes
* feat(v2): useThemeContext
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2019-12-25 22:52:34 +08:00
Endi
850c3a1deb
chore(v2): add netlify logo for open source plan ( #2147 )
...
* chore(v2): add netlify logo for open source plan
* change logo
* Update website/docusaurus.config.js
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2019-12-25 16:36:42 +07:00
Endi
578815c620
chore(v2): prepare alpha.40 release ( #2146 )
2019-12-25 16:30:29 +07:00
Alexey Pyltsyn
5bfa5d6579
feat(v2): hide navbar on scroll ( #2055 )
...
* feat(v2): hide navbar on scroll
* Turn on hide option
* Refactor after review
2019-12-12 04:19:37 -08:00
endiliey
6155115280
chore(v2): configure algolia options to search latest version
2019-11-30 18:05:45 +07:00
Alexey Pyltsyn
085f522817
fix(v2): make friendlier title on home page for SEO ( #2049 )
2019-11-25 10:31:14 -08:00
Endi
c533adc4aa
docs(v2): display yarn and npm command on website ( #2037 )
...
* docs(v2): display yarn and npm command on website
* more
* fix div cannot be descendant p
2019-11-23 18:32:26 -08:00
Endi
d1f84709e0
chore(v2): cut 2.0.0-alpha.36 docs & create versions page ( #2030 )
2019-11-23 18:13:16 -08:00
Yangshun Tay
7abe643f8d
misc(v2): branding update ( #2009 )
2019-11-17 06:43:32 -08:00
Alexey Pyltsyn
0f30077e63
feat(v2): add FB link to footer ( #1982 )
2019-11-13 23:06:54 +07:00
Endi
6a3efd5f3d
breaking(v2): editUrl should point to website instead of docsDir to support editUrl in versioning/trans ( #1958 )
2019-11-11 21:24:04 +07:00