* 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
* 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
* 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
* 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
* without having having to worry about site design.
Let me know if double having is intentional
* distinguish case of no translation and en lang
* prettier recommends
* distinguish case of no translation and en lang
* prettier recommends
* merge with latest origin/master changes
* typo
* link with language fixes
* do not show language dropdown if only one enabled
* check translation outside of LanguageDropDown.render
* without having having to worry about site design.
Let me know if double having is intentional
* distinguish case of no translation and en lang
* prettier recommends
* distinguish case of no translation and en lang
* prettier recommends
* merge with latest origin/master changes
* typo
* Add Prettier formatting to source files and example files, and check that Prettier formatting is maintained on PRs
* Remove trailing-comma as we are using Node 6 on Circle
* Use latest Node 6 LTS version in Circle
* Remove unused test
e.g.,
The default is
`docs/*.md`
This allows
`docs/somedir/*.md`
or
`docs/somedir/anotherdir/*.md`
Notes:
- All URLs are still /docs/*.html (i.e. the subpath does not get preserved in the link).
- Files in `translated_docs`, if any, will still only be one level
- This should not affect translations or versioning