Alexey Pyltsyn
5121ac013c
fix(v2): hide read more button on non-truncated posts ( #2240 )
...
* fix(v2): hide read more button on non-truncated posts
* Update tests
2020-01-24 13:31:07 +08:00
Alexey Pyltsyn
894dbcff49
chore(eslint): require curly brackets on all blocks ( #2239 )
2020-01-24 13:28:56 +08:00
Alexey Pyltsyn
42061c6d83
fix(v2): show doc sidebar on pages with case-sensitive paths ( #2235 )
2020-01-23 19:07:31 +03:00
Alexey Pyltsyn
155539421b
fix(v2): unify anchor behavior ( #2162 )
...
* fix(v2): unify anchor behavior
* fix(v2): use activeElement
* fix(v2): add support for sticky header
* Fix highlighted anchor if non-hidable navbar enabled
2020-01-23 19:06:51 +03:00
Alexey Pyltsyn
06044cffa7
fix(v2): include base url in 404 route ( #2237 )
...
* fix(v2): include base url in 404 route
* Update tests
2020-01-22 09:00:38 +08:00
Alexey Pyltsyn
2d08787ed5
fix(v2): escape link text in TOC ( #2236 )
2020-01-22 08:56:54 +08:00
Alexey Pyltsyn
40185a649b
Revert "chore(v2): handle pages which contain special chars ( #2214 )" ( #2232 )
...
This reverts commit c0bacfd9f9
.
2020-01-20 18:35:35 +03:00
Alexey Pyltsyn
95caf833d8
fix(v2): render correct theme for live code blocks on SSR ( #2227 )
2020-01-20 11:00:04 +08:00
Elie Dutheil
c0bacfd9f9
chore(v2): handle pages which contain special chars ( #2214 )
2020-01-20 10:59:22 +08:00
Jonathan Delgado
5cb3309790
feat(v2): allow for TypeScript pages and components ( #2221 )
2020-01-20 10:55:50 +08:00
Yangshun Tay
b945e76814
chore: prepare for v1.14.4 release ( #2211 )
2020-01-13 00:11:23 +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
Reece Dunham
ad031a15a4
feat(v2): support IP anonymization for Google Analytics plugin ( #2148 )
...
* Support IP anonymization for google analytics
* Fixes
* Add docs
* typo fix
* Fix syntax
* document in suggested place
* attempted to add functionality to gtag plugin
* Remove from api-site-config
* document in appropriate places
* fix anonymize IP
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-01-12 21:27:08 +08:00
Yangshun Tay
5e821fd4e0
feat(v2): preload first page load script asap ( #2208 )
...
Co-authored-by: Endi <endiliey@gmail.com>
2020-01-12 21:26:14 +08:00
Yangshun Tay
a38125a718
chore: drop support for node <10.9 ( #2207 )
...
* drop node <10.9 on 2020
* misc: add nvmrc
Co-authored-by: Endi <endiliey@gmail.com>
2020-01-12 13:24:11 +08:00
James McShane
e4eb9194fa
fix(v1): update blog href value to match navbar href ( #2204 )
2020-01-11 13:19:01 +08:00
Reece Dunham
8c146f294e
fix(v2): (docusaurus-init) remove deprecated Python statement ( #2202 )
2020-01-11 00:51:12 +08:00
Alexey Pyltsyn
5252111fa0
fix(v2): fix input losing focus on init ( #2188 )
...
* fix(v2): fix input losing focus on init
* fix(v2): add onMouseOver handler
2020-01-08 23:08:03 +08:00
Alexey Pyltsyn
7e750de6fa
refactor(v2): disable scroll when sidebar menu is open ( #2189 )
2020-01-08 23:06:07 +08:00
Dan Abramov
632e2dc437
fix(v1): fix JSX highlighting by passing language to Prism ( #2196 )
...
* Fix JSX highlighting by passing language to Prism
* Make Prettier happy
* Keep guessing what Prettier wants because CI doesn't tell me
2020-01-08 00:42:47 +08:00
Alexey Pyltsyn
c2aeda273c
fix(v2): make correct internal link check
2020-01-07 13:25:15 +03:00
Thiago de Souza
d099bd2ee8
fix(v2): isInternal targetLink validation ( #2195 )
...
* docs(v2): showcase user neutronjs
* fix(v2): isInternal url validation
2020-01-07 14:29:10 +08:00
yaojie
188b150503
fix(v2): change 'Simple' to 'Simply' on template blog entries ( #2191 )
2020-01-06 10:24:19 +08:00
Alexey Pyltsyn
705b496397
fix(v2): allow external links in doc sidebar ( #2186 )
...
* fix(v2): allow external links in doc sidebar
* Fix for ESLint
2020-01-05 03:09:44 +08:00
Yangshun Tay
8065e5f9dd
fix(v2): make search bar not lose focus after clicking on it after initial load ( #2178 )
2020-01-04 20:38:45 +08:00
Alexey Pyltsyn
d8b170ee51
refactor(v2): make proper import of react-router-dom ( #2187 )
2020-01-04 13:52:35 +08:00
Alexey Pyltsyn
de57ab1b7d
fix(v2): reinit hideable header position when page switched ( #2160 )
...
* fix(v2): reinit hideable header position when page switched
* fix(v2): fix CI
* refactor(v2): use react-router-dom hook instead plugin API
2020-01-03 11:04:15 +08:00
Yangshun Tay
c494e93564
fix(v2): don't read theme from localStorage if disableDarkMode is on ( #2177 )
2020-01-03 10:57:16 +08:00
Alexey Pyltsyn
24206de744
fix(v2): make sidebar logo positioning relative navbar ( #2179 )
2020-01-03 10:39:26 +08:00
Alexey Pyltsyn
b36316eab2
fix(v2): load Algolia styles for mobiles immediately ( #2174 )
...
* fix(v2): load Algolia styles for mobiles immediately
* Add copyright
2020-01-02 21:37:15 +08:00
Alexey Pyltsyn
d407abde7e
fix(v2): adjust sidebar menu close icon to center ( #2173 )
2020-01-02 21:11:41 +08:00
Alexey Pyltsyn
3aca44ce67
fix(v2): make doc sidebar height equal viewport ( #2171 )
2020-01-02 20:00:17 +08:00
Alexey Pyltsyn
5f6033d591
fix(v2): add class name to custom footer item
2020-01-01 18:42:44 +03:00
Alexey Pyltsyn
b7d60c2b7a
fix(v2): use proper tag for custom HTML in footer ( #2169 )
2020-01-01 23:39:40 +08:00
Endi
6f6f756d70
fix(v2): filter out invalid prefetch script without contenthash ( #2167 )
2020-01-01 18:49:12 +08:00
Yangshun Tay
75f5bb4d23
feat(v2): allow per-doc hiding of edit url ( #2166 )
2020-01-01 18:45:55 +08:00
Yangshun Tay
428e087eb7
fix(v2): fix reading front matter keywords and image fields ( #2165 )
2019-12-31 21:42:47 +08:00
Alexey Pyltsyn
ca30adc19d
feat(v2): add logo and title in doc sidebar ( #2161 )
...
* feat(v2): add logo and title in doc sidebar
* fix: hide sidebar logo on small screens
2019-12-30 21:06:12 +08:00
Yangshun Tay
26cc4168fa
Revert "refactor(v2): move no-flash script to head tag ( #2158 )"
...
This reverts commit f944550353
.
2019-12-30 10:42:20 +08:00
Alexey Pyltsyn
f944550353
refactor(v2): move no-flash script to head tag ( #2158 )
2019-12-30 09:54:27 +08:00
Yangshun Tay
bf1ae60031
feat(v2): add Prettier to Facebook template ( #2156 )
2019-12-29 20:36:41 +08:00
Yangshun Tay
08ca95af01
docs(v2): dark mode syntax highlighting ( #2153 )
2019-12-29 16:40:17 +08:00
Yangshun Tay
da6966d208
feat(v2): add ESLint to Facebook template ( #2155 )
2019-12-29 16:39:28 +08:00
Yangshun Tay
167f71a654
fix(v2): render correct syntax theme for current website theme ( #2150 )
2019-12-27 13:37:39 +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
endiliey
dad50823b6
v2.0.0-alpha.40
2019-12-25 16:41:52 +07: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
b791572617
fix(v2): remove style-loader, use minicssextract in both dev & prod for consistency ( #2145 )
2019-12-25 13:06:00 +08:00
Yangshun Tay
8b26d92a39
chore(v2): upgrade dependencies ( #2142 )
2019-12-22 11:59:36 +08:00
Yangshun Tay
e39d76c40c
chore(v2): turn off import/extensions ESLint rule
2019-12-22 11:34:44 +08:00