Commit graph

1187 commits

Author SHA1 Message Date
endiliey
dd5757ce65 chore: prettier & remove unused 2018-07-30 15:50:48 +08:00
endiliey
a80399631f refactor: use cache for blogDatas generation 2018-07-30 15:23:56 +08:00
endiliey
f7f063c56e feat: add more koa app for webpack-serve add-on 2018-07-30 15:23:28 +08:00
endiliey
12cded5fa0 refactor: config path 2018-07-30 14:20:03 +08:00
endiliey
7ecd4c9bef feat: prototype blog post generation in dev server 2018-07-30 01:35:35 +08:00
endiliey
8cbd23d690 chore: remove unused package 2018-07-29 19:03:57 +08:00
endiliey
a4c8507a25 chore: add MIT license 2018-07-29 19:02:54 +08:00
endiliey
8b381777bc chore: remove unused variables 2018-07-29 14:54:34 +08:00
endiliey
b1e785b6c3 feat: prototype building dynamic react route 2018-07-29 02:04:42 +08:00
endiliey
e8e1d5e097 chore: prettier & eslint 2018-07-29 01:22:19 +08:00
endiliey
56dfec19ea feat(webpack): add better log output 2018-07-29 01:07:08 +08:00
endiliey
0bbe7fd999 chore: .gitignore & add config for demo 2018-07-29 01:06:25 +08:00
endiliey
333574efe6 feat: prototype dev server 2018-07-28 20:25:38 +08:00
endiliey
2ab412e563 feat: add simple webpack config 2018-07-28 20:24:09 +08:00
endiliey
7116374adf chore(loader): prettier & eslint 2018-07-28 18:48:37 +08:00
endiliey
d2e12a8e61 feat: add blog loader 2018-07-28 18:04:56 +08:00
endiliey
94c45e36cb feat: add siteConfig loader 2018-07-28 16:06:07 +08:00
Endilie Yacop Sucipto
a6db22b6ff
support 'text' language for no syntax highlighting (#875) 2018-07-28 00:55:27 +07:00
endiliey
06faff3474 setup infra 2018-07-27 17:40:37 +08:00
endiliey
d6ecead327 first commit 2018-07-27 16:03:35 +08:00
John Reese
75538395be Fix table of contents documentation typo (#873) 2018-07-27 11:07:56 +07:00
Drew Ballance
0c09cc01cb Correct Prism CSS class for code blocks (#870)
* Correct Prism CSS class for code blocks

* remove prism css theme that conflicts hljs theme
2018-07-25 13:00:17 +07:00
Endilie Yacop Sucipto
afec4bd47c
Refactor(server): share logic between server.js & generate.js (#856)
* nits too many comments

* Refactor to blog.getPages

* Refactor to getPost, fileToUrl, urlToFile

* Refactor redirectcomponent generation for docs

* nits & fix typo

* Refactor to blog.getMetadata

* Add test for getMetadata, fileToSUrl and urlToSource

* use includes() and add 'markup' naming for function
2018-07-24 13:37:52 +07:00
machiko
bbfb4b09cb Add Reaction Commerce to users (#869)
* add reaction commerce to users

* add reaction-commerce.svg

* Rename reaction-commerce.svg to img/users/reaction-commerce.svg

* Rename img/users/reaction-commerce.svg to website/static/img/users/reaction-commerce.svg
2018-07-23 17:32:21 -07:00
Sashank Thupukari
d3417b3bf2 Add autoprefixing to CSS pipeline (#867)
Add [autoprefixer](https://github.com/postcss/autoprefixer) as a final build step in the CSS pipeline.
2018-07-22 00:05:13 -07:00
Endilie Yacop Sucipto
d42ecb943f
Don't replace static assets linking in fenced code blocks (#864)
* Don't replace any relative links to static assets in a fenced code block

* revert unintended docs change

* improve regex

* remove test file :sob

* stronger regex test for replace assets

* super simplify solution
2018-07-21 20:54:45 +07:00
Endilie Yacop Sucipto
53993f1ba6 More attractive README introduction (#866)
* Better readme :)

* Update README.md
2018-07-20 11:13:02 -07:00
Fabrizio Ferri-Benedetti
a60fe1c052 Improve baseUrl documentation with an example (#863)
* Update with GH Enterprise instructions for baseUrl

* Update api-site-config.md

* simplify wordings
2018-07-20 22:33:27 +07:00
Steve Hook
22f3a85a49 add documentation regarding usage of nested docs + git ignore .idea (#860)
* add documentation regarding usage of nested docs + add .idea in .gitignore

* Remove 1.3.3, move to navigation & simplify wording

* add documentation for docusaurus >= v1.2.0 a well
2018-07-19 16:07:32 +07:00
Endilie Yacop Sucipto
aa1f82649c
Search correct language and version for Docusaurus (#859) 2018-07-18 17:39:04 +07:00
Endilie Yacop Sucipto
9f718a5097 Refactor + add more tests (Part 2) (#854)
* Refactor doc in server.js & generate.js

* Refactor finding metadata with find() & avoid param reassign

* Refactor replacing markdown link to html + add test

* Minify func to getFile & add test

* use ./ for md link as well

* nits & better test

* better mdToHtmlify

* babel-register on versions & write-translations to transpile ES6 in server/env.js

* better docs test & move out metadata to fixtures

* Update .babelrc
2018-07-16 01:45:23 -07:00
Endilie Yacop Sucipto
03e237abda Fix phrase emphasis not italicized (#850)
* Fix phrase emphasis not italicized

* use it in base css instead:

* i tag as well

* Update main.css
2018-07-14 22:41:34 -07:00
Endilie Yacop Sucipto
defcbcc8ee Refactor + add more tests (Part 1) (#847)
* Refactor mdToHtml out

* Refactor routing + move it to server instead of core

* Refactor & Add more tests for server utils

* Refactor isSeparateCss function from server & generate

* Refactor insertTableOfContents from server & generate + add tests

* undo small nits
2018-07-13 11:31:37 -07:00
Yangshun Tay
a7a214fb3a ESLintify Part 3 (#846)
* ESLintify Part 3

* ESLintify Part 3

* ESLintify Part 3
2018-07-11 18:21:31 +08:00
Yangshun Tay
5ac2cee658
ESLintify Part 2 (#841)
* ESLintify Part 2

* Fix

* Fix tests

* Fix tests

* Fix tests
2018-07-10 21:53:08 -07:00
Yangshun Tay
4267337fb0
Fix CSS tests (#839)
* Fix CSS tests

* Revamp

* -

* fix failing test

* add test for minifyCss with fixtures & snapshot

* remove unintended addition

* simplify the test.css
2018-07-10 10:42:32 -07:00
Endilie Yacop Sucipto
8cd4b4fca6 Fix wrong CSS language prefix for fenced blocks (#842) 2018-07-08 20:17:58 -07:00
endiliey
310cdb496e Fix CircleCI README link 2018-07-09 08:58:06 +08:00
Yangshun Tay
091d86b39e
Update README badges 2018-07-08 12:09:23 -07:00
Yangshun Tay
b5bf53ef40
Add in missing Babel plugins for write-translations 2018-07-08 10:38:28 -07:00
Yangshun Tay
ebb86275d3
Use Babel in write-translations script 2018-07-08 10:26:29 -07:00
Yangshun Tay
c5186898e7
Upgrade CircleCI docker image to Node 8 2018-07-08 09:54:46 -07:00
Yangshun Tay
e8e3f42685
ESLintify Part 1 (#837)
* ESLint-ify

* Allow empty try/catch

* Escape regexp
2018-07-08 09:13:18 -07:00
Yangshun Tay
128dbfca0a Tidy up ESLint usage (#836)
* Use Airbnb ESLint

* Turn off rules

* Add back

* add website to eslint precommit

* Add back

* remove useless escape
2018-07-07 15:25:14 +07:00
Yangshun Tay
936725c94d Bump package.json 🤦‍♂️ 2018-07-06 01:11:13 -07:00
Yangshun Tay
769a23efdc
Publish v1.3.2 (#835) 2018-07-06 01:05:11 -07:00
Yangshun Tay
9f22dfa4fb Standardize issue templates 2018-07-06 01:04:41 -07:00
Endilie Yacop Sucipto
587509ec78 Better issue templates (#833)
* Use github template for new issue

* Update bug.md

* Update feature.md

* Update proposal.md

* Update question.md

* Update CONTRIBUTING.md
2018-07-05 22:55:18 -07:00
Endilie Yacop Sucipto
3566483aa5 Fix wrong sitemap for alternate URL (#828) 2018-07-04 11:13:30 -07:00
Endilie Yacop Sucipto
9c070f020d Publish-gh-pages should display the correct commit that triggers it (#829) 2018-07-04 11:12:41 -07:00