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
Andrew Locke
8d45669f92
Add single-spa to users ( #825 )
2018-07-02 13:08:43 -07:00
Endilie Yacop Sucipto
e619884921
Open browser with correct baseurl ( #819 )
...
* open browser with correct baseurl
* nits
2018-07-01 09:42:52 -07:00
Endilie Yacop Sucipto
60852a2b2e
Fix missing fblike button in blog ( #821 )
...
* fix missing fblike in blog
* add comment
* comment in js instead
* fb-comments too
* comment the right way
2018-07-01 09:42:36 -07:00
Endilie Yacop Sucipto
21dcea2a31
Integrate eslint & precommit to codebase ( #815 )
...
* add eslint, precommit & refactor
* fix exit code 127
* modify contributing.md & add package-lock
* use .eslintrc.js
2018-07-01 12:27:31 +08:00
Cheng Lou
97eaaad744
Fix edit button alignment ( #817 )
2018-06-30 19:41:46 -07:00
Yangshun Tay
3a3ee44389
Publish v.1.3.1 ( #816 )
...
* Publish v.1.3.1
* Add desc
2018-06-30 13:02:28 -07:00
Yangshun Tay
0b10b193a8
Fix newly discovered CSS issues ( #812 )
2018-06-30 00:27:33 -07:00
Endilie Yacop Sucipto
e9eef39760
Fix & refactor server routing + add tests ( #799 )
...
* Fix bad routing regex for sitemap & feed
* add tests for sitemap & feed
* use next middleware function if file nto found
* add pages routing & test
* refactor + add more test for page routing
* extension-less url routing + test
* refactor out requestFile
* add dot routing + test to handle special case like http://localhost:3000/blog/2018/05/27/1.13.0
* exit properly
* add more test for sitemap
* update nits from my phone
2018-06-29 16:15:34 +08:00
Yangshun Tay
e9f290f788
Fix styles for headerTitle ( #811 )
...
* Fix styles for headerTitle
* Update main.css
2018-06-28 00:21:25 +07:00
Endilie Yacop Sucipto
f598e2583f
handle promise error & exit properly ( #809 )
2018-06-27 08:45:08 -07:00
Rhys Bower
c0aa98bd55
Switch Jest URL to jestjs.io ( #807 )
2018-06-26 21:07:58 -07:00
Endilie Yacop Sucipto
418c840ad4
fix wrong sitemap urls ( #801 )
2018-06-26 13:02:46 +07:00
Ng Yik Phang
76870c6a37
Prevent page from scrolling to top when clicking languages button ( #802 )
2018-06-24 22:10:06 -07:00
Yangshun Tay
e4b9b9861b
Show scrollbar only when sidebar is too long ( #800 )
2018-06-25 12:05:21 +07:00
Endilie Yacop Sucipto
66b2033546
Fix bad routing regex for docs & blogs ( #795 )
...
* fix bad routing regex for docs & blogs
* extract to routing.js & add test
* add more test case
* address code review
* prettier
2018-06-24 14:10:32 +07:00
Yangshun Tay
5a8e9a9ff1
Exclude vendor dir from directory tree printing ( #798 )
...
* Exclude vendor dir for directory tree printing
* Upgrade tree-node-cli
* Upgrade tree-node-cli
* Update package-lock.json
2018-06-23 23:47:48 -07:00
Endilie Yacop Sucipto
9ff5328c88
fix algolia version to use the correct version info, not 'current' ( #797 )
2018-06-24 02:01:23 +07:00
Yangshun Tay
c5661b0e1e
Update CHANGELOG.md
2018-06-20 21:15:44 -07:00
Yangshun Tay
82f5727965
Publish v1.3.0 ( #791 )
...
* Publish v1.3.0
* Run version script
* Update CHANGELOG.md
2018-06-20 21:13:58 -07:00
Yangshun Tay
1094dbd352
CSS revamp - Improve typography and overall styling ( #757 )
...
* Improve CSS code
* Fix blog layout
* Fix
* Refactor onPageNav
* More fixes
* Fix docs nav
* Use alternative hack
* Tweak clearfix
2018-06-19 21:46:15 -07:00
Joel Marcey
169a5e6ded
Bump docusaurus-init to 1.0.2 ( #788 )
2018-06-19 07:33:24 -07:00
Endilie Yacop Sucipto
0eb6612b58
add language & version meta for algolia docsearch ( #787 )
2018-06-19 12:30:03 +08:00
Joel Marcey
df42926242
Search correct language for Docusaurus docsearch ( #744 )
...
* Remove duplicate search results
Only search the current version of the docs. Right now there are duplicates because `next` is also searched.
d28b864a59/lib/core/Site.js (L140)
does the replacement
* Add language facet
* fix missing algoliaOptions
* use only language facetfilter
2018-06-18 23:11:45 +08:00
Yangshun Tay
f33d977d1a
Add ml5 as user ( #786 )
2018-06-17 19:11:27 -07:00
Joel Marcey
ca8afb0951
Publish v1.2.1 ( #785 )
2018-06-17 16:00:12 -07:00
Joel Marcey
bbe4b9e0b5
Update local-third-party-project-testing.md
2018-06-17 08:02:22 -07:00
Joel Marcey
0258fae7b7
Update publish.md
2018-06-17 08:00:28 -07:00
Endilie Yacop Sucipto
0f01eace8b
Use absoluteURL instead of relativeURL for next/prev links ( #783 )
...
* Remove trailing slash for docs url
* undo remove trailing slash & use absoluteURL for next/prev links
* use baseUrl instead of hardcoded slash
2018-06-17 11:35:05 +08:00