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
Alexey Pyltsyn
ea8c916528
fix(v2): sync changes between code block components
...
aa0d85646f
@yangshun arrgh, please pay attention on this PR! https://github.com/facebook/docusaurus/pull/2464
2020-04-05 13:39:18 +03:00
Alexey Pyltsyn
349eee042b
refactor(v2): make better code blocks ( #2534 )
...
* refactor(v2): make better code blocks
* Update styles.module.css
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-05 18:01:07 +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
Alexey Pyltsyn
7bc7241ee4
fix(v2): add rounded corners in code blocks properly ( #2533 )
2020-04-05 15:57:11 +08:00
José Renan
95fdfe7e15
feat(v2): add blog post estimated reading time ( #2531 )
...
* feat: add estimated reading time to blog posts
* docs: add showReadingTime on plugin docs
* test: update plugin-content-blog tests to cover readingTime
* Update index.js
* Update using-plugins.md
* Update index.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-05 15:08:42 +08:00
Yangshun Tay
692ab14e4f
fix(v2): make code block nicer again ( #2526 )
2020-04-04 13:06:11 +08:00
Alexey Pyltsyn
c207c3ba31
v2.0.0-alpha.50
2020-04-02 21:00:47 +03:00
Alexey Pyltsyn
44f9c76851
fix(v2): synchronize code block components changes ( #2509 )
2020-04-02 23:05:48 +08:00
Alexey Pyltsyn
9cff1bb9e4
chore(v2): upgrade deps ( #2508 )
2020-04-02 19:05:03 +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
Yangshun Tay
63997a4fbe
fix(v2): make code block nicer ( #2502 )
2020-04-02 14:12:47 +08:00
Yangshun Tay
eeebc31ff1
docs(v2): reorganize markdown features page ( #2503 )
...
* docs(v2): reorganize markdown features page
* docs(v2): reorganize markdown features page
2020-04-02 14:12:17 +08:00
Yangshun Tay
8018a835e5
docs(v2): misc docs updates ( #2500 )
2020-04-02 12:29:39 +08:00
Yangshun Tay
e240d1b5aa
fix(v2): blog item styling ( #2498 )
2020-04-02 11:14:49 +08:00
Alexey Pyltsyn
d1326cdee8
refactor(v2): update HTML markup of pagination for better 11y ( #2495 )
2020-04-02 10:43:34 +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
409f169379
v2.0.0-alpha.49
2020-04-01 16:00:14 +08:00
Yangshun Tay
f6d7e42717
chore(v2): v2.0.0-alpha.49 ( #2488 )
2020-04-01 15:57:42 +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
Elvis Wolcott
054563befe
feat(v2): support comments for code highlighting ( #2456 )
...
* feat: support comments for code highlighting
* docs(v2): demonstrate highlighting with comments
* chore: remove debugging console.log
* fix: disable when language is undefined
2020-04-01 01:44:58 +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
c3aa162ea5
refactor(v2): remove unnecessary X-UA-Compatible meta tag ( #2485 )
2020-03-31 11:44:58 +08:00
Alexey Pyltsyn
005eb07a32
fix(v2): do not render sidebar logo if used sticky navbar ( #2483 )
2020-03-29 23:37:48 +08:00
Alexey Pyltsyn
8fe203d529
chore(v2): upgrade MDX to 1.5.8 ( #2479 )
2020-03-29 23:34:31 +08:00
Alexey Pyltsyn
5ed226dc64
fix(v2): remove unnecessary role navigation
2020-03-29 13:21:16 +03:00
Alexey Pyltsyn
cf884f532d
fix(v2): improve code block scroll accessibility ( #2476 )
2020-03-29 12:48:34 +08:00
Alexey Pyltsyn
cffb3f9af5
fix(v2): make correct Open Graph title for doc page ( #2475 )
2020-03-29 12:12:07 +08:00
Alexey Pyltsyn
f0941a9ff6
chore(v2): upgrade remark-admonitions for a11y fixes ( #2477 )
2020-03-29 12:10:26 +08:00
Kohhee Peace
5e0d11dbaf
feat(v2): add filename in CodeBlock ( #2346 )
...
* feat: add filename in CodeBlock
* Fix code to use Regex to find title from markdown and Update style
* Fix reviewed point
- Delete unnecessary template literals
- Delete unnecessary "important!" from css
* Add title in live codeblock
* Just edit code order
* Add demo for code title
* Add docs about code title in markdown-features.mdx
* Make code title height scalable
* Rename codeBlockWrapper to codeBlockContent
* Make copyButton appear when hovering codeTitle
* Fix docs description about code title
2020-03-26 01:05:18 +08:00
Alexey Pyltsyn
3052ef14e5
fix(v2): various improvements for accessibility ( #2442 )
2020-03-23 11:46:57 +08:00
Alexey Pyltsyn
15a21ace93
feat(v2): make clickable sidebar logo ( #2440 )
2020-03-22 21:34:00 +08:00
Alexey Pyltsyn
feaa75c876
fix(v2): update twitter:card to summary_large_image ( #2436 )
2020-03-22 10:05:40 +08:00
Alexey Pyltsyn
5358fca09a
fix(v2): add support dark logo for sidebar logo ( #2434 )
2020-03-22 10:05:09 +08:00
Alexey Pyltsyn
6a089ce75c
fix(v2): add missed const
2020-03-18 13:34:33 +03:00
38elements
8152b47bba
fix(v2): fix external URL for og:image tag ( #2420 )
...
* fix(v2): og:image
* Use isInternalUrl()
* Update index.js
* Update index.js
* Update index.js
* Update index.js
* Update index.js
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-18 18:05:40 +08:00
Sam Zhou
55a50d37dc
feat(v2): support syncing tab choices ( #2366 )
...
* feat(v2): Support syncing tab choices
* Move docs changes to website/docs
* Do not import entire React in TabGroupChoiceContext
* Store only one tab choice according to discussion in PR
* Remove leftover logging code during debugging
* Put storage value in separate const outside the hook-level
* Use an array to keep track of different tab groups
* Revert back to using `groupId`
* Update markdown-features.mdx
* Update markdown-features.mdx
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-15 13:47:52 +08:00
Alexey Pyltsyn
38bb8c4ced
v2.0.0-alpha.48
2020-03-09 01:46:10 +03:00
Alexey Pyltsyn
1ed698d1fb
fix(v2): add missing dependency and Noop component ( #2386 )
...
* fix(v2): add missing prismjs dependency
* fix(v2): proper import Noop component
2020-03-09 01:35:56 +03:00
Alexey Pyltsyn
1dc1f21e91
v2.0.0-alpha.47
2020-03-08 23:40:44 +03:00
Alexey Pyltsyn
9d45993da2
v2.0.0-alpha.46
2020-03-08 23:29:42 +03:00
Alexey Pyltsyn
bbb465be02
v2.0.0-alpha.45
2020-03-08 23:07:13 +03:00
Yangshun Tay
1e09feb2db
v2.0.0-alpha.44
2020-03-08 23:45:30 +08:00
Alexey Pyltsyn
5226767caf
feat(v2): add support specify new languages for Prism ( #2250 )
...
* feat(v2): add support specify new languages for Prism
* Do It Right
* More fix
* Fix up!
* Fixes
* Move to dev dependencies
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-08 22:13:02 +08:00
Alexey Pyltsyn
31b0ce6e27
chore(v2): upgrade Infima and remark-admonitions ( #2372 )
...
* chore(v2): upgrade Infima and remark-admonitions
* Update algolia.css
2020-03-08 00:10:13 +08:00
Alexey Pyltsyn
6b75aafd5a
fix(v2): remove line break from end of code blocks ( #2371 )
2020-03-07 15:28:33 +08:00
Alexey Pyltsyn
5904410c3d
refactor(v2): increase CSS specificity on application container ( #2367 )
...
* refactor(v2): increase CSS specificity on application container
* Use docusaurus selector
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-07 12:13:11 +08:00
Alexey Pyltsyn
c1716096de
feat(v2): allow specifying custom target for logo link ( #2344 )
...
* feat(v2): allow specify custom target for logo link
* refactor: use isInternalUrl
2020-02-29 19:27:56 +08:00