Commit graph

157 commits

Author SHA1 Message Date
Hongarc
594ede3bdc chore: remove @types/chalk and @types/globby (#1540)
* chore: remove `@types/chalk` and `@types/globby`

* chore: update `chalk` and `globby`
2019-06-02 19:04:48 +07:00
Yangshun Tay
68ca885f5b
v1.11.0 (#1534) 2019-05-30 23:07:38 -07:00
Tushar Sharma
0c8bf0fc5e style: fixes formatting issues in main.css (#1532) 2019-05-30 11:54:14 -07:00
Tushar Sharma
9514593d5f feat: highlight nav item in onPageNav ToC (#1524)
* feat: highlight nav item in onPageNav ToC

* fix: use es5 in browser scripts, update documentation, css refactoring

* fix: removes smooth scroll

* fix: removes unnecessary codeblock , undo css formatting issues, modify scrip load url

* fix: update scrollspy script comments
2019-05-30 08:54:47 -07:00
endiliey
b267d8136d v2.0.0-alpha.18 2019-05-30 09:59:50 +08:00
endiliey
7da4e3ea2f v2.0.0-alpha.17 2019-05-29 20:48:19 +08:00
Tushar Sharma
bff9a53095 fix: enable live reloading title of doc (#1507)
* fix: enable live reloading title of doc

* fix: removing unnecessary reload statements

* fix: only title change should trigger a live reload

* fix: adding more properties that triggers a live reload

* fix: refactoring
2019-05-27 14:48:01 +07:00
Yangshun Tay
ef1af0a5be
fix: don't collapse the blog navigation even if collapsible is true (#1519)
* fix: don't collapse the blog navigation even if collapsible is true

* fix: read docsSideNavCollapsible from props
2019-05-26 20:37:58 -07:00
Christian Oliff
b1698e2195 misc: https link to stackoverflow.com in v1 example (#1512) 2019-05-23 09:20:17 -07:00
Endi
166816af40
fix: reload siteConfig.js automatically when locally served page is refreshed (#1509)
* fix: livereload siteConfig

* fix test

* nits
2019-05-22 22:31:51 +07:00
Endi
32c5bfe6a4
v1.10.0 (#1498) 2019-05-21 17:22:36 +07:00
Endi
32c582ded1
chore: upgrade shelljs version (#1497) 2019-05-21 15:32:56 +07:00
Cole
0568ad4992 feat: allow different host through CLI flag (#1475)
* feat(core): use 0.0.0.0 for livereload address

* test(core): update server tests

* feat(cli): add host by command line flag

* test: revert test changes

* fix(core): update server to use custom host if supplied

* refactor: nits
2019-05-20 23:31:41 +07:00
Hongarc
382b88bb49 fix: mobile navigation should show deepest breadcrumb instead of outermost (#1493) 2019-05-19 16:13:39 +07:00
Hongarc
89582c7b7a refactor: better regex & path parsing for metadata (#1492)
* Don't need using `toString` after `path.basename`

* Use `parse` instead of `basename+extname`
2019-05-19 15:54:29 +07:00
Hongarc
9a18b7430a refactor: simplify blog url replacement regex (#1491) 2019-05-19 15:20:49 +07:00
Sakti Kr Chourasia
c052b6acd8 fix: content displayed on bottom of mobile viewport when TOC is active (#1489)
* Remove TOC margin bottom for mobile
2019-05-18 14:37:18 +07:00
Hongarc
1587810e8f fix: wrong url in next/prev button in some cases (#1488) 2019-05-18 13:29:13 +07:00
Sakti Kr Chourasia
084a49819f fix: h3 topics with Markdown formatting causes a glitch on mobile (#1467)
* fixed h3 topics with Markdown formatting causes a glitch on mobile

* replaced currenttarget to headings for if check

* use var instead of es6
2019-05-18 12:57:57 +07:00
Endi
6b75bb3270
fix: missing cli commands (#1478)
* fix: missing cli commands

* centralize
2019-05-17 14:27:53 +07:00
endiliey
e873c14918 v2.0.0-alpha.16 2019-05-16 16:01:52 +08:00
endiliey
86a1c3a1b1 v2.0.0-alpha.15 2019-05-15 21:56:12 +08:00
endiliey
8055d59131 v2.0.0-alpha.14 2019-05-15 19:37:46 +08:00
Endi
f84abfe2d1
fix: right TOC should not strip special chars (#1458)
* fix: right TOC should not strip special chars

* nits
2019-05-14 23:55:35 +07:00
Endi
c2ebde997a
refactor(v2): add flowtype + refactor test (#1443)
* chore(v2): add flow setup

* nits

* fix

* add flow-typed

* ignore compiled library

* fix error

* fix typing

* fix module name mapper

* setup for @docusaurus/core

* dont try remove type without @flow

* fix can't find @docusaurus/utils

* fix test

* remove obscure relative paths

* more refactoring

* add typing for server/load/theme.js

* no need to ship .flow source
2019-05-08 23:03:52 +07:00
Yangshun Tay
64fdafbcea fix: replace use of deepmerge with _.merge (#1430) 2019-05-02 22:00:28 +07:00
Zach Badgett
0813920349 refactor: refactor code tab split (#1369)
* refactor: refactor code tab split

* Add split tab unit test

* Fix code tab list bug
2019-05-01 20:57:13 -07:00
Yangshun Tay
35e6648169
v1.9.0 (#1417)
* v1.9.0

* misc: add links to PR
2019-04-29 15:31:34 -07:00
Yangshun Tay
2fe73edc22
docs: add versioning to tutorial (#1413)
* docs: add versioning to tutorial

* docs: address Endilie's comments
2019-04-29 09:51:42 -07:00
Nisheal John
65bb8ef978 fix: make body background white (#1409)
* Adding background-color as white

* Removed background-color from body of markswatch theme
2019-04-28 20:32:16 -07:00
Roland Balogh
195e934858 feat: change icon for navToggle (#1394) 2019-04-26 09:50:41 -07:00
endiliey
7339bfea35 v2.0.0-alpha.11 2019-04-25 23:02:15 +08:00
Nathaniel Tucker
c1026516e1 fix: prism syntax highlight .tsx properly (#1391) 2019-04-25 20:42:10 +07:00
Yangshun Tay
6a853ff7d7 v1.8.3 2019-04-23 22:06:37 -07:00
Yangshun Tay
33a341e8c0 v2.0.0-alpha.10 2019-04-23 22:03:49 -07:00
Yangshun Tay
c50463fed4 v2.0.0-alpha.9 2019-04-23 22:02:29 -07:00
Yangshun Tay
f8c2f472c8 v2.0.0-alpha.8 2019-04-23 21:49:43 -07:00
Yangshun Tay
82ded54b1a misc: fixes 2019-04-23 21:23:18 -07:00
Yangshun Tay
21793a833d
feat: docusaurus-init without example directories (#1378)
* feat: do not copy into examples folder

* Update documentation

* feat: use Undraw illustrations for initialized landing page (#1379)
2019-04-21 22:28:35 -07:00
Yangshun Tay
0ac2441d23 chore: v1.8.1 2019-04-15 11:33:21 -07:00
murray-b
94a0da33c3 feat: random color scheme in siteConfig (#1365) 2019-04-15 09:04:38 -07:00
endiliey
d097f73285 v2.0.0-alpha.6 2019-04-14 01:07:24 +08:00
Yangshun Tay
b4bfa084f1 v2.0.0-alpha.5 2019-04-10 13:26:45 -07:00
Yangshun Tay
2fe7d4c3b8 v2.0.0-alpha.4 2019-04-10 13:19:10 -07:00
Yangshun Tay
3ce215eb20 v2.0.0-alpha.3 2019-04-10 13:17:26 -07:00
Yangshun Tay
d80e0e5d83 v2.0.0-alpha.2 2019-04-10 13:05:24 -07:00
endiliey
a4fc63fbff v2.0.0-alpha.1 2019-04-11 00:56:40 +08:00
endiliey
2a37bbf84a v2.0.0-alpha.0 2019-04-10 22:35:17 +08:00
Julia
b6aa6dac89 fix: make scrollbar visible in inner page navigation (#1349)
* fix: make scrollbar visible in inner page navigation

* fix: make scrollbar visible in inner page navigation

* undo

* fix: make scrollbar visible in inner page navigation

* fix: make scrollbar visible in inner page navigation
2019-04-09 09:17:02 -07:00
Endilie Yacop Sucipto
bf6074c4c2 v1.8.0 (#1324)
* v1.8.0

* typo
2019-03-30 08:00:02 -07:00