Commit graph

1187 commits

Author SHA1 Message Date
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
Endilie Yacop Sucipto
12fd204840
feat(v2): implement blog (#1062)
* feat(v2): implement blog

* expect flat blog structure

* \n

* blogpage can import many posts
2018-10-25 14:23:29 +08:00
Sviatoslav
a2d3f26722 feat(v2): support external links and linking to docs from other sidebars (#1052)
* feat(sidebar): support external links and linking to docs from other sidebars

* Update styles.css
2018-10-25 00:01:39 -04:00
aenuros
edde297504 docs: how to add "Copy" button to code blocks (#1047)
* Update guides-custom-pages.md

Guide on how to add "Copy" to clipboard buttons on code blocks in Docusaurus.

* Update guides-custom-pages.md

Changed wall of text to be a link to a gist describing the code you need to add to add copy clipboard

* Add to markdown instead

* Update guides-custom-pages.md
2018-10-24 01:52:55 -04: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
Endilie Yacop Sucipto
3e901f8706 feat(v2): live reload sidebars.json (#1058) 2018-10-23 07:31:30 -04:00
Endilie Yacop Sucipto
d8e5f315f1 fix(v2): prioritize node_modules resolve (#1057) 2018-10-23 07:15:57 -04:00
Endilie Yacop Sucipto
5d60739f7c fix(v2): map loaded modules to bundles (#1056)
* fix(v2): map loaded modules to bundles

* nits
2018-10-23 03:53:18 -04:00
Yangshun Tay
2ce6ca5854 feat(v2): style appearance 2018-10-23 03:02:09 -04:00
Yangshun Tay
58d60b5650 docs(v2): point to shared docs 2018-10-22 21:17:30 -04:00
Yangshun Tay
ca7c3cebc1
docs: remove extra comma in site creation steps 2018-10-22 17:45:34 -04:00
Yangshun Tay
11615695d1 feat(v2): implement landing page 2018-10-22 03:03:31 -04:00
M4rk9696
d1ced5ca13 docs: reword publish to GitHub Pages documentation (#1049)
* doc: Updating Using GitHub Pages Documentation

* docs: Rewording deploying to github pages

* docs: Review changes

* Update getting-started-publishing.md
2018-10-20 21:15:06 -07: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
Joel Marcey
a39d2b0280
Update docs for url and baseurl
For more clarity and to make relationship more clear
2018-10-17 10:20:35 -07:00
Yangshun Tay
ba96992225
feat(v2): style navbar (#1044) 2018-10-16 10:31:28 -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
6b4ec3039d feat(v2): fix sidebar item padding 2018-10-15 23:09:58 -07:00
Yangshun Tay
e0d96a4b38 feat(v2): style up sidebar 2018-10-15 23:04:06 -07:00
Maximilian Goisser
0e78eff1a7 docs: fix link to Skiplang in Changelog (#1041) 2018-10-15 14:59:01 -07:00
Alex Driedger
a28ac3bf93 docs: update siteConfig documentation for publishing with GitHub Pages (#1038)
* Updated Publishing with GitHub Pages

Updated docs to resolve #1029

* Update getting-started-publishing.md
2018-10-15 10:18:22 -07:00
Vikram Rangaraj
1c333ee22a chore(v2): revert back to babel-plugin-dynamic-import-node (#1037) 2018-10-14 15:22:06 -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
Yangshun Tay
bc7be697ad
feat(v2): skin paginator component (#1033) 2018-10-14 12:29:22 -07:00
Tan Li Hau
1bc1762b02 docs: document process.env.BROWSER for start command (#1034)
* docs: document BROWSER

* Update api-commands.md
2018-10-14 12:28:50 -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
Tan Li Hau
1275005321 docs: reorganize siteConfig entry (#436) (#1027) 2018-10-12 09:00:24 -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
Endilie Yacop Sucipto
c277f46a60
chore(v2): temporarily add available urls to footer (#1022)
* chore(v2): temporarily add available urls to footer

* use react-router Link

* nits
2018-10-08 18:10:12 +08:00
Endilie Yacop Sucipto
f62029c30e
feat(v2): enable subcategories (#1021)
* feat(v2): enable subcategories

* nits

* eslint issue https://github.com/prettier/prettier/issues/3734
2018-10-08 17:50:28 +08: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
Fienny Angelina
d052feec40 chore(v2): upgrade to Babel 7 (#1012)
* Upgrade babel in v2 folder

* Use babel-plugin-transform-dynamic-import instead of babel-plugin-dynamic-import-node

* Remove not needed import polyfill by changing the order of import

* Revert "Remove not needed import polyfill by changing the order of import"

This reverts commit 9263aa693a.

* Fix prettier
2018-10-08 14:42:31 +08:00
Yangshun Tay
2e9656917c style(v2): basic sidebar component (#1020) 2018-10-07 16:23:41 +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
Yangshun Tay
bdbbfaee91 style(v2): add static footer component (#1019) 2018-10-05 15:27:37 +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
Yangshun Tay
e3d57d244b
refactor(v2): extract out into standalone components (#1017) 2018-10-04 14:43:36 -07:00
Amy Lam
a364aa531c Fix typo in Getting Started docs (#1013) 2018-10-01 22:41:08 -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