Commit graph

4317 commits

Author SHA1 Message Date
Alexey Pyltsyn
578470a24c
fix: ignore code block lines when create excerpt (#5495) 2021-09-22 10:15:46 +02:00
Alexey Pyltsyn
ebf81b6ef6
fix: install deps for new project via Yarn properly (#5490) 2021-09-22 10:13:01 +02:00
Alexey Pyltsyn
29e06d0677
feat: make tags route path configurable (#5545) 2021-09-21 19:19:18 +02:00
Alexey Pyltsyn
ba402e9e63
fix: pin react-live due to possible mismatch React (#5556) 2021-09-21 18:33:55 +02:00
Joshua Chen
a839966cd2
polish: remove unused eslint-disable (#5560)
* fix eslint

* Add report unused disable to CI

* Fix two anys
2021-09-21 18:07:54 +02:00
Alexey Pyltsyn
911d6b1087
fix: highlight active item in recent post list (#5571) 2021-09-21 17:07:24 +02:00
dependabot[bot]
6d5d84ca6a
chore: bump axios from 0.21.1 to 0.21.4 (#5597)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 10:06:44 +03:00
Joshua Chen
e0aa87fe7f
refactor(core): type improvements for PendingNavigation (#5580)
* Fix type

* Completely fix

* Fix type
2021-09-21 10:05:42 +03:00
dependabot[bot]
7f770ae621
chore: bump prismjs from 1.24.0 to 1.25.0 (#5595)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 09:56:47 +03:00
dependabot[bot]
212b10e3ac
chore: bump tmpl from 1.0.4 to 1.0.5 (#5596)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 09:56:37 +03:00
headline-design
73b845e915
docs: add Pipeline UI to showcase (#5574)
* Update users.tsx

* Update users.tsx

Specify website/source for PIPELINE-UI

* Add files via upload

add pipeline-ui to showcase

* add pipeline-ui to showcase

* Update users.tsx

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-09-19 09:45:47 +03:00
Joshua Chen
e274c72642
docs: fix more references to Discord channels (#5585) 2021-09-19 09:45:21 +03:00
Palash Shrivastava
ceff278449
docs: add Blogasaurus to showcase (#5572)
* Update users.tsx

Add Blogasaurus

* add blogasaurus image

* update filename

* delete 'PNG' file

* add 'png' file

* update users.tsx with 'png' file
2021-09-19 09:44:26 +03:00
Alexey Pyltsyn
19302c4913
docs: clarify MDX version used (#5575)
* docs: clarify MDX version used

* Update MDX Playground link
2021-09-17 21:27:00 +03:00
Joshua Chen
cc75e85adb
docs: update all Discord links (#5581) 2021-09-17 21:25:31 +03:00
Hugh Lilly
d1aba4ede5
misc: fix ungrammatical sentence about 5-min tutorial (#5573) 2021-09-16 12:54:25 +03:00
Chris Chinchilla
beedadd498
docs: fix code example (#5566) 2021-09-15 18:19:53 +03:00
Jordan Lee
546bf5db4c
docs: minor grammatical correction (#5559) 2021-09-15 18:18:51 +03:00
Don
b6d0378704
refactor: adjust styling of back top top button (#5469)
* refactor: css variables for back to top button

* refactor: adjust back to top button styling

* Update from PR feedback

* err... darker.

* swap secondary color for emphasis scale

* reduce contrast further

* Add new translations

* Cleanup CSS

* Remove active state

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-09-11 16:09:58 +03:00
Kyriet
9a089d4886
docs: add note about partials on Create doc page (#5543) 2021-09-11 12:42:17 +03:00
Alexey Pyltsyn
453d9c099d
fix: remove deprecated createRequireFromPath (#5496) 2021-09-11 12:39:33 +03:00
Robert Kingston
0f5efc976f
docs: Add Mint Metrics site to the Showcase (#5549)
Co-authored-by: Robert Kingston <rob@mintmetrics.io>
2021-09-11 12:38:38 +03:00
Ivar Conradi Østhus
83b05772d5
docs: add Unleash to showcase (#5546)
* docs: add unleash to showcase

* Fix URL

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-09-09 13:11:59 +03:00
Forresst
02eee61aa5
docs: improve escape pipe in Markdown tables (#5539)
* Test escape pipe in Markdown table 

From a remark on Crowdin:
> The value for the Type entry in the plugin-content-blog page is strange.
> In English documents, the Type item value is normally displayed.
> ex) editUrl: string | EditUrlFunction
> However, in French documentation, the Type item value is shown as an unknown code.
> ex) editUrl:!!crwdBlockTags_249_sgaTkcolBdwrc!!
> ex) blogSidebarCount: !!crwdBlockTags_250_sgaTkcolBdwrc!!

This is a test to see if the other way to escape a pipe in a markdown table could solve the problem.

* Fix all docs to replace &#124; by \|

* Keep `code`

* Apply suggestions from code review

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-09-08 14:58:48 +03:00
Paul O’Shannessy
ac2b0f7db2
chore: set up CodeQL (#5499)
Let's try this.
2021-09-08 13:58:33 +03:00
Sébastien Lorber
4f59f0782e
docs: mention Netlify ignore build setting (#5486)
* mention Netlify ignore build setting

* doc backport
2021-09-03 19:34:10 +02:00
Sébastien Lorber
28d2d6a8d0
polish: prevent pop navigation on back if navbar sidebar is open (#5485) 2021-09-03 18:31:32 +02:00
Sébastien Lorber
3d05ec2e4b
chore: regenerate beta.6 examples + fix regen script (#5484)
* update examples script

* rename ext

* typo

* update examples

* fix script to update starters

* update examples

* add --allow-empty so that script does not fail if nothing changed

* fix lint
2021-09-03 16:54:06 +02:00
Joshua Chen
52844f2b01
polish(theme-classic): add Chinese translations (#5472)
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-09-03 15:03:23 +02:00
Daniel Costrasel
09a7e0b00b
docs: update docusaurus-plugin-relative-paths description (#5482) 2021-09-03 14:44:34 +02:00
swyx
194f429c1f
fix: add docs tag validation to solve #5478 (#5479)
* fix: add docs tag validation to solve #5478

fix: add docs tag validation to solve #5478

* Update docFrontMatter.ts

* Update docs-create-doc.mdx

* improve tag validation error messages + tests

* improve tags doc

* fix test

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-03 14:43:24 +02:00
Alexey Pyltsyn
812327155b
fix: use heading itself as anchor for better crawling (#5481) 2021-09-03 13:11:06 +02:00
Sébastien Lorber
fd3c0c6619
chore: remove beta.4 docs (already archived) (#5474) 2021-09-02 18:56:22 +02:00
Sébastien Lorber
2611bbb501
chore(v2): prepare v2.0.0-beta.6 release (#5473)
* add beta.6

* v2.0.0-beta.6
2021-09-02 18:31:42 +02:00
Gabriel Csapo
cb8718a1e3
feat: adds blog archive route (#5428)
* [feature] adds blog archive route

* Update plugin-content-blog.md

* fix TS issues + minor refactors

* remove useless css

* add translation apis

* add missing translations

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-02 17:35:13 +02:00
Daniel Costrasel
e5d9ff18a8
docs: Add docusaurus-plugin-relative-paths (#5471) 2021-09-02 17:18:50 +02:00
Oscar Lorentzon
9918c3c45e
docs: add mapillary-js to showcase (#5464) 2021-09-02 16:08:59 +02:00
Sébastien Lorber
f361e89b14
feat: on back navigation, close mobile sidebar (#5462)
* On back, close mobile navbar sidebar

* more reliable code to block history pop events

* android backbutton: just close the drawer without cancellin the backward navigation
2021-09-02 16:03:17 +02:00
Joshua Chen
6b7f3e8553
refactor(plugin-debug): migrate package to TypeScript (#5465)
* Complete migration

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix JSON root name

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-09-02 15:58:28 +02:00
Sébastien Lorber
402a5e1f88
feat: infima 33 + navbar-sidebar close button (#5460)
* infima 33 + navbar-sidebar close button

* duplicate close icons + theme switch margin
2021-09-01 19:48:13 +02:00
Joshua Chen
78d84006bb
refactor(theme-classic): completely migrate package to TypeScript (#5459)
* Migrate

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Migrate prism as well

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix lock file

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix typing

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* refactor a bit CodeBlock

* simplify versionBanner typing => use null instead of "none" (apart plugin options for retrocompatibility)

* Remove return signatures

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-01 14:34:26 +02:00
Joshua Chen
5f003bcabd
feat(theme-classic): allow passing tab label and default value through TabItem (#5442)
* Implement feature

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Dogfood edge case

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Correct keydown handling

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Update index.tsx

* Update markdown-features-tabs.mdx

* Update markdown-features-tabs.mdx

* polish tabs doc

* Update markdown-features-tabs.mdx

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-01 12:44:37 +02:00
Sébastien Lorber
553f914639
feat: TypeScript presets/plugins should expose Options typing (#5456)
* each TS plugin should export option types + preset export option / themeConfig types + remove TS typechecking for the bootstrap theme

* each TS plugin should export option types + preset export option / themeConfig types + remove TS typechecking for the bootstrap theme

* fix remaining TS errors

* fix remaining TS errors

* TS fix

* Add JSDoc type annotations to init templates and TS docs

* missing title char
2021-09-01 12:14:40 +02:00
dependabot[bot]
013cfc07bb
chore: bump tar from 4.4.15 to 4.4.19 (#5457)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.15 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.15...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 10:43:23 +02:00
Sébastien Lorber
d76091c7fe
fix: website bad version name in docusaurus.config.js (#5455) 2021-08-31 17:40:47 +02:00
Sébastien Lorber
42e70e6d42
feat: new docs options: versions.{badge,className} (#5454)
* docs: add versions.{badge,className} options

* remove badge option test
2021-08-31 15:40:37 +02:00
Alexey Pyltsyn
914e204dcb
refactor: use SVG for closable button in announcement bar (#5453) 2021-08-31 11:03:14 +02:00
Sébastien Lorber
3a312d964d
feat: Add docs-related stable classnames (#5445) 2021-08-31 11:00:46 +02:00
Sébastien Lorber
280a8abac9
fix: fix some theme UI issues (blockquotes, navbar-sidebar font) with Infima alpha.32 (#5444) 2021-08-30 18:34:59 +02:00
Alexey Pyltsyn
a9e0e99dc5
refactor: switch to Flexbox in announcement bar (#5430)
* refactor: switch to Flexbox in announcement bar

* Fixes after review

* Fixes after review

* Fixes after review
2021-08-30 16:43:58 +02:00