Commit Graph

390 Commits

Author SHA1 Message Date
Alexey Pyltsyn 175d9c3c8e
feat(v2): support/use React v17 by default (#4218)
* chore(v2): allow React v17 as peer dependency

* minor React 17 changes

* Revert examples

* Possible fix

* Use @docusaurus/react-loadable fork

* add back react-loadable to please eslint/ts/linters, even if it's unused in practice

* missing dependency bump

* move enzyme dependencies to docusaurus v1

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-12 17:04:45 +01:00
Alexey Pyltsyn d22039c200
chore(v2): upgrade dependencies (#4148)
* chore(v2): upgrade dependencies

* Update docs

* Revert `execa`

* Revert sitemap
2021-02-02 14:37:45 +01:00
Reece Dunham 95f81d2a44
refactor(v2): Switch from inquirer to prompts (#4091)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2021-01-27 16:53:43 +01:00
Sébastien Lorber 20b6997ad6
chore(v2): install Crowdin cli through npm package (#4030) 2021-01-12 16:23:25 +01:00
Reece Dunham a406a3c9aa
chore(v2): docusaurus-init: switch from inquirer to prompts (#4012)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2021-01-11 15:33:40 +01:00
Sébastien Lorber c4cbe8ec72
chore(v2): prettier fixes (#4005) 2021-01-06 17:07:34 +01:00
Bartosz Kaszubowski 99e3ee796e
chore(ci): run V1 Build and Migration CLI tests conditionally on CI (#3863)
* chore(ci): run V1 Build and Migration CLI test conditionally on CI

* chore(ci): extend lighthouse timeout to 5 minutes

* chore(ci): attempt to speed up build size check

* chore(ci): use different build command in build size check

* chore(ci): use only one locale in build size report workflow

* chore(ci): fix quotes, move build-script param down
2020-12-02 20:19:28 +01:00
Sébastien Lorber e90749c6f8
fix(v2): to fix the canary release GH workflow (#3852)
* attempt to fix the canary release  GH workflow

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to fix canary-releases.yml

* attempt to make the canary workflow work again

* try to fix canary again

* try to fix canary again

* try to fix canary again
2020-12-02 20:15:12 +01:00
Sébastien Lorber 28a83d73e3
feat(v2): add automated canary releases (#3827)
* attempt to add automated canary releases

* fix canary releases workflow
2020-12-01 11:56:59 +01:00
Sébastien Lorber 3166fab307
feat(v2): core v2 i18n support + Docusaurus site Crowdin integration (#3325)
* docs i18n initial poc

* docs i18n initial poc

* docs i18n initial poc

* docs i18n initial poc

* crowdin-v2 attempt

* fix source

* use crowdin env variable

* try to install crowdin on netlify

* try to install crowdin on netlify

* try to use crowdin jar directly

* try to curl the crowdin jar

* add java version cmd

* try to run crowdin jar in netlify

* fix translatedDocsDirPath

* fix loadContext issue due to site baseUrl not being modified in generted config file

* real validateLocalesFile

* add locale option to deploy command

* better LocalizationFile type

* create util getPluginI18nPath

* better core localization context loading code

* More explicit VersionMetadata type for localized docs folders

* Ability to translate blog posts with Crowdin!

* blog: refactor markdown loader + report broken links + try to get linkify working better

* upgrade crowdin config to upload all docs folder files except source code related files

* try to support translated pages

* make markdown pages translation work

* add write-translations cli command template

* fix site not  reloaded with correct options

* refactor a bit the read/write of @generated/i18n.json file

* Add <Translate> + translate() API + use it on the docusaurus homepage

* watch locale translation dir

* early POC of adding babel parsing for translation extraction

* fs.stat => pathExists

* add install:fast script

* TSC: noUnusedLocals false as it's already checked  by eslint

* POC of extracting translations from source code

* minor typo

* fix extracted key to code

* initial docs extracted translations

* stable plugin translations POC

* add crowdin commands

* quickfix for i18n deployment

* POC  of themeConfig translation

* add ability to have localized site without path prefix

* sidebar typo

* refactor translation system to output multiple translation files

* translate properly  the docs plugin

* improve theme classic translation

* rework translation extractor to handle new Chrome I18n JSON format (include id/description)

* writeTranslations: allow to pass locales cli arg

* fix ThemeConfig TS issues

* fix localizePath errors

* temporary add write-translations to netlify deploy preview

* complete example of french translated folder

* update fr folder

* remove all translations from repo

* minor translation  refactors

* fix all docs-related tests

* fix blog feed tests

* fix last blog tests

* refactor i18n context a bit, extract codeTranslations in an extra generated file

* improve @generated/i18n type

* fix some i18n todos

* minor refactor

* fix logo typing issue after merge

* move i18n.json to siteConfig instead

* try to fix windows CI build

* fix config test

* attempt to fix windows non-posix path

* increase v1 minify css jest timeout due to flaky test

* proper support for localizePath on windows

* remove non-functional install:fast

* docs, fix docsDirPathLocalized

* fix Docs i18n / md linkify issues

* ensure theme-classic swizzling will use "nextjs" sources (transpiled less aggressively, to make them human readable)

* fix some snapshots

* improve themeConfig translation code

* refactor a bit getPluginI18nPath

* readTranslationFileContent => ensure files are valid, fail fast

* fix versions tests

* add extractSourceCodeAstTranslations comments/resource links

* ignore eslint: packages/docusaurus-theme-classic/lib-next/

* fix windows CI with cross-env

* crowdin ignore .DS_Store

* improve writeTranslations + add exhaustive tests for translations.ts

* remove typo

* Wire currentLocale to algolia search

* improve i18n locale error

* Add tests for translationsExtractor.ts

* better code translation extraction regarding statically evaluable code

* fix typo

* fix typo

* improve theme-classic transpilation

* refactor  +  add i18n tests

* typo

* test new utils

* add missing snapshots

* fix snapshot

* blog onBrokenMarkdownLink

* add sidebars tests

* theme-classic index should now use ES modules

* tests for theme-classic translations

* useless comment

* add more translation tests

* simplify/cleanup writeTranslations

* try to fix Netlify fr deployment

* blog: test translated md is used during feed generation

* blog: better i18n tests regarding editUrl + md translation application

* more i18n tests for docs plugin

* more i18n tests for docs plugin

* Add tests for pages i18n

* polish docusaurus build i18n logs
2020-11-26 12:16:46 +01:00
Sébastien Lorber e949f4c52a
chore(v2): remove useless stylelint-copyright peerDependency (#3800) 2020-11-23 16:10:07 +03:00
Bartosz Kaszubowski d9ed20ebcf
chore: match fs-events version across the workspace (#3795) 2020-11-21 18:49:48 +03:00
Alexey Pyltsyn 643a1ffd7e
chore(v2): upgrade ESLint deps (#3767)
* chore(v2): upgrade ESLint deps

* Fix for no-redeclare rule
2020-11-18 17:52:50 +01:00
Alexey Pyltsyn d5c8a0ca79
chore(v2): fix several npm warnings (#3766) 2020-11-17 11:22:51 +01:00
Sébastien Lorber f26d478f2d
fix(v2): codesandbox generated examples should use published init package (#3760)
* Fix codesandbox generated examples to use published init script instead of local one

* Fix codesandbox generated examples to use published init script instead of local one
2020-11-16 17:09:44 +01:00
sammychinedu2ky bb33f54ba8
feat(v2): official CodeSandbox support (#3717)
* feat:added support for codesandbox

* added sandbox config file

* feat:added script to generate template for codesandbox

* added examples:generate script to package.json file

* added failing path to eslintignore

* added script to eslintignore

* added cleaning feature to script

* deleted sandbox script in root

* changed comment in codesandboxscript file

* update codesandboxscript.js + revert bad package.json changes

* eslint should check codesandboxscript

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-11-16 16:20:16 +01:00
Bartosz Kaszubowski 73f151d04c
chore(internal): add yarn deduplicate script, cleanup lock (#3738)
* chore(internal): add yarn deduplicate script, cleanup lock

* add lock cleanup to postinstall, install run and optimize lock again
2020-11-13 14:21:04 +01:00
Bartosz Kaszubowski 5d9b090b9a
fix(internal): fix clear script from the main package.json (#3732) 2020-11-12 19:37:22 +01:00
Alexey Pyltsyn 049634a927
chore(v2): upgrade dependencies (#3727)
* chore(v2): upgrade dependencies

* Update loader-utils

* Update MDX packages

* Update Babel packages

* Various updates
2020-11-12 12:30:14 +01:00
Rhys Arkins 6930e91508
fix: add repository metadata to all packages (#3613)
* fix: add repository metadata to all packages

* empty commit for cla bot

* move validate-package-json.test.ts + add glob devDependency

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-21 15:05:01 +02:00
Sébastien Lorber b27d3529dd
chore(v2): fix/upgrade react types (#3586) 2020-10-14 16:25:38 +02:00
Umair Kamran 10973476ff
fix(v2): Fixes serve cli --port option (#3531)
* fix(v2): Fixes serve cli --port option

* refactor a bit the start/serve cli options management

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-05 15:20:03 +02:00
Sébastien Lorber e6704733e4
fix(v1): v1 deploy preview should be available (#3517)
* v1 deploy preview

* Add /v1-migrated deployment
2020-10-02 14:58:06 +02:00
Henry Vélez cc31567459
feat(v2): new docusaurus clear command (#3446)
* feat: new docusaurus clear command

* Update packages/docusaurus/bin/docusaurus.js

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>

* docs: new docusaurus clear command

* fix doc

* update monorepo clear cmd

* make clear async function wait for deletes to complete + factorize a bit

* prettier fix

* better clear docs

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-09-28 16:33:35 +02:00
Sébastien Lorber 5359d61d9e
fix(v2): allow using classic theme/preset without the docs plugin (#3382)
* deprecated nextVersionLabel option

* useActivePlugin failfast option

* remove deprecated option nextVersionLabel

* routeBasePath: '' should be forbidden

* routeBasePath: '' should be forbidden

* Docs: do not show version badge if there is only 1 version: https://github.com/facebook/docusaurus/issues/3362

* allow sidebars file to not exist: fallback to empty sidebars
https://githu.com/facebook/docusaurus/issues/3366

* Ability to use classic theme/preset while not using docs/pages without trouble.
https://github.com/facebook/docusaurus/issues/3360

* fix netlify redirects

* do not throw if useDocs do not load?

* netlify deploy typo

* try to fix useDocs

* docs(v2): update Deploy to Vercel guide (#3344)

* filter annoying useDocs conditional require warning

* netlify deploy preview homepage

* typo

* try to trigger again CLA bot

Co-authored-by: Sam Ko <sam@vercel.com>
2020-09-01 19:38:11 +02:00
Fanny 8c05aa8e94
feat(v2): bootstrap theme, preset, template, CI previews (#2981)
* fix(v2): doc sidebar

* chore(v2): prettier

* fix(v2): docs navbar path

* fix(v2): fix error about activepath

* chore(v2): prettier

* feat(v2): change active color

* feat(v2): Add bootstrap doc

* docs(v2): Update preset

* doc(v2): finish bootstrap documentation

* chore(v2): run lint

* doc(v2): update hook

* fix theme bootstrap layout (far from perfect)

* Try to fix bootstrap theme and deploy it!

* fix netlify error

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-08-17 20:18:37 +02:00
Sébastien Lorber cf53584abd
chore(v2): fix slow commits due to lint-staged (#3259)
* test

* test

* test

* test
2020-08-11 16:51:32 +02:00
Sébastien Lorber 3b16fb15e9
docs(v2): publish changes after release (#3116) 2020-07-27 12:17:59 +02:00
Sébastien Lorber a0ef8939a1
chore(v2): ability to test the migration cli easily (#3113)
* ability to test the migration cli easily

* add node scripts to help test migration cli (locally + CI)

* add test for frontmatter quotify

* more tests for shouldQuotifyFrontMatter

* typo

* updated yarn lock
2020-07-24 15:07:24 +02:00
Sébastien Lorber 336c3e54da
fix(v2): netlify.toml shouldn't affect v1 site deployment config (#3099)
* netlify.toml shouldn't affect v1 site deployment config

* try to fix netlify setup

* try to fix netlify setup

* try to fix netlify setup
2020-07-23 11:51:28 +02:00
Sébastien Lorber 811c7ae4e9
fix(v2): fix recent baseurl issues (#3093)
* try to fix the baseUrl related issues

* fix some newly detected broken links

* fix baseurl and broken link issues

* try to configure netlify to use baseUrl deployment

* add proper netlify settings?

* add proper netlify settings?

* add proper netlify settings?

* test commit

* try to fix the redirects

* cleanup working conf

* minor redirect fix
2020-07-22 19:55:40 +02:00
Sébastien Lorber 15e73daae7
feat(v2): global data + useGlobalData + docs versions dropdown (#2971)
* doc components initial simplification

* doc components initial simplification

* add docContext test

* Add poc of global data system + use it in the theme

* Revert "doc components initial simplification"

This reverts commit f657b4c4

* revert useless changes

* avoid loosing context on docs switch

* fix docs tests

* fix @generated/globalData ts declaration / es import

* typo

* revert bad commit

* refactor navbar in multiple parts + add navbar item types validation + try to fix remaining merge bugs

* add missing watch mode for plugin debug

* fix docs global data integration, move related hooks to docs plugin + convert to TS

* change versions link label

* fix activeClassName react warning

* improve docs global data system + contextual navbar dropdown

* fix bug preventing the deployment

* refactor the global data system to namespace automatically by plugin name + plugin id

* proper NavbarItem comp

* fix tests

* fix snapshot

* extract theme config schema in separate file + rename navbar links to navbar items

* minor typos

* polish docs components/api

* polish useDocs api surface

* fix the docs version suggestions comp + data

* refactors + add docsClientUtils unit tests

* Add documentation

* typo

* Add check for duplicate plugin ids detection

* multi-instance: createData plugin data should be namespaced by plugin instance id

* remove attempt for multi-instance support
2020-07-21 11:16:08 +02:00
Jeremy Asuncion 9b3da59886
feat(v2): Plugin for Offline/PWA support (#2205)
* implement PWA plugin

* added pwa support for docusaurus website

* moved sw registration to client module

* moved compile function to webpack util

* build sw using webpack and render pwa popup

* implement @theme/PwaReloadPopup

* update website sw to use modules

* updated pwa readme

* fix header lint errors

* apply code formatting

* cache files only for mobile, saveData, or installed pwa

* added comments about clearing registrations

* fixed prettier error

* updated pwa README

* fix README JS

* move /blog => /blog/index.html logic to else branch

* add `alwaysPrecache` option

* updated docusaurus-plugin-pwa version

* added pwa to using-plugins.md

* review fixes

* re-disable restricted-globals to use self in service worker

* useless doc

* Update packages/docusaurus-plugin-pwa/README.md

Co-authored-by: Reece Dunham <me@rdil.rocks>

* Update packages/docusaurus-plugin-pwa/README.md

* update a bit pwa doc + minor refactors

* minor refactors + add workbox debug mode

* env PWA_ prefix

* typo

* minor refactor

* fix file output

* add serve:v2:ssl yarn command

* minor pwa fixes

* typo

* add dynamic import comment in SW

* comment

* let the PWA plugin implement its reload popup on his own

* pwa: add Joi options validation

* pwa plugin should have its own webpack/babel custom setup

* PWA:
- debug logs
- better SW params system
- offline mode activation strategies
- docs

* add pwa install gif

* pwa: popup -> reloadPopup + minor refactors

* fix process.env reading + better debug log

* minor fixes

* minor changes

* minor changes

Co-authored-by: slorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2020-07-08 12:32:41 +02:00
Sébastien Lorber 9265de982b
chore(v2): refactor scripts + add theme-classic watchmode (#2998) 2020-07-01 18:30:44 +02:00
Sam Zhou 5ccd24cc1f
feat(v2): Support swizzling TypeScript components (#2671)
* feat(v2): Support swizzling TypeScript components

* Add tsc --noEmit to tsc script in theme-classic

Now everything can pass the type checker! (although still a lot of any)

* Add tsconfig and types.d.ts to website

Improve developer experience.

As an example, I converted NotFound to tsx

* Apply type annotation suggestions

* Do not fallback to `getThemePath` if getTypeScriptThemePath is undefined

* Fix tsc

* Add module declaration for @theme-original/*

* Move babel cli to root package.json
2020-06-25 16:07:30 +02:00
Sam Zhou 6e43c9bd34
chore(v2): Fix more eslint errors (#2976) 2020-06-21 15:09:00 +08:00
Sébastien Lorber 72884a0c1a
chore(v2): fix eslint TS setup (#2949)
* update eslint parser

* fix yarn lint script

* lint-staged, lint ts files

* fix TS eslint configuration + fix some lint errors (https://github.com/facebook/docusaurus/pull/2949)

* eslint root + separate linting in 2 scripts

* test commit

* test commit

* test commit

* fix /// TS directive
2020-06-18 17:37:48 +08:00
Sébastien Lorber b5d7c3a111
misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922)
* add clear + serve scripts

* add ability to launch all TS projects in --watch mode

* attempt to create a watch plugin

* use rimraf for clear script

* update watch plugin poc

* add start:v2:watch

* remove the watch plugin
2020-06-16 20:40:46 +08:00
Sam Zhou 33b60c6ba4
fix(v2): Consistently use 10.15.1 as the minimum required node version (#2819) 2020-05-27 23:18:48 +08:00
Bartosz Kaszubowski 980f1041dc
refactor(v2): import lqip-loader, fix build on Node 13 (#2544) 2020-04-06 02:55:36 +08:00
Yangshun Tay b07507c9cc
chore(v2): upgrade devDependencies (#2538)
* chore(v2): upgrade devDependencies

* chore(v2): upgrade devDependencies

* chore: prettier
2020-04-05 19:07:44 +08:00
Bartosz Kaszubowski 5d65facc81
refactor(v2): replace Lodash with single methods packages in utils (#2536) 2020-04-05 18:32:28 +08:00
Yangshun Tay ff5029893e misc(v2): add Lodash TypeScript typedefs 2020-04-05 18:17:06 +08:00
Bartosz Kaszubowski b4acb89888
chore(v2): use single method Lodash packages in docs plugin (#2519)
* chore(v2): use single method Lodash packages in docs plugin

* reorder packages

* TS types nightmare
2020-04-04 01:24:30 +08:00
Alexey Pyltsyn 9cff1bb9e4
chore(v2): upgrade deps (#2508) 2020-04-02 19:05:03 +08:00
Alexey Pyltsyn 18d31b5f5f
misc: add instructions about test release (#2486)
* misc: add instructions about test release

* Fix tests

* Rebuild yarn.lock

* Fixes

* Fixes

* Upd
2020-04-02 15:11:19 +08:00
Alexey Pyltsyn 37288a5995
fix(v2): specify proper version for stylelint-copyright (#2383)
* fix(v2): specify proper version for stylelint-copyright

* Update package.json

* Update package.json
2020-03-09 03:57:02 +08:00
Yangshun Tay 6cc0aa2e75
fix(v2): improve stylelint copyright header rule (#2363)
* fix(v2): improve stylelint copyright header rule

* Whitelist stylelint-copyright from Jest
2020-03-07 11:49:52 +08:00
Scott Lee ae78c1e6dd
chore(v2): add stylelint (#2361)
* Add stylelint

* Add custom stylelint plugin for copyright

* Add stylelint to FB template
2020-03-06 20:10:26 +08:00
Yangshun Tay a38125a718
chore: drop support for node <10.9 (#2207)
* drop node <10.9 on 2020

* misc: add nvmrc

Co-authored-by: Endi <endiliey@gmail.com>
2020-01-12 13:24:11 +08:00
Endi 9b5266aa7e docs(v2): fix pages routing inaccurate info (#2110)
* docs(v2): fix pages routing inaccurate info

* fix CI
2019-12-10 12:47:13 -08:00
Yangshun Tay 55e676cb25
misc: add command to run prettier on docs (#2102)
* misc: add command to run prettier on docs

* Fix GH issue template

* Fix tests

* Add prettier-docs command to precommit
2019-12-07 21:56:30 -08:00
Endi 97491c5cfb
feat(v2): injectHtmlTags API to inject head and/or body html tags (#2057)
* wip: define html tag definition

* feat(v2): implement injectHtmlTags api

* remove useless file

* nits

* documentation

* allow string, use prebodyTags and postBodyTags

* typo

* refactor typing

* chore(v2): bump deps
2019-11-30 11:52:26 +07:00
Endi 05a2f46a9b
chore(v2): bump deps and run yarn upgrade (#2044) 2019-11-24 23:06:25 +07:00
Endi 9862a6821a feat(v2): allow non sidebar category to be first item of sidebar (#2032)
* feat(v2): allow non sidebar category to be first item of sidebar

* better error messages

* edit the react component

* Update website/docs/sidebar.md

* nits

* add @babel/plugin-transform-runtime
2019-11-23 20:08:19 -08:00
Endi 2d15fadf16
chore(v2): bump deps and remove unused deps (#2029)
* chore(v2): deps bump

* remove unused deps
2019-11-22 17:55:22 +07:00
Endi 088606653d
chore: bump & remove unused deps (#2015) 2019-11-19 16:04:23 +07:00
Endi cf4037ef91
chore(v2): update dependencies (#1985)
* chore(v2): update dependencies

* use forked ideal image deps. omgg
2019-11-13 23:04:13 +07:00
Endi 3be2e86546
chore: bump dev dependencies (#1955)
* chore: bump devdeps

* upd infima url
2019-11-11 17:44:26 +07:00
Endi 58751b4e1a chore(v2): add lerna-changelog (#1952) 2019-11-09 00:58:56 +08:00
Endi 384e83a737
chore(v2): upgrade deps (#1945)
* chore(v2): upgrade dependencies

* revert TS 3.7 optional chaining
2019-11-07 13:32:55 +07:00
Endi baa884fe2e fix(v2): fix chokidar/watcher does not trigger reload on windows (#1943)
* fix(v2): fix chokidar/watcher does not trigger reload on windows

* nits

* nits

* stronger test
2019-11-06 23:52:40 +08:00
Endi 1844c2bdd6
chore(v2): upgrade dependencies (#1865)
* chore(v2): upgrade dependencies

* nits
2019-10-21 12:25:30 +07:00
Endi d96b5f99b9 fix(v2): swizzle should receive correct load context (#1844)
* fix(v2): swizzle should receive correct load context

* new prettier version

* niits
2019-10-16 08:56:09 -07:00
Endi 48db8b8e09
refactor(v2): simplify & faster last updated logic for docs (#1832)
* refactor(v2): simplify last updated logic for faster dev

* Update packages/docusaurus-plugin-content-docs/src/__tests__/lastUpdate.test.ts

* Update packages/docusaurus-plugin-content-docs/src/__tests__/lastUpdate.test.ts
2019-10-12 10:30:22 +08:00
Endi ae678c9dad feat(v2): add editUrl option to docs plugin (#1818)
* feat(v2): add editUrl option to docs plugin

* nits

* misc(v2): nit

* misc(v2): nit
2019-10-10 11:10:18 -07:00
Endi 1591128cdd
refactor(v2): add typing for docs plugin (#1811)
* refactor(v2): add typing for docs plugin

* nits
2019-10-07 18:28:33 +07:00
Endi 0397f7b719
chore(v2): upgrade babel, webpack, and mdx (#1798)
* chore: upgrade babel, webpack, and mdx

* changelog
2019-09-24 18:55:07 +08:00
Dongwoo Gim 4cecdc6db1 chore: add `ts,tsx` to `lint-staged` (#1796) 2019-09-22 21:25:52 +08:00
Endi 55ef751f26 feat(v2): use contenthash instead of chunkhash for longterm caching (#1686)
* feat(v2): use contenthash instead of chunkhash for longterm caching

* changelog
2019-07-21 10:11:39 -07:00
Endi 0daed4abec feat(v2): optimize dev by omiting production only plugins (#1673) 2019-07-18 11:18:03 -07:00
Endi 96d6369985
chore(v1.v2): upgrade a lot of packages deps (#1668)
* chore(v2): upgrade a lot of v2 packages deps

* chore(v1): upgrade a lot of v1 packages deps
2019-07-17 22:59:13 +07:00
Endi d61cc01217
feat(v2): @docusaurus/init package (#1655)
* feat(v2): separate v2 docusaurus/init package

* nits

* docs

* rm unwanted

* readme
2019-07-14 01:06:23 +07:00
Endi 60f9228d67
chore(v2): upgrade typescript deps (#1611) 2019-06-16 00:00:12 +08:00
Hongarc 594ede3bdc chore: remove `@types/chalk` and `@types/globby` (#1540)
* chore: remove `@types/chalk` and `@types/globby`

* chore: update `chalk` and `globby`
2019-06-02 19:04:48 +07:00
endiliey d52e6d3c3f chore(v2): fix TS definition & workspaces config 2019-05-25 23:48:12 +08:00
Endi aa157969cf
chore(v2): cleanup & update deps (#1505)
* chore(v2): rename useBaseUrl -> withBaseUrl & update deps

* nits
2019-05-22 19:20:53 +07:00
Yangshun Tay 3fc3644875 feat(v2): create useBaseURL helper (#1503)
* feat(v2): create withBaseURL helper

* typescript & refactor

* nits
2019-05-22 17:32:52 +07:00
Endi a45f8cab68
chore(v2): add @types/webpack-dev-server and @types/react-dev-utils (#1496) 2019-05-21 13:58:14 +07:00
Endi 305e698e6e refactor(v2): migrate core to Typescript ❄️🌀🐋 (#1494)
* refactor(v2): add typing for docusaurus/core

* wip: last working

* refactor(v2): add typing for @docusaurus/core

* prettier

* dont run in parallel otherwise some are uncompiled

* nits

* more typing

* more typing

* nits

* type commands

* nits
2019-05-20 09:59:04 -07:00
Endi cbd2a589e3 refactor(v2): migrate to Typescript ❄️🌀🐋 (#1490)
* refactor(v2): migrate to typescript

* scripts nits

* fix test

* nits

* nits

* tsconfig tweak
2019-05-18 11:37:35 -07:00
Endi e31bf50545
chore(v2): update dependencies (#1462)
* chore(v2): update dependencies

* nits
2019-05-16 14:33:32 +07:00
Endi 56cd3a22ce
chore(v2): rm flowtype (#1444) 2019-05-09 18:32:56 +07:00
Endi c2ebde997a
refactor(v2): add flowtype + refactor test (#1443)
* chore(v2): add flow setup

* nits

* fix

* add flow-typed

* ignore compiled library

* fix error

* fix typing

* fix module name mapper

* setup for @docusaurus/core

* dont try remove type without @flow

* fix can't find @docusaurus/utils

* fix test

* remove obscure relative paths

* more refactoring

* add typing for server/load/theme.js

* no need to ship .flow source
2019-05-08 23:03:52 +07:00
Zach Badgett 0813920349 refactor: refactor code tab split (#1369)
* refactor: refactor code tab split

* Add split tab unit test

* Fix code tab list bug
2019-05-01 20:57:13 -07:00
Endilie Yacop Sucipto 1bd2640749
chore(v2): update dependency (#1316) 2019-03-28 23:12:28 +08:00
Yangshun Tay 1edbeecbe5 chore(v2): add ESLint rule to check for Facebook copyright headers in JS files (#1301) 2019-03-24 14:50:26 +07:00
Endilie Yacop Sucipto 1f91d19a8c
chore: move to monorepo (#1297)
* chore: move to monorepo

* lint all js file

* simplify circleCI

* fix failing tests

* fix tests due to folder rename

* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00
YoshinoriN db62233051 chore: upgrade husky to 1.3.1 (#1229) 2019-02-12 10:34:31 +08: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
Endilie Yacop Sucipto ce5610a420
refactor(v2): better page `preloading` (#976)
* refactor: use native preloadReady for prerender on client

* refactor: rename 'prerender' to 'preload' for correctness
2018-09-22 00:42:06 +08:00
Yangshun Tay 7931be9c71
Update CI for v1 (#968)
* Update CI for new repository structure

* Rename tests

* Fix workflow

* Add Prettier
2018-09-19 12:09:06 +08:00
Yangshun Tay f2927a9fc4
Move Docusaurus 1 files into directory (#966)
* Move Docusaurus 1 into v1 directory

* Update Circle CI commands for new v1 dir

* Remove OC

* Fix tests
2018-09-18 00:58:07 +08:00
Yangshun Tay 9d4a5d5359
Prettify all JavaScript files (#964)
* Prettify all JavaScript files

* Make trailingComma all

* Delete v2/.prettierignore

* Remove v2 Prettier commands in package.json
2018-09-17 15:34:55 +08:00
endiliey 48f273e68f v2: ignore v2 folder for now 2018-09-17 12:06:23 +08:00
Tom Auger bbef20d345 fix: live reload port fallback if port is used (#899)
* Move start reload server into separate module

* Find an unused port when starting the live reload server

* Move findUnusedPort into module

* Add tests for findUnusedPort module

* Refactor findUnusedPort

* Move starting of servers into separate module and add tests

* Remove unused constants.js

* Zap extra line breaks

* Add tests for liveReloadServer

* Rename serverController to start

* Move start into lib/server

* Add portfinder package

* Replace findUnusedPort with portfinder

* nits
2018-09-13 02:03:52 +08:00
Joel Marcey 7daf64e760 Publish v1.4.0 (#954)
* v1.4.0

* Lock files

* Update CHANGELOG.md

* chore: add missing PR not included in CHANGELOG.md

* chore: fix changelog typo

* chore: fix CHANGELOG

* nits
2018-09-12 10:13:27 +08:00
Shubham Bansal 1a572757f1 feat: last updated time in docs (#913)
* Adding last updated time for docs

* Making file path general and other suggested changes

* Checking if time returned is null due to absence of git or some other issue

* Adding option to enable/disable update time feature and test-doc

* Adding simple unit tests for getGitUpdateTime()

* nits & rewrote failing test

* consistent test naming

* Adding optional updateEnableTime in documentation

* package-lock & yarn.lock
2018-08-29 21:15:18 +08:00
Laxman cfabaedc99 Fix: conflicting strings issue in translations (#917)
* Fix conflicting strings issue in translations

* Preserve structure of `customTranslations`

* Use `deepmerge` to merge whole of `localized-strings`

* Simplify and make deep property access on an object safe

* Fix deep property accessor and rename it to idx
2018-08-29 00:04:02 +08:00
Endilie Yacop Sucipto 2fa67bbc13
v1.3.3 (#912)
* v1.3.3

* nits changelog

* run npm update & yarn update

* run prettier
2018-08-23 11:48:44 +08:00
Julien Odent 0a3f0ecdc5 Renamed Sonar to Flipper (#905)
* Noticed caption was "Sonar" but redirecting to https://fbflipper.com.
* Fixed caption and renamed files for consistency.
* Moved project after FastText to keep alphabetical ordering.
* Ran prettier and included changes.

Test plan:
  npm run test && npm run prettier && npm run lint

  cd website && npm run start

Noticed projects are rendered properly and caption is now "Flipper".
2018-08-17 09:39:20 -07:00
jess ef80581e8e Activating Open Collective (#883) 2018-08-03 18:25:57 -07:00
Endilie Yacop Sucipto edb364ad02
chore: update jest to v23 (#885)
* chore: update jest to v23

* add changelog
2018-08-03 17:08:51 +08:00
Endilie Yacop Sucipto 18158d6abc
fix: truncate blogpost properly with truncate-html (#880)
* fix: truncate blogpost properly with truncate-html

* revert test file change

* chore: truncate blogpost for feed changelog
2018-08-02 15:16:26 +08:00
Endilie Yacop Sucipto 42a96696a4
chore: delete unused/ old file (#881) 2018-08-02 00:52:50 +08: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 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
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
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
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
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 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
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
Joel Marcey ca8afb0951
Publish v1.2.1 (#785) 2018-06-17 16:00:12 -07:00
Joel Marcey 0d000b1bec Publish v1.2.0 (#753) 2018-06-10 12:04:23 -07:00
Endilie Yacop Sucipto c8bc00a3a7 Enable using Prism for syntax highlighting (#735)
* Enable user to use prism.js as syntax highlighter

* add package-lock

* if 'usePrism' is true, use prismjs on all languages

* don't get lang by hljs if use prism

* Update api-site-config.md

* Update api-doc-markdown.md

* only load prism css when usePrism is true
2018-06-09 11:38:01 -07:00
Joel Marcey 01bc5e4dd5
Publish v1.1.5 (#707) 2018-05-26 11:29:10 -07:00
Yangshun Tay b7be85843a
Publish v1.1.4 (#703) 2018-05-25 23:10:44 -07:00
artiebits 407636a4d9 Don't open a site in a new tab if it's already open (#698)
* Don't open a site in a new tab if it's already open

* Remove opn from dependencies
2018-05-24 20:47:01 -07:00
Joel Marcey d143b3f87e
Publish v1.1.3 (#695) 2018-05-23 11:28:02 -07:00
Yangshun Tay a603aff193
Publish v1.1.2 (#685)
* Update tree-node-cli

* Publish v1.1.2

* Fix version
2018-05-21 21:43:23 -07:00
Yangshun Tay 1a604d820b
Update tree-node-cli (#684) 2018-05-21 21:32:24 -07:00
Joel Marcey 96dd757bdc
Publish v1.1.1 (#681) 2018-05-21 13:56:37 -07:00
Yangshun Tay 923356e312 Shift opn to dependencies (#680) 2018-05-21 13:46:49 -07:00
Joel Marcey cfaa8905ef
Publish version 1.1.0 (#679) 2018-05-21 08:27:18 -07:00
Amy Lam f9a09072e3 Add LiveReload (#663) 2018-05-17 16:17:56 -07:00
Amy Lam 1796764b1c Print out directory tree during docusaurus-init (#665)
* WIP does not work

* rm -rf website/

Run docusaurus-init

Even by deleting text here, it still shows up? Confused.

* Shift in tree printing logic

* Shift printing logic to the current location
2018-05-15 20:06:44 -07:00
Agastya Darma 25cf8bb786 Migrate to React 16 (#655)
* migrating to react 16

* Add WarriorJS to Docusaurus users (#656)

* Separate users data from code

* Add WarriorJS to Docusaurus users

* [Feature] Introducing image compression using imagemin (#654)

* Introduce imagemin for compressing images

* Replace original images with the optimized ones

* Add imagemin-svgo to dependencies

* Remove console statement, replace let with const

* Replace let with const

* Add --skip-image-compression

* Run Prettier

* Fix header

* Prettier
2018-05-09 19:58:47 -07:00
Ahmad Alfy ab6bab9f8d [Feature] Introducing image compression using imagemin (#654)
* Introduce imagemin for compressing images

* Replace original images with the optimized ones

* Add imagemin-svgo to dependencies

* Remove console statement, replace let with const

* Replace let with const

* Add --skip-image-compression

* Run Prettier
2018-05-09 16:59:36 -07:00
Yangshun Tay 1a6f2fc51c Add open in browser functionality (#643) 2018-05-07 09:46:14 -07:00
Joel Marcey 5b4fb4b4a5
Publish v1.0.15 (#645) 2018-05-06 11:04:56 -07:00
Joel Marcey 6041f9ece7
Publish v1.0.14 (#597) 2018-04-23 16:40:13 -07:00
Joel Marcey 266b37498a
Publish v1.0.13 (#589) 2018-04-20 12:03:21 -07:00
Joel Marcey 40a9047620
Publish v1.0.12 (#581) 2018-04-18 09:57:17 -07:00
Yangshun Tay 159b80df94
Use cssnano to minify main CSS file (#569)
* Add cssnano to CSS generation

* Add babel-polyfill

* Call cssnano at the end

* Fix tests

* Add babelrc
2018-04-16 21:31:01 -07:00
Zoltan Kochan e2b8fa7aef Fix(deps): add mkdirp to package.json (#471)
mkdirp is used throughout the project.
This works because npm and Yarn create flat node_modules.
Docusaurus fails though with pnpm, which creates a strict
node_modules.
2018-04-14 10:47:41 -07:00
Joel Marcey 257b5c9ebd
Publish Docusaurus v1.0.11 (#551) 2018-04-12 09:50:16 -07:00
Yangshun Tay 1db939b119 Revert yarn prettier addition in yarn ci-check (#543) 2018-04-10 10:30:29 -07:00
Kaveh Khorram bbbe311004 Dynamic port switching (#516) 2018-04-10 08:48:44 -07:00
Joel Marcey 71317e49ba
Publish Docusaurus v1.0.10 (#538) 2018-04-09 12:06:40 -07:00
Elian Ibaj c437f7be37 Use markdown-toc (#524) 2018-04-04 10:19:03 -07:00
Joel Marcey 288afc3310
Publish Docusaurus v1.0.9 (#502) 2018-03-13 09:33:34 -07:00
Joel Marcey 1a245a81b2
Publish Docusaurus v1.0.8 (#499) 2018-03-12 17:00:58 -07:00
Joel Marcey 2c2d6d6158
Publish Docusaurus v1.0.7 (#461) 2018-02-17 12:39:15 -08:00
Joel Marcey b27ff6e1c0
Publish Docusaurus v1.0.6 (#447) 2018-02-12 19:30:35 -08:00
Henry Zhu cb2f0eda62 Also transform class properties and object rest spread (#419) 2018-01-26 10:47:09 -08:00
Joel Marcey be09889b41
Publish Docusaurus v1.0.5 (#386) 2018-01-09 13:56:35 -08:00
Joel Marcey 430e35b5ea
Publish Docusaurus v1.0.4 (#363) 2017-12-27 16:14:30 -08:00
Héctor Ramos eafcf13a4c Switch rsync for fs-extra (#321) 2017-12-19 13:29:41 -08:00
Héctor Ramos 60bd8bc754 Switch to rsync package (#320)
* Switch to rsync package

This removes the need to install rsync natively in CI

* Update publish-gh-pages.js
2017-12-19 12:34:12 -08:00
Héctor Ramos 9dadb3578c Add first set of docusaurus-build tests using Jest (#259)
* 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

* Initial test suite

* Rename test to match original file

* restore test files

* Remove yarn.lock from pull request. Will run it again in a separate commit
2017-12-18 14:40:52 -08:00
Joel Marcey 7dbdf17b0b Bump to Docusaurus 1.0.3 2017-12-14 09:54:37 -08:00
Joel Marcey bee98053c8 Publish Docusaurus 1.0.2 2017-12-14 09:15:17 -08:00
Joel Marcey 38eb5419a3 Update to Docusaurus 1.0.1
Should be the go-live package \o/
2017-12-13 20:40:16 -08:00
Joel Marcey ad8921950c Publish 1.0.0-beta.16
Could be the last beta before launch

\o/
2017-12-13 09:14:14 -08:00
Jan Kassens b174ee2d2a Update prettier to 1.9.1 (#273) 2017-12-12 12:47:52 -08:00
Ricky Vetter c22203523f use faded primaryColor background for inline code snippets instead of link color (#276) 2017-12-12 12:46:52 -08:00
Joel Marcey ef6f550700 Replace facebookexperimental with facebook (#266)
Moving to the facebook GitHub org
2017-12-07 10:52:12 -08:00
Joel Marcey 643c7a4047 Bump to 1.0.0-beta.15
Needed for ad87bab09b
2017-12-07 10:15:14 -08:00
Joel Marcey 2d04b3071e Bump to 1.0.0-beta.14 2017-12-06 13:58:54 -08:00
Joel Marcey d89abde579 Update publish-gh.js after running Prettier 2017-12-05 21:32:36 -08:00
Héctor Ramos 65421db62e Add Prettier Formatting (#258)
* 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
2017-12-04 19:21:02 -08:00
Joel Marcey 909c193fa1 Bump to 1.0.0-beta.13 2017-11-16 09:32:14 -08:00
Héctor Ramos 420d2e86fb Replace diff with string comparison (#230) 2017-11-15 12:17:05 -08:00
Joel Marcey fe11556ae7 Bump to 1.0.0-beta.12 2017-11-13 19:43:54 -08:00
Eric Nakagawa 8d14f8fb02
Merge pull request #217 from JoelMarcey/custom-docs-subdir
Allow custom path for the location of documentation
2017-11-13 13:50:39 -08:00
Joel Marcey eab6b59094 Bump to 1.0.0-beta.11 2017-11-10 16:22:12 -08:00
Joel Marcey e273dfc13b Allow the docs not to just be in a folder called `docs`
Also:
- regex escaping
- update api documentation
2017-11-09 09:55:26 -08:00
Joel Marcey 3d8d991ede Bump to 1.0.0-beta.10 2017-11-02 09:41:56 -07:00
Joel Marcey 2849cc86cf Update to 1.0.0-beta.9 2017-11-01 12:18:20 -07:00
Joel Marcey 1324ddfa47
Update site preparation docs (#203) 2017-11-01 09:48:14 -07:00
Joel Marcey 893a6e85b5 Bump to 1.0.0-beta.8 2017-10-31 09:20:59 -07:00
Joel Marcey dcf50a4e4d Bump to 1.0.0-beta.7 2017-10-30 16:18:26 -07:00
Joel Marcey d2d3ace924 Bump to 1.0.0-beta.6 2017-10-25 16:51:49 -07:00
Héctor Ramos 140dcaa500 [CI] Switch to Circle 2 (#168)
* Switch to Circle 2

* Use Yarn in CI

* Move things around

* Fix Remarkable case issue

* Run placeholder test

* Update deploy script

Use multiline commit messages to ensure commit beign deployed is documented in git history
2017-10-25 14:04:24 -07:00
Eric Nakagawa a5320dbd36 Merge pull request #159 from JoelMarcey/port-in-use
Check if a port is in use
2017-10-24 13:32:26 -07:00
Héctor Ramos 49034dd6bb Fix Remarkable case issue (#166) 2017-10-24 10:49:13 -07:00
Héctor Ramos b832176dc6 [markdown] Switch to Remarkable (#153)
* Switch to Remarkable
* Clean up references to custom code blocks
* Remove valdiateDOMNesting warning
* Add syntax highlighting
* Add Reason support
* Breaking change: prismColor to codeColor, remove CompLibrary.Prism, expose hljs
* Completely remove Prism and associated CSS rules
* Support loading plugins and scripts
* Remove CSS rules, allowing Highlight.js theme to be used entirely
* Remove unnecessary webplayer script
2017-10-24 09:45:21 -07:00
Joel Marcey 7bad58022c Check if a port is in use
Test:

Ran a separate server on port 3000

```
Checking if port 3000 is free...
Extracting translateable strings from files...
Loading translation files...
Generating Metadata for Docs....
Generating Metadata for Docs....
server.js triggered...
Generating Metadata for Docs....
Extracting translateable strings from files...
listening on port: 3000
Open http://localhost:3000/
Port 3000 is in use
```

Fixes #124
2017-10-23 18:32:39 -07:00
Joel Marcey 3fe1b7e0d4 Bump to 1.0.0.beta.5 2017-10-21 20:24:41 -07:00
Joel Marcey b7819a18d8 Bump to 1.0.0-beta.4 2017-10-19 16:57:09 -07:00
Joel Marcey b312821f78 Bump package to Beta 3 2017-10-19 14:52:28 -07:00
Joel Marcey 3e9e130256 Bump Docusaurus version number 2017-10-18 15:11:30 -07:00
Eric Nakagawa bcba05ae03 Adds sitemap.xml. Adds 'Help Translate' to translatable strings. Error messages and fn name cleanups. (#136)
* added a note about needing more than one language to be enabled to allow for a drop down

* Removing debug statements

* Add 'Help Translate' to translatable strings, improves error messages around missing translated strings, calls write-translations on some routes

* Adds sitemap.xml to live server and build. Versioning not supported. -- Also did some file name and module cache cleanups.
2017-10-18 12:55:58 -07:00
Joel Marcey f55e09a427 Bump the version number to Beta 1
\o/
2017-10-06 12:59:22 -07:00
Joel Marcey a3d1fb693b Bump version to alpha.42 2017-10-03 10:38:45 -07:00
Joel Marcey 9274b2a849 Add back babel preset for React plugins package
This fixes the circular JSON error in https://github.com/facebookexperimental/Docusaurus/issues/89

Maybe its not the best workaround here, but I think it does the trick.

Fixes #89
2017-10-02 18:57:58 -07:00
Joel Marcey a44cda05c5 Bump npm version to alpha 41 2017-09-28 14:49:15 -07:00
Eric Nakagawa 3b5db4bbf8 2 bug fixes (#98)
* Merge fix

* Updating lock file.

* Bug fix for rss feed truncation...

* Fixes infinite recursive loop for #89

* Removed use of module cache invalidator from feed.js

* Replaced 'latest' babel presets with 'env'

* Ignore temp build folder

* Adding back new truncation logic for RSS

* Updating yarn lock
2017-09-28 14:46:29 -07:00
Joel Marcey f26db92a46 Bump npm version 2017-09-27 15:31:20 -07:00
Eric Nakagawa dc835770a0 RSS/ATOM Feed added, Prism changes, and global Copyright notice. (#94)
* Add Reason support to Prism.js

* Add XML/ATOM feed. Generates for both localhost and build script. Adds meta links to feeds to all html files.

* Updated /core/Footer.js to pull from siteConfig
2017-09-27 12:49:09 -07:00
Eric Nakagawa a83e16308b Fixes one warning in console for React.DOM.* usage. 2017-09-20 14:45:55 -07:00
Frank Li 6e57456a4a Add repository field to package.json 2017-08-16 14:00:08 -07:00
Frank Li 47799d6b72 Remove unused scripts from package.json 2017-08-16 12:05:26 -07:00
Frank Li e2cdb44bfb Add script to rename existing version 2017-08-14 14:02:56 -07:00
Frank Li 88a32030e3 Publish version 1.0.0-alpha.35 to npm 2017-08-11 15:26:05 -07:00
Frank Li b256d2f8d9 Initial changes to error messages 2017-08-09 15:43:30 -07:00