Commit graph

1202 commits

Author SHA1 Message Date
Yangshun Tay
db9e07886c chore(v2): fix copyright header again 2018-10-31 10:49:12 -07:00
Hugues Tennier
e788dc4122 fix: previous / next page buttons label (#1079) 2018-10-31 09:47:55 +08:00
endiliey
62b5895ef8 style(v2): better loading screen 2018-10-30 23:17:32 +08:00
Yangshun Tay
6cec7ce982 feat(v2): render Markdown on server-side instead (#1077)
* feat(v2): render Markdown on server-side instead

* move to folder
2018-10-30 22:45:07 +08:00
Yangshun Tay
d479f42ff5 chore(v2): add copyright header to Navbar 2018-10-29 13:40:24 -07:00
Endilie Yacop Sucipto
85336649d3
feat(v2): headerlinks (#1074)
* feat(v2): headerlinks

* fix test

* nits

* remove tictactoe:

* headerIcon

* nits

* remove lang dropdown

* fix failing test

* search box

* algolia search

* use babel-eslint to resolve dynamic import

* nits

* favicon and title

* Update .eslintignore
2018-10-28 16:32:19 +08:00
Yangshun Tay
d4458b394c
chore(v2): lint website dir (#1073)
* chore(v2): lint website dir

* chore(v2): lint website dir

* fix CircleCI config
2018-10-27 12:01:10 -07:00
Yangshun Tay
40f620047a refactor(v2): use React hooks! (#1072) 2018-10-27 15:06:05 +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
c7336462ec
feat(v2): support non-css modules when loading styles (#1069) 2018-10-25 21:43:31 -07:00
Yangshun Tay
13b23edd12
chore(v1): add Facebook copyright headers (#1068) 2018-10-25 17:30:38 -07:00
Yangshun Tay
c9e29c86a5
chore(v2): add Facebook copyright headers (#1067) 2018-10-25 17:03:19 -07:00
Endilie Yacop Sucipto
fd780f19a2
feat(v2): generate sitemap (#1065)
* feat(v2): generate sitemap

* cannot snapshot sitemap because xml generated in different order
2018-10-25 21:47:13 +08: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
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