Commit graph

32 commits

Author SHA1 Message Date
Hugues Tennier
e788dc4122 fix: previous / next page buttons label (#1079) 2018-10-31 09:47:55 +08:00
Endilie Yacop Sucipto
f84332d0a0
feat(v2): webpack prefetch for better UX (#1071)
* feat(v2): webpack prefetch for better UX

* test snapshot update

* nits
2018-10-27 13:48:10 +08:00
Blaine Bublitz
bbf355fdc7 feat: support reference-style linking in documents (#1048)
feat: support reference-style linking in documents
2018-10-27 12:33:44 +08:00
Yangshun Tay
7488de266f chore: add final copyright headers 2018-10-26 18:27:37 -07:00
Yangshun Tay
13b23edd12
chore(v1): add Facebook copyright headers (#1068) 2018-10-25 17:30:38 -07:00
claneo
8663a63e7d fix: path/url joining bug on windows (#1064)
* fix error while using multiple level directory

* fix error while using non-english file name
2018-10-25 14:25:10 +08:00
Hieu Nguyen (Jack)
2cac0064bd docs: add Vasern to users (#1061)
* Added Vasern

* Make Vasern not pinned
2018-10-24 01:26:53 -04:00
endiliey
8835ec0d60 test: subdirectory doc file linking 2018-10-24 11:26:38 +08:00
sinodko
06e243a77f fix: render proper HTML instead of raw markdown in og:description(#1054) 2018-10-24 09:07:46 +08:00
Yangshun Tay
e02e0a9b92
docs: add Create React App as a user (#1050) 2018-10-19 22:58:34 -07:00
Fienny Angelina
8cf9afe4ac feat: add last contributor to each document (#980)
* add contributor list to each document

* handle case where there is no github repo

* Move to v1

* Revert "handle case where there is no github repo"

This reverts commit a76a887901.

* Revert "add contributor list to each document"

This reverts commit c0cc79f995.

* Add last updated by field

* -Include enableUpdateBy in the config
- Rename css class to be more general

* Fix lint

* Refactor :
- s/getGitlastupdated/getGitLastUpdatedTime
- refactor part in getGitLastUpdated[Time|By] that overlaps
- remove getAuthorInformation

* -Modify the display logic
-Refactor the utils, combine lastupdatedtime and lastupdatedby
-Replace the test

* Modify docs based on the display change

* Update docs for url and baseurl

For more clarity and to make relationship more clear

* Update support for Web App Manifest (#1046)

* misc: update nits

* misc: update nits
2018-10-18 00:59:16 -07:00
Tirth Bodawala
4a7e1ea189 Update support for Web App Manifest (#1046) 2018-10-17 10:21:10 -07:00
Anna Spysz
31dd833b6c fix: users page edit link (#1045)
* Updated with correct link

The previous link led to a 404 page.

* Update users.js
2018-10-16 10:31:09 -07:00
Anna Spysz
7df7c6fa60 docs: add Stackery logo and site (#1042) 2018-10-16 10:28:03 -07:00
Yangshun Tay
b577f60d4a
fix: improve last updated time feature (#1036) 2018-10-14 15:05:00 -07:00
Yangshun Tay
ff11d17625
chore: finer-grain per-project Prettier commands (#1032)
* chore: reorganize prettier commands

* Add back prettier:diff
2018-10-14 14:41:57 -07:00
Yangshun Tay
101a1a74c7
chore: add README to v1 (#1031) 2018-10-14 14:41:19 -07:00
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