Commit graph

1235 commits

Author SHA1 Message Date
Alexey Pyltsyn
60a4d1dd60 fix(v2): do not show categories with empty items (#1891) 2019-10-25 20:25:49 -07:00
Endi
b3479682eb
feat(v2): display footer in docs page for consistency (#1883)
* feat(v2): display footer in docs page

* nits

* address review

* nits
2019-10-25 14:14:35 +07:00
Alexey Pyltsyn
ce6a725ff5 feat(v2): add ability expand all items in doc sidebar (#1876)
* feat(v2): add ability expand all items in doc sidebar

* Fix tests

* Refactor: use themeConfig

* Improve docs

* Revert unnecessary  changes

* Refactor: better consistency

* Revert extra change

* Refactor: use useDocusaurusContext to get config value
2019-10-24 21:36:46 +07:00
Alexey Pyltsyn
11f99774e0 fix(v2): remove empty doc sidebar container (#1870) 2019-10-22 18:47:45 -07:00
Alexey Pyltsyn
68d5adfc2c feat(v2): add sticky footer (#1855)
* feat(v2): add sticky footer

* Update CHANGELOG-2.x.md

* Update CHANGELOG-2.x.md
2019-10-22 17:16:39 -07:00
endiliey
b65c1b2242 v2.0.0-alpha.30 2019-10-22 12:23:55 +07:00
endiliey
b56adb7ca1 v2.0.0-alpha.29 2019-10-21 19:28:36 +07:00
endiliey
87866c1d1d v2.0.0-alpha.28 2019-10-21 12:28:12 +07:00
Endi
1844c2bdd6
chore(v2): upgrade dependencies (#1865)
* chore(v2): upgrade dependencies

* nits
2019-10-21 12:25:30 +07:00
Endi
abdc647b07
feat(v2): polyfill automatically depending on browserslist (#1857)
* feat(v2): polyfill corejs and ie11 compat

* use corejs/stable

* useBuiltIns => usage instead of entry

* chngelo

* nits

* breaking: withBaseUrl -> useBaseUrl

* nits

* loose mode for faster perf and smaller bundle
2019-10-21 11:09:16 +07:00
Yangshun Tay
ee936f62b5 fix(v2): fix incorrect keywords meta tag (#1863) 2019-10-21 10:51:47 +07:00
Alexey Pyltsyn
bb6b02c487 fix(v2): fix link to logo in footer (#1854)
* fix(v2): fix link to logo

* Update CHANGELOG-2.x.md

* Update CHANGELOG-2.x.md

Co-Authored-By: Endi <endiliey@gmail.com>
2019-10-18 16:27:33 +07:00
Endi
c630e1aab9
fix(v2): keywords frontmatter should work properly (#1840)
* fix(v2): keywords frontmatter should work properly

* nits

* nits again
2019-10-15 10:57:08 +07:00
endiliey
0cf5a5bf49 v2.0.0-alpha.27 2019-10-14 18:10:32 +07:00
Endi
94b0451fa4
feat(v2): add 'custom_edit_url' and 'hide_title' markdown header feature (#1838)
* feat(v2): add 'custom_edit_url' and 'hide_title' markdown header feature

* nits
2019-10-14 17:25:05 +07:00
Yangshun Tay
d848c3bd7b
feat(v2): add tabs component for multi-language code (#1836)
* feat(v2): add tabs component for multi-language code

* Update website/docs/migrating-from-v1-to-v2.md

Co-Authored-By: Endi <endiliey@gmail.com>
2019-10-13 10:16:04 -07:00
endiliey
d1e426afd8 v2.0.0-alpha.26 2019-10-12 11:53:42 +07:00
Yangshun Tay
87821104f9 fix(v2): address docs nits 2019-10-11 21:42:37 -07:00
Endi
fb1ba0861a styles(v2): add pencil svg beside 'Edit this page' (#1833) 2019-10-11 09:42:05 -07:00
Yangshun Tay
4fe6ae3c24
feat(v2): docs last update timestamp and author (#1829)
* feat(v2): docs last update timestamp and author

* misc(v2): changelog

* misc(v2): better error messages
2019-10-10 21:45:39 -07:00
Yangshun Tay
54e9e025d8 misc(v2): remove legacy from docs 2019-10-10 19:45:50 -07:00
Yangshun Tay
1c5a6ee244
misc(v2): make playground nicer (#1819)
* misc(v2): make code block nicer

* misc(v2): update changelog for code + playground

* misc(v2): update playground docs
2019-10-10 15:12:17 -07:00
Endi
ae678c9dad feat(v2): add editUrl option to docs plugin (#1818)
* feat(v2): add editUrl option to docs plugin

* nits

* misc(v2): nit

* misc(v2): nit
2019-10-10 11:10:18 -07:00
Yangshun Tay
aba9edc12c
misc(v2): improve docs styles (#1820)
* misc(v2): make doc title larger

* misc(v2): make doc layout better

* misc(v2): update changelog for docs
2019-10-10 10:45:35 -07:00
Yangshun Tay
5eb79b17c3
misc(v2): change blog title size (#1821)
* misc(v2): change blog title size

* misc(v2): change blog title size
2019-10-10 01:25:11 -07:00
Yangshun Tay
17252a079c
feat(v2): make sidebar collapsible (#1817)
* feat(v2): make sidebar collapsible

* fix first page load sidebar category not collapsed

* misc(v2): nit
2019-10-09 08:11:51 -07:00
Endi
e7ba8af6d9
refactor(v2): better docs metadata (#1815) 2019-10-09 12:07:08 +08:00
endiliey
8d4def5c08 v2.0.0-alpha.25 2019-10-01 20:29:26 +07:00
Endi
0397f7b719
chore(v2): upgrade babel, webpack, and mdx (#1798)
* chore: upgrade babel, webpack, and mdx

* changelog
2019-09-24 18:55:07 +08:00
Shirshendu Bhowmick
0bbf7b8202 refactor(v2): convert SearchBar to hooks (#1755)
* Refactored with Hooks

* refactored for improvements

* Added classnames for conditional CSS rendering
2019-09-14 11:32:46 -07:00
陈杨文
3243e40ca2 feat(v2): blog tags support cjk (#1701) 2019-09-13 14:16:11 -07:00
Shirshendu Bhowmick
abc80e9b00 fix(v2): responsive search bar (#1741)
* Fix search bar on smaller devices

* Update packages/docusaurus-theme-search-algolia/src/theme/SearchBar/styles.css

Removed blank line

Co-Authored-By: Endi <endiliey@gmail.com>
2019-08-06 11:49:28 +07:00
Endi
ca3ae5ea96
chore: upgrade deps (#1733) 2019-08-01 19:14:12 +07:00
Wei Gao
f4f458460c docs(v2) themes (#1645)
* More prep

* rename xxx-api to api-xxx

* move content around for plugins and themes

* wip docs: using themes

* docs(v2): tweak using plugins

* docs(v2): list official themes in docs

* docs(v2): advanced themes

* wip notes for lifecycle apis

* resolve PR review discussions

* lower case "theme"

* better intro for using themes

* add a simple README to @docusaurus/theme-classic

* remove list of components from theme classic README and replace with link to directory
2019-07-26 12:00:40 +07:00
endiliey
41126fed12 v2.0.0-alpha.24 2019-07-24 15:55:28 +07:00
Endi
84b2270039
feat(v2): allow custom heading component (#1687)
* feat(v2): allow custom heading component

* changelog
2019-07-23 12:13:47 +07:00
endiliey
f37269aaad v2.0.0-alpha.23 2019-07-21 11:18:03 +07:00
endiliey
ae620cd530 v2.0.0-alpha.22 2019-07-20 18:31:41 +07:00
Endi
2d6aaea069 feat(v2): allow custom syntax highlighting theme (#1674) 2019-07-18 11:19:00 -07:00
Endi
381dd75105
feat(v2): better twitter preview meta tag (#1676)
* fix(v2): remove unwanted scale zoom due to initial-scale meta tag

* use summary meta
2019-07-19 01:06:59 +07:00
endiliey
dc15a51745 v2.0.0-alpha.21 2019-07-14 18:54:53 +07:00
endiliey
307f384684 v2.0.0-alpha.20 2019-07-14 17:36:40 +07:00
Endi
d61cc01217
feat(v2): @docusaurus/init package (#1655)
* feat(v2): separate v2 docusaurus/init package

* nits

* docs

* rm unwanted

* readme
2019-07-14 01:06:23 +07:00
Endi
9e9ad1f2b8 fix(v2): clicking logo on mobile sidebar should go to homepage (#1657) 2019-07-13 10:33:12 -07:00
Endi
ca67cad2a7
feat(v2): add more essential meta tags (#1651)
* feat(v2): add more essential meta tags

* nits tagline
2019-07-13 01:23:00 +08:00
Wei Gao
2491c53ba9 feat(v2): improve seo (#1588)
* feat(v2): improve seo

- Add doc specific seo information
- Add twitter meta tags to seo in theme Layout

* Cannot use svg in SEO image

* Add docs about SEO

* add site default image for seo

* Resolve PR discussion

* Add `image` to config optional fields

* Use theme config instead of root config for image, rename in front matter

* Use absolute url for image (wont work on preview)

* update docs for frontmatter field for seo

* refactor

* pages seo

* fix

* nits again'
2019-07-13 00:23:49 +08:00
Bruno Vego
7b7d1e6161 feat(v2): CodeBlock copy button (#1643)
* feat(v2): CodeBlock copy button

* fix: live theme editor breaking bug
2019-07-12 12:55:56 +07:00
Yangshun Tay
e5e085b33d
chore(v2): make v2 docs plugin legacy (#1639)
* chore(v2): make v2 docs plugin legacy

* chore(v2): update fixtures
2019-07-05 17:20:46 -07:00
Yangshun Tay
38a5e4d615
feat(v2): implement client lifecycles dispatcher (#1591)
* WIP feat(v2): implement client lifecycles dispatcher

* misc(v2): remove testing files
2019-06-08 22:35:14 -07:00
Endi
1aa0ea1152 fix(v2): handle case when <code> children is not a string (#1584) 2019-06-07 08:54:26 -07:00