Commit graph

5274 commits

Author SHA1 Message Date
Joshua Chen
aa446b7a9c
chore: clean up ESLint config, enable a few rules (#6514)
* chore: clean up ESLint config, enable a few rules

* enable max-len for comments

* fix build
2022-01-31 10:31:24 +08:00
Kishan Gajera
b8ccb869f1
fix(theme-classic): add key prop for SimpleLinks map (#6515) 2022-01-31 10:07:16 +08:00
Joshua Chen
196c8ea434
docs: clean up CONTRIBUTING (#6513)
* docs: clean up CONTRIBUTING

* Update PR template
2022-01-30 20:29:47 +08:00
Joshua Chen
8f69f633e6
refactor(core): convert theme-fallback to TS (#6511)
* refactor(core): convert theme-fallback to TS

* add missing type

* fix snapshot
2022-01-30 18:41:13 +08:00
Joshua Chen
e77dda07c0
misc: configure linguist behavior to show better language stats (#6512) 2022-01-30 18:26:35 +08:00
Kishan Gajera
dda92eb2b6
fix(theme-classic): apply width/height for footer logos without href (#6508) 2022-01-29 23:16:40 +08:00
Joshua Chen
2553f1fb5a
refactor: improve internal typing (#6507)
* refactor: improve internal typing

* fix

* fix test
2022-01-29 22:58:40 +08:00
Joshua Chen
58e07a6796
test: add test for readOutputHTMLFile (#6506) 2022-01-29 18:10:46 +08:00
Gaurish
8bdecf107c
docs: add Cloudflare pages deployment guide (#6501)
* Docs: Add Cloudflare pages deployment guide

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-29 13:27:34 +08:00
Joshua Chen
4f2b09fe32
refactor: fix all eslint warnings (#6502) 2022-01-29 13:21:40 +08:00
Joshua Chen
c1e3801ee7
fix(cli): allow passing a list of file names to write-heading-ids (#6500) 2022-01-29 12:21:15 +08:00
dependabot[bot]
9af7aae9e2
chore(deps): bump simple-get from 4.0.0 to 4.0.1 (#6497)
Bumps [simple-get](https://github.com/feross/simple-get) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-29 11:35:10 +08:00
Joshua Chen
f2b1c8e80e
docs: mention how env vars can be read (#6499) 2022-01-29 11:34:30 +08:00
Matthew Ailes
d45f96fc83
fix: updating peerDependency fields for yarn berry (#6498) 2022-01-29 10:29:03 +08:00
Sébastien Lorber
f5f598a921
fix(core): configValidation should allow inline theme functions (#6496) 2022-01-28 17:49:25 +01:00
Joshua Chen
c99026c524
fix(theme-classic): do not switch color modes when printing (#6490)
* fix(theme-classic): coerce to light theme when printing

* revert this...

* fix
2022-01-28 20:19:23 +08:00
Tamal Web
ade486d079
docs: mention where to find the sitemap (#6492)
* Added the sitemap url

So that users know where to locate their sitemaps

* Update plugin-sitemap.md

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-28 17:11:09 +08:00
nick-verida
45c3a5fe05
docs: add developers.verida to showcase (#6491)
* Update users.tsx

* Add verida-developers.png

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-28 16:38:11 +08:00
Nick Schonning
bcb15336bf
chore: fix Stylelint globs for editor support (#6476)
* chore: expand Stylelint globs

* uninstall plugins

* revert stylelint bump

* fix lock

* better ignore

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-28 12:02:16 +08:00
Joshua Chen
556f59b193
fix(utils): do not resolve Markdown paths with @site prefix (#6489) 2022-01-28 10:10:39 +08:00
Sébastien Lorber
8a912c708e
chore: fix codesandbox example link + mention npm publish recovery (#6487) 2022-01-27 23:18:04 +08:00
Joshua Chen
f6ff6474bc
feat(website): new plugin to load CHANGELOG and render as blog (#6414)
* feat(website): new plugin to load CHANGELOG and render as blog

* use CJS

* move footer links

* better design

* fixes

* correctly order posts

* add authors

* Add axios

* Update styles

* oops

* oops

* add expand button

* back to index page link

* fix styles

* add feed options

* fix

* fix

* Add fallback

* fix

* fixes
2022-01-27 23:17:31 +08:00
Joshua Chen
5c447b1ca3
docs: elaborate on Markdown asset linking; document pathname:// (#6404) 2022-01-27 23:16:55 +08:00
Joshua Chen
3c58d7f027
feat(content-docs): allow explicitly disabling index page for generated category (#6452)
* feat(content-docs): allow explicitly disabling index page for generated category

* docs

* add test
2022-01-27 23:14:07 +08:00
Sébastien Lorber
ffa108b58b
chore: update examples for beta.15 (#6486) 2022-01-27 15:06:10 +01:00
Sébastien Lorber
d791384986
fix(website): bad translate tags without default translation (#6485)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-27 14:39:02 +01:00
Joshua Chen
0e13356e1b
feat: mark some text labels as translatable (#6482)
* feat: mark some text labels as translatable

* tweak
2022-01-27 19:36:37 +08:00
Joshua Chen
b8fbf7c530
docs: remove mention that CDN resources are caches cross-domain (#6484) 2022-01-27 19:21:07 +08:00
Joshua Chen
4c22316438
refactor(init): promote good practices; use site alias (#6481) 2022-01-27 12:08:52 +01:00
Pranab Das
f415da1c95
refactor: self-host KaTeX assets (#6429)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-27 11:39:45 +01:00
Joshua Chen
f377097f0b
docs: mark a lot of website texts as translatable (#6483) 2022-01-27 18:04:23 +08:00
Nick Schonning
37be796aa8
test: rename 'fixtures' to '__fixtures__' (#6474)
* test: rename 'fixutes' to '__fixtures__'

* test: rename '__test' to '__tests__'

* test: update snapshot
2022-01-27 09:30:09 +08:00
Joshua Chen
02186a2b20
fix(utils): Markdown linkification match local paths beginning with http (#6478) 2022-01-27 09:26:31 +08:00
Sébastien Lorber
d6cff8c754
chore(v2): prepare v2.0.0-beta.15 release (#6473) 2022-01-26 19:28:16 +01:00
Joshua Chen
24a895fbc5
feat(content-docs): expose isCategoryIndex matcher to customize conventions (#6451)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-01-26 17:58:52 +01:00
Joshua Chen
76a8d5f38a
fix(content-blog): generate feed by reading build output (#6454) 2022-01-26 16:54:15 +01:00
Joshua Chen
ebd5340205
chore: various improvements to repo setup (#6471)
* chore: various improvements to repo setup

* fix again

* fix
2022-01-26 14:24:15 +08:00
Joshua Chen
83fb3a825f
refactor: clean up dependencies (#6470) 2022-01-26 13:12:03 +08:00
Joshua Chen
f0b08f493d
fix(module-type-aliases): fix type def for translate params (#6469) 2022-01-26 11:49:29 +08:00
Mikey O'Toole
d0fc31c8ae
feat(theme-classic): add stable class for DocSidebarContainer (#6466) 2022-01-26 10:47:54 +08:00
Gabriel Csapo
d73b4f8674
fix(init): cd to correct path when installing (#6468)
* [bug] ensure we use the correct cd path

* Update index.ts

* refactor

* add ignore

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-26 10:01:11 +08:00
Sébastien Lorber
dd539dd23f
feat(search): enable contextual search by default (#6407) 2022-01-25 11:45:41 +08:00
Joshua Chen
59022c5eea
docs: add advanced guides (#6296)
* docs: add advanced guides

* complete

* fix link

* Create architecture

* use png

* explanations

* more text

* process.env.NODE_ENV

* typo

* Add image zoom

* nit

* nit

* reorganize

* fix links

* fix links

* reorganize

* elaborate on presets

* fix

* routing docs

* ssr section

* more content

* complete SSR guide

* pathname://

* improvements

* document executionenvironment

* reformat

* final tweaks!

* avoid slug

* oops
2022-01-25 11:29:18 +08:00
Nick Schonning
e3be77081c
chore: typo colocation -> collocation (#6464) 2022-01-25 11:06:01 +08:00
sgenoud
eaa3c59299
docs: add replicad to showcase (#6459)
* Added replicad in the showcase

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-25 09:52:03 +08:00
Nick Schonning
521eb119a7
chore: add cSpell for spell checking (#6456)
* chore: Add cSpell for spell checking

* chore: exclude map files and remove dups

* chore: exclude more binary files

* chore: remove MD headings

* Update .cspell.json

* fix a few spellings

* fix more

* fix

Signed-off-by: Joshua Chen <sidachen2003@gmail.com>

* fix a few

* oops

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-25 09:40:02 +08:00
Joshua Chen
a41a5c328c
docs: 2021 recap blog post (#6334)
* docs: 2021 recap blog post

* minor wordings

* Misc copy changes

* Add thumbnail

* nit

* use en dash

* Update screenshots

* polish

* Add image to summary

* Tweak introduction

* oops...

* nits

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2022-01-24 22:05:59 +08:00
kuizuo
86ea0395ca
docs: add Kuizuo's Personal Website to showcase (#6458)
* docs: Add Kuizuo's Personal Website to showcase page

* minor tweaks
2022-01-24 20:59:04 +08:00
Edouard Bonlieu
0f8bb3bbe6
docs: add Koyeb as a deployment option (#6431) 2022-01-24 18:57:02 +08:00
trent
80b6c01b74
docs: add Sass Fairy to showcase (#6455)
* Add Sass Fairy to showcase

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-24 09:21:16 +08:00