Commit graph

115 commits

Author SHA1 Message Date
Fienny Angelina
a39677c202 fix: exclude file movements for last updated time (#1023)
* Fix last updated time misleading, only show when file content change
or otherwise when it is first created

Fix #1015

* Fix prettier

* - Simplify regex
- Uses shelljs instead of cross-spawn
- Make logic clearer

* Add test when repositories is moved

* Use shell.exec mock

I initially try to mock the whole shelljs. But it returns error
shell.exec is not a function when i try to provide the mockResolvedValue
I think it is because of the inner code of shelljs who run a forEach to
require each of its method which make it a promise. I tried moving the
jest.mock inside beforeAll and also adding babel-dynamic-import but it did
not solve the problem. In the end, I decided to just mock shelljs.exec since
it is the only function used anyway
2018-10-14 14:09:39 -07:00
Tan Li Hau
287c4872fe throw error when forgot to pass in GIT_USER (#1035) 2018-10-14 12:27:47 -07:00
Yangshun Tay
f22aa221f2
Publish v1.5.0 (#1030)
* v1.5.0

* Add version 1.5.0
2018-10-13 12:17:26 -07:00
Yangshun Tay
76e2d3bf17 v 2018-10-13 12:06:31 -07:00
Kevin Kipp
e880756614 feat: add keyboard shortcut to focus search (#1028)
* feat: add keyboard shortcut to focus search

* refactor: use const instead of let

* refactor: check target and bail if not body
2018-10-11 22:50:12 -07:00
Yangshun Tay
fe500dea82
fix: change subcategory format (#1026)
* fix: change subcategory format

* Fix sidebars

* Refactor

* Fix implementation

* Change format
2018-10-10 08:33:20 -07:00
Will Brock
954456088c feat: sub-categories in sidebar.json (#892)
* Add ability to specify sub categories in sidebar.json

* move v1 files to correct place

* refactor implementation

* refactor naming for implementation clarity
2018-10-08 16:09:29 +08:00
Erik Sultanaliev
aae5c4dc85 fix: highlightjs custom highlighting function(#1016)
* Added line for syntax definition #960

* chore: nits & fix for v2 as well
2018-10-05 15:59:24 +08:00
Joel Marcey
41aaed64a7 Add Skip to users (#1018)
* Add Skip to users

* Update users.js

* Update users.js
2018-10-04 19:55:55 -07:00
Fienny Angelina
0f8535293e Upgrade to babel 7 for v1 (#995)
* Upgrade babel 7
Use custom transform for jest to handle docs test since there is
path change in there

* change all version of babel dependency

* - add silent to yarn build
- add babel/types to expose  method used in translate-plugin
2018-09-30 13:32:12 -07:00
Endilie Yacop Sucipto
7d4d9fe961
chore: move v1 crowdin yaml to right place (#993) 2018-09-28 18:52:29 +08:00
Alkshendra Maurya
d2dd047866 style: UI improvements to searchbar (#989)
* Clean up responsive search overrides

* Add responsive improvements to searchbar fixes #988, fixes #385
2018-09-28 15:08:37 +08:00
Marvin Heilemann
8568a96e65 Added option for client to include there own remarkable config (#974)
* Added option for client to include there own remarkable config

* Better use merge here

* Added lodash ...

* Change use of lodash to deepmerge and added description to api site

* markdownConfig -> markdownOptions

* Update api-site-config.md

* remove 1.4 docs change

 since it is unrelated (the feature will only be available in next release)

* Run prettier
2018-09-20 15:00:59 +08:00
Yangshun Tay
7931be9c71
Update CI for v1 (#968)
* Update CI for new repository structure

* Rename tests

* Fix workflow

* Add Prettier
2018-09-19 12:09:06 +08:00
Yangshun Tay
f2927a9fc4
Move Docusaurus 1 files into directory (#966)
* Move Docusaurus 1 into v1 directory

* Update Circle CI commands for new v1 dir

* Remove OC

* Fix tests
2018-09-18 00:58:07 +08:00