Amila Welihinda
15e6763089
docs(v2): mention about disabling Jekyll when using GitHub pages ( #2340 )
...
* docs(v2): add docs for disabling jekyll when using gh pages
* Change to admonition
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-28 09:51:15 +08:00
Theodore Chu
baed4faa24
docs(v2): guide on upgrading Docusaurus within a project ( #2338 )
...
* Update installation.md
Add information on how to update/upgrade the version of Docusaurus
* Update installation.md
* Update installation.md
* Update installation.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-28 09:46:37 +08:00
Alexey Pyltsyn
68a5cd5df1
fix(v2): make proper path to pages in TS ( #2334 )
2020-02-27 09:59:02 +08:00
Amila Welihinda
843d5d8c48
docs(v2): fix broken 'more syntax' url
2020-02-26 20:15:02 +03:00
Alexey Pyltsyn
aef2456545
feat(v2): add ability to use HTML in footer copyright ( #2327 )
2020-02-26 23:59:59 +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
Zhenchao Cai
b25eb5dd36
docs(v2): move the quotes to remark admonitions ( #2313 )
...
* docs(v2): move the quotes to remark admonitions
* Delete package-lock.json
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-23 18:11:37 +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
Paulus Schoutsen
6a1bc254cc
Make blog plugin config example valid ( #2300 )
...
* Make blog plugin config example valid
* Update using-plugins.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-02-19 20:53:32 +03:00
Yangshun Tay
d974aa9c2a
feat(v2): add ExecutionEnvironment API ( #2296 )
...
* feat(v2): add ExecutionEnvironment API
* remove redundant code
2020-02-19 09:22:14 +08:00
Mohamed Abdel Nasser
e6562859fd
docs(v2): add instructions on Travis CI deployment ( #2289 )
...
* docs: update versioned_docs/deployment with travis-ci
* docs: update docs/deployment with travis-ci
* Transfer update to a new version
* Update node version
* update v-2.0.0-alpha.43 with Travis CI deployment instructions
* Remove updates from v2.0.0-alpha.43
* Update deployment.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-02-19 09:12:04 +08:00
Ondřej Nepožitek
8d804c662c
docs: update windows deploy command ( #2281 )
2020-02-16 21:42:41 +08:00
Elvis Wolcott
0fa080c39c
feat(v2): add remark-admonitions to @docusaurus/preset-classic ( #2224 )
...
* feat(v2): add remark-admonitions
* feat(v2): add admonitions to style guide
* style: cleanup changes
* docs(v2): document how to use admonitions
* docs(v2): use proper package name
* docs(v2): add link to remark-admonitions docs
* style(v2): clean up addAdmonitions
2020-02-08 19:28:47 +08:00
Alexey Pyltsyn
980755214b
feat(v2): allow to specify different logo for dark mode ( #2261 )
...
* feat(v2): allow to specify different logo for dark mode
* Rename darkSrc with srcDark
2020-02-01 21:02:03 +03:00
Wei Gao
e224361cd2
docs(v2): require using JSX flavored style objects in mdx ( #2257 )
...
* docs(v2): require using JSX flavored style objects instead of style attributes in Docusaurus 2
* resolve discussions
2020-02-01 20:27:06 +08:00
Alexey Pyltsyn
daa9a6a044
feat(v2): allow specify custom link for logo ( #2253 )
...
* feat(v2): allow specify custom link for logo
* Improve naming
* Improve naming: link -> href
2020-02-01 00:18:03 +03:00
Alexey Pyltsyn
e27c8d0d0b
docs(v2): collapsible categories in sidebar ( #2251 )
...
* docs(v2): collapsible categories in sidebar
* Update sidebar.md
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-01-31 23:52:20 +03:00
Alexey Pyltsyn
f2137bb872
docs(v2): make correct path to webpack config module
2020-01-18 22:52:14 +03:00
JavaScript Joe
68035cc7e3
docs(v2): update link to available prism themes ( #2218 )
...
* fix: update link to available prism themes
* fix: update link to point to prism themes
2020-01-16 01:00:08 +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
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
Yangshun Tay
26fa885ef6
misc: do not disturb Endi ( #2197 )
2020-01-08 01:17:37 +08:00
Yangshun Tay
428e087eb7
fix(v2): fix reading front matter keywords and image fields ( #2165 )
2019-12-31 21:42:47 +08:00
Yangshun Tay
08ca95af01
docs(v2): dark mode syntax highlighting ( #2153 )
2019-12-29 16:40:17 +08:00
Mattia Astorino
7087425485
docs(v2): update custom webpack configuration snippet ( #2139 )
...
* Update custom webpack configuration snippet
Fix #2097
* Update lifecycle-apis.md
2019-12-29 16:38:50 +08:00
Endi
578815c620
chore(v2): prepare alpha.40 release ( #2146 )
2019-12-25 16:30:29 +07:00
Yangshun Tay
19acc44d81
docs: promote Docusaurus 2 usage ( #2126 )
2019-12-15 17:49:25 +08: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
Endi
9b5266aa7e
docs(v2): fix pages routing inaccurate info ( #2110 )
...
* docs(v2): fix pages routing inaccurate info
* fix CI
2019-12-10 12:47:13 -08:00
Yangshun Tay
d5919fd962
feat(v2): add color generator for primary colors ( #2104 )
2019-12-09 02:10:38 -08:00
Yangshun Tay
2fcb81596b
docs: mention about moving docs directory into website ( #2103 )
2019-12-08 20:35:22 -08:00
Yangshun Tay
55e676cb25
misc: add command to run prettier on docs ( #2102 )
...
* misc: add command to run prettier on docs
* Fix GH issue template
* Fix tests
* Add prettier-docs command to precommit
2019-12-07 21:56:30 -08:00
Endi
bcf39019f7
chore: v2.0.0-alpha.39 changelog & docs ( #2101 )
...
* chore: v2.0.0-alpha.39 changelog & docs
* remove useless
2019-12-07 13:12:04 +07:00
Endi
fb77c1c137
chore: v2.0.0-alpha.38 changelog & docs ( #2094 )
...
* chore: v2.0.0-alpha.38 changelog & docs
* nits
2019-12-06 14:03:24 +07:00
Endi
32c9d07b90
perf(v2): improve dev build time by not overwriting file if possible ( #2089 )
...
* perf(v2): improve sequential build time by not overwriting file if possible
* minor improvement
* docs
2019-12-06 12:17:41 +07:00
Yangshun Tay
4927f764e5
misc(v2): nitpicky formatting
2019-12-04 00:55:52 -08:00
endiliey
0e23e4ce32
docs(v2): fix typo in lifecycle api docs
2019-11-30 15:46:46 +07:00
Endi
97491c5cfb
feat(v2): injectHtmlTags API to inject head and/or body html tags ( #2057 )
...
* wip: define html tag definition
* feat(v2): implement injectHtmlTags api
* remove useless file
* nits
* documentation
* allow string, use prebodyTags and postBodyTags
* typo
* refactor typing
* chore(v2): bump deps
2019-11-30 11:52:26 +07:00
Endi
522dd2d206
docs(v2): quick proofread docs ( #2068 )
2019-11-29 12:26:49 -08:00
Endi
3b060ad171
docs(v2): add manual migration guide for versioning ( #2047 )
...
* docs(v2): add manual migration guide for versioning
* fix typo
* review
2019-11-29 11:48:04 +07:00
endiliey
2f9a368da8
chore: fix typo
2019-11-29 10:41:19 +07:00
endiliey
2856b328a5
chore(v2): fix typo in docs, remove dead/redundant stuff
2019-11-26 16:49:58 +07:00
Endi
91b261af7a
docs(v2): more examples on lifecycle apis, cleanup ( #2051 )
...
* docs(v2): more examples on lifecycle apis, cleanup
* typo
2019-11-25 10:31:57 -08:00
Alexey Pyltsyn
91ef5c67cf
docs(v2): make proper spelling of Stack Overflow ( #2053 )
2019-11-25 16:50:00 +03:00
Wei Gao
2254e08785
docs(v2): Reorganize migration guide ( #2036 )
...
* reorganize migration guide headings
* wip about <AUTOGENERATED_TABLE_OF_CONTENTS>
* add description about AUTOGENERATED_TABLE_OF_CONTENTS
* Update website/docs/migrating-from-v1-to-v2.md
2019-11-25 19:45:22 +07:00
Endi
421f862701
breaking(v2): required nodejs version >=8.9 -> >=8.10 so we can use es2017 ( #2045 )
2019-11-24 21:40:57 -08:00
Endi
160f6f53e0
docs(v2): add documentation on versioning ( #2038 )
...
* docs(v2): add documentation on versioning
* Proofread
* add section on using absolute import
2019-11-24 18:01:48 +07:00
Endi
9862a6821a
feat(v2): allow non sidebar category to be first item of sidebar ( #2032 )
...
* feat(v2): allow non sidebar category to be first item of sidebar
* better error messages
* edit the react component
* Update website/docs/sidebar.md
* nits
* add @babel/plugin-transform-runtime
2019-11-23 20:08:19 -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
9829f56b1e
feat(v2): docs versioning ❄️ 🔥 ( #1983 )
...
* wip: versioning
* wip again
* nits lint
* refactor metadata code so that we can have inobject properties optimization, fix typing
* remove buggy permalink code
* modify versioned docs fixture such that foo/baz only exists in v1.0.0
* refactor metadata.ts so that there is less transformon object
* more refactoring
* reduce test fixtures, refactoring
* refactoring readability
* finish metadata part
* refactor with readdir
* first pass of implementation
* fix mdx laoder
* split generated routes by version for performance & smaller bundle
* test data for demo
* refactor with set
* more tests
* typo
* fix typo
* better temporary ui
* stronger typing & docsVersion command
* add 100% test coverage for docsVersion command
* more test and delete manual docs cut
* cut 2.0.0-alpha.35 docs
* cut alpha.36 instead
* copyright
* delete versioned docs
* stronger test on metadata
* update typo
2019-11-22 16:17:40 +07:00