slorber
da8ccd0419
add isValidPathname
2020-06-03 15:40:10 +02:00
Alexey Pyltsyn
1b2744570b
fix(v2): strip images and footnotes for excerpt correctly ( #2855 )
2020-06-01 18:36:02 +08:00
Alexey Pyltsyn
da0f865831
fix(v2): remove Markdown syntax from excerpt ( #2701 )
...
* fix(v2): remove Markdown syntax from excerpt
* Update snapshots
* Use Remark
* Switch to own solution
2020-05-18 19:57:03 +08:00
Alexey Pyltsyn
16dd08a690
refactor(v2): make semicolon optional in imports for excerpt ( #2696 )
2020-04-30 01:05:29 +08:00
Yangshun Tay
7d792840ba
misc: prettier
2020-04-22 20:39:11 +08:00
Alexey Pyltsyn
84fa4be865
fix(v2): ignore import declarations in excerpt ( #2380 )
...
* fix(v2): ignore import declarations in excerpt
* Update index.ts
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-22 20:28:14 +08:00
Alexey Pyltsyn
1f00d15c74
chore(v2): fix code style (revert previous changes)
2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd
chore(v2): fix code style
2020-04-05 17:30:59 +03: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
Fanny
5e664a1f26
feat(v2): add edit url in post page ( #2524 )
...
* Add edit page url in docs
* feat(v2): Create EditPage component
* feat(v2): Improve component
* Add test
* çhore(v2): update description
* çhore(v2): update url
* fix(v2): test
* fix(v2): test
* feat(v2): change the prop of EditPage component
* chore(v2): Remove packages
* feat(v2): Update old tests
* chore(v2): fix package
* fix(v2): fix editUrl
* docs(v2): document editUrl
* --
* --
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-04-05 17:34:48 +08:00
Sam Zhou
da7fd1a186
fix(v2): unbreak blog-only mode routing by deplicating starting forward slashes ( #2497 )
2020-04-02 11:02:44 +08:00
Ramón Lamana
ed5a994c7e
fix(v2): properly dedupe forward slashes in the entire URL path ( #2405 )
2020-03-12 22:35:30 +08:00
Alexey Pyltsyn
68a5cd5df1
fix(v2): make proper path to pages in TS ( #2334 )
2020-02-27 09:59:02 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Yangshun Tay
996b115199
misc(v2): clean up comments in code ( #2294 )
2020-02-18 21:29:23 +08:00
Jonathan Delgado
5cb3309790
feat(v2): allow for TypeScript pages and components ( #2221 )
2020-01-20 10:55:50 +08:00
Endi
7f8aca2ddc
perf(v2): smaller bundlesize by embedding metadata to content ( #2088 )
...
* wip embed metadata to content
* embed metadata in blog as well
* refactor
* update test
* yarn lock
* avoid overwriting file everytime we run new nodejs process
* nits
2019-12-06 12:34:21 +07:00
Endi
32c9d07b90
perf(v2): improve dev build time by not overwriting file if possible ( #2089 )
...
* perf(v2): improve sequential build time by not overwriting file if possible
* minor improvement
* docs
2019-12-06 12:17:41 +07:00
Endi
3be2e86546
chore: bump dev dependencies ( #1955 )
...
* chore: bump devdeps
* upd infima url
2019-11-11 17:44:26 +07:00
Endi
639d8d3eac
perf(v2): skip runtime fileHash cache in prod & get timestamp asynchronously ( #1951 )
...
* skip hash calculation in prod when generating file
* perf: convert lastUpdated to be async process
* changelog
2019-11-08 23:35:39 +07:00
Endi
e04c8f140f
perf/fix(v2): more efficient hot reload & consistent filegen ( #1950 )
...
* perf(v2): efficient hot reload, consistent generated file
* changelog
* more
2019-11-08 17:14:14 +08:00
Endi
fabaf7772b
perf(v2): significantly reduce bundle size & initial html payload ( #1898 )
...
* perf(v2): reduce bundle size significantly with super short chunk name and registry
* changelog
* use hash:8 as id for better long term caching
* even shorter filename. slice contenthash
2019-10-27 07:09:19 -07:00
James George
d8b5323836
misc(v2): refactor utils code to be slightly more concise ( #1633 )
2019-07-05 11:16:57 -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