Commit graph

81 commits

Author SHA1 Message Date
endiliey
1e7f45d90a docs(v2): update outdated migration guide 2019-10-21 12:32:17 +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
a690d34af0
feat(v1): allow specifying meta desc in front matter (#1859)
* feat(v1): allow specifying meta desc in front matter

* misc(v2): sync with v1
2019-10-20 11:17:10 -07:00
bravo-kernel
5bd6284f18 docs(v2): clarify that front matter 'description' is used as a meta tag (#1862) 2019-10-20 10:49:28 -07:00
bravo-kernel
9fb9674862 docs(v2): describe adding a syntax highlighting language (#1858) 2019-10-20 16:54:59 +07:00
Alexey Pyltsyn
e408d72d26 feat(v2): add ability disable to open page in browser when start command (#1856)
* feat(v2): add ability disable to open page in browser when start command

* Replace disable-open-browser with no-open

* Fixes
2019-10-19 11:17:34 +07:00
Endi
d96b5f99b9 fix(v2): swizzle should receive correct load context (#1844)
* fix(v2): swizzle should receive correct load context

* new prettier version

* niits
2019-10-16 08:56:09 -07:00
Thakur Karthik
b82e211546 docs(v2): update sidebar migration from v1 to v2 guide (#1845)
* update docs for sidebar.json in migration from v1 to v2

This change is regarding an issue opened at here https://github.com/facebook/docusaurus/issues/1841

* removed duplicates in migration doc

* Update migrating-from-v1-to-v2.md
2019-10-16 16:26:58 +07:00
Endi
b1f6951fbb
feat(v2): allow plugin to extendCli (#1843)
* feat(v2): allow plugin to extendCli

* rename to externalCommand
2019-10-16 13:16:26 +07:00
Endi
46e8e03be0
refactor(v2): fix and improve typing (#1842) 2019-10-15 20:30:10 +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
7f3146a902 chore(v2): changelog and docs nits 2019-10-14 18:12:08 +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
Yangshun Tay
f109ac5777 docs(v2): misc migration doc update 2019-10-12 14:38:15 -07:00
Yangshun Tay
1d968be5bb docs(v2): misc update 2019-10-12 14:28:21 -07:00
Yangshun Tay
37bccf5668 misc(v2): reorder migration guide 2019-10-12 14:07:59 -07:00
Yangshun Tay
510a44e824 misc(v2): docs updates 2019-10-12 12:02:16 -07:00
Yangshun Tay
9f6460fde0 misc: facebook/Docusaurus -> facebook/docusaurus 2019-10-12 01:11:34 -07:00
endiliey
2cb4a8695f chore(v2): changelog and docs nits 2019-10-12 11:50:10 +07:00
Endi
ffd927d1d0
feat(v2): add scripts and stylesheets field to config (#1831)
* Feat(v2): add  scripts and stylesheets field to config

* Update docusaurus.config.js.md

* review
2019-10-12 10:54:07 +08: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
e3f25b2a45
docs(v2): improve static assets docs (#1822)
* docs(v2): improve static assets docs

* docs(v2): improve static assets docs
2019-10-10 19:30:58 -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
Wei Gao
4ce1b582cf docs(v2): document plugins and lifecycle APIs (#1724)
* wip docs(v2): lifecycle apis

* docs(v2): edit advanced plugins

* wip plugins & lifecycle api docs

* wip plugins doc

* Update advanced-plugins.md

* misc: update plugins docs

* misc: remove excessive line
2019-10-08 00:23:03 -07:00
Endi
95f0552bad feat(v2): allow infinitely nested sidebar (#1812)
* feat(v2): allow infinitely nested sidebar

* Update markdown-features.mdx

* Update sidebar.md

* Update sidebar.md
2019-10-07 11:52:43 -07:00
Endi
f671e6b437
docs(v2): simple migration guide from v1-v2 (#1809)
* docs(v2): simple migration guide from v1-v2

* fix wrong info

* add gitignore section

* proofread migration guide

* typo

* publish dir

* proofread
2019-10-06 09:29:47 +07:00
Dattatreya Tripathy
a404732c30 docs(v2): blog initial draft (#1786)
* docs(v2): contributing for v2 #1640

* deleted blog.md

* docs(v2): contributing for v2 (#1640)

* docs(v2): blog (#1640)

* Update blog.md
2019-10-05 12:23:21 -07:00
endiliey
7d5920b30c docs(v2): fix outdated/ wrong info 2019-10-05 15:39:22 +07:00
endiliey
9806b44a6d chore: fix expired discord invite link 2019-09-25 17:05:54 +07:00
Endi
d6d113b1df
docs(v2): search - algolia and custom (#1734)
* docs(v2): search - algolia and custom

* revisions
2019-08-02 11:11:32 +07:00
Wei Gao
2ebfc94ccb chore(v2): typos (#1726) 2019-07-29 19:13:59 -07:00
Wei Gao
4344b1a87d
docs(v2): deploy to netlify (#1719) 2019-07-28 16:48:24 +08: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
Wei Gao
162bfc43f8 docs(v2): contributing for v2 (#1700)
* docs(v2): contributing for v2

* remove link to docs
2019-07-25 16:23:01 +07:00
Endi
1c59b5bc1c
chore(v2): upgrade deps and add missing docs on docusaurus config (#1693)
* chore(v2): upgrade deps and add missing docs on docusaurus config

* review
2019-07-23 23:06:15 +07:00
Wei Gao
f2864e0a91
docs(v2): analytics (#1678)
* docs(v2): analytics

* docs(v2): rework analytics docs

* fix broken link
2019-07-23 14:31:59 +08:00
Yangshun Tay
a684806a0f fix(v2): do not reveal environment file path (#1692)
* fix(v2): do not reveal environment file path

* changelog

* fix broken markdown linking
2019-07-23 13:12:21 +07:00
Leo Lamprecht
f1a504e813 docs: suggest ZEIT Now for quick deployment of 2.0 (#1691)
* Suggest quick deployments for Docusaurus 2.0

* Sub heading

* Sub heading

* Sub heading

* Sub heading

* Update getting-started-publishing.md

* Update getting-started-publishing.md

* Update getting-started-publishing.md

* Update getting-started-publishing.md

* Update deployment.md

* Added to auto-deploy section

* Added to auto-deploy section

* Added to auto-deploy section

* Added to auto-deploy section

* Mention Git integration

* Update deployment.md

* Update deployment.md
2019-07-22 13:55:00 -07:00
Wei Gao
2a1eb365fd
docs(v2): SEO (#1677)
* docs(v2): SEO

* docs(v2): add section on customized SEO

* remove unnecessary comment

* docs(v2): separate SEO doc and fix typos
2019-07-21 00:03:05 +08:00
Endi
2d6aaea069 feat(v2): allow custom syntax highlighting theme (#1674) 2019-07-18 11:19:00 -07:00
Endi
0daed4abec feat(v2): optimize dev by omiting production only plugins (#1673) 2019-07-18 11:18:03 -07:00
Wei Gao
40cf5dcc56 docs(v2): subcategories (#1670)
* docs(v2): subcategories

* fix a typo and move call for pr to a comment till new side bar is implemented
2019-07-17 23:46:54 -07:00
endiliey
ea19b35e90 docs(v2): better install docs 2019-07-14 17:58:25 +07:00
endiliey
568d9fd7dd chore(v2): update changelog 2019-07-14 17:32:48 +07:00
Yangshun Tay
c021367a18
docs(v2): proofread docs for alpha.20 (#1658)
* docs(v2): proofread docs for alpha.20

* docs(v2): update creating pages doc

* docs(v2): further updates to creating pages doc

* chore(v2): update CHANGELOG
2019-07-13 19:21:39 -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
Anurag Goel
ee2050d612 docs: add Render hosting guide (#1615)
* Add Render deployment guide

* Add guide for Docusaurus 2

* Update guide for v2
2019-07-12 09:58:23 -07: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