Sébastien Lorber
b5c46bd1d9
feat(v2): new docs edit options: editCurrentVersion + editLocalizedDocs ( #3949 )
...
* editCurrentVersion initial poc
* ensure edit url allows to edit localized docs
* Add editLocalizedDocs option
* keep editing current version in dev (more convenient)
2020-12-28 10:25:47 +01:00
Matt Oestreich
2791ccc4cf
docs(v2): fix invalid JS example ( #3952 )
...
* Fix invalid json
* Update sidebar.md
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-12-25 18:20:35 +03:00
Alexey Pyltsyn
853e29dbd8
fix(v2): minor a11y tweaks ( #3946 )
2020-12-22 16:28:37 +01:00
Siemienik Pawel
24ea18edf3
docs(v2): Added information about setting /
in routeBasePath ( #3945 )
2020-12-22 16:25:33 +01:00
Alexey Pyltsyn
83a5240f57
fix(v2): disables all inlining in CleanCSS ( #3943 )
2020-12-21 14:58:20 +01:00
Alexey Pyltsyn
2fb766ba7c
fix(v2): ignore style imports in excerpt ( #3944 )
2020-12-21 14:47:19 +01:00
Sébastien Lorber
b133e2def6
fix(v2): fix i18n build logging. ( #3941 )
...
* better i18n build logging
* better i18n build logging
* better i18n build logging
2020-12-18 19:49:31 +01:00
Sébastien Lorber
ef49c2be72
fix(v2): i18n should not crash theme without footer ( #3940 )
...
* Fix theme translations when no footer
* fix TS issues
2020-12-18 18:02:23 +01:00
Sébastien Lorber
3fc29f4b14
chore(v2): prepare v2.0.0.alpha-70 release ( #3933 )
...
* add alpha 70 changes
* v2.0.0-alpha.70
2020-12-17 20:08:20 +01:00
Sébastien Lorber
df47c1770c
feat(v2): Add <Root> theme element ( #3932 )
...
* Add <Root> component
* add some <Root> doc
2020-12-17 19:38:20 +01:00
Rami
5757cdc7a6
docs(v2): blog.md with docs: false, for blog-only mode ( #3931 )
...
Added ***docs: false,*** to the config for blog-only mode because we do not want any documents if we're in blog-only mode otherwise, we probably wouldn't use blog-only mode.
2020-12-17 19:24:04 +01:00
Varshit Shah
9626e547c9
docs(v2): Removed unnecessary closing parenthesis ( #3924 )
2020-12-16 16:44:47 +01:00
Loïc Poullain
57c336c148
docs(v2): add FoalTS to showcase page ( #3928 )
2020-12-16 16:23:27 +01:00
Sébastien Lorber
6703f8420e
fix(v2): fix navbar items issue on Windows? ( #3922 )
...
* attempt to fix navbar items issue on Windows?
* attempt to fix alias ordering issue on Windows
2020-12-14 20:52:20 +01:00
Sébastien Lorber
b79568fff9
fix(v2): remove useless console log ( #3921 )
2020-12-14 19:53:44 +01:00
Sébastien Lorber
1db0277d36
fix(v2): i18n translation extractor should handle JSX formatting edge cases better ( #3920 )
...
* translation extractor should work despite weirdly formatted JSX or empty text nodes around the content to translate
* fix TS
2020-12-14 19:41:28 +01:00
Sébastien Lorber
aff656182c
feat(v2): Add localeDropdown navbar item type + i18n localeConfigs field ( #3916 )
...
* Add localeDropdown navbar item type
* fix type + add localeConfigs test
2020-12-14 18:28:39 +01:00
Bogdan Doroschenko
3570aa06c8
fix(v2): don't remove viewBox from svg
2020-12-14 16:17:03 +01:00
Alexey Pyltsyn
4d7ebcfc56
chore(v2): remove docs for alpha v64 ( #3912 )
2020-12-13 14:36:43 +03:00
Sébastien Lorber
4dea2c0819
chore(ci): fix canary release filtering ( #3907 )
...
* checkout before using dorny filters
* add runs-on: ubuntu-latest
* fix
2020-12-11 17:10:45 +01:00
Arthur
109a4a7bbe
docs(v2): Move sidebar content to its own page ( #3899 )
...
* Move sidebar content to its own page
* Update website/docs/sidebar.md
* Fix merge conflict
* Fix note
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-12-11 17:02:32 +01:00
Sébastien Lorber
b49006441b
chore(ci): temporarily disable bootstrap deploy preview
2020-12-11 16:47:23 +01:00
Sébastien Lorber
358ef86edf
chore(ci): only publish @canary release if packages/** has changed
2020-12-11 16:37:58 +01:00
dependabot[bot]
37c95e668d
chore(deps): bump ini from 1.3.5 to 1.3.7 ( #3902 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 16:33:17 +01:00
Sébastien Lorber
41ef333e47
feat(v2): inline table-of-contents + refactor TOC ( #3904 )
...
* Add TOCInline theme component
* Add TOCInline theme component doc + migration guide
* remove useless getPathsToWatch on classic theme
* rename rightToc to toc
* add temp theme-bootstrap TOCInline comp to fix build issue
2020-12-11 16:30:53 +01:00
Oliver Ullman
b11c24b752
feat(v2): add custom props for consumption by swizzled sidebar ( #3888 )
2020-12-10 19:49:21 +01:00
Cindy Gu
0b05806593
feat(v2): enable feeds by default in blog plugin ( #3842 )
...
* feat: enables feeds by default in blog
* feat(v2): enable feeds by default
committing a failed attempt for review
* feat(v2): enable feeds by default in blog plugin
- allow validation to work with arrays syntax
- using DEFAULT_OPTIONS.feedOptions.type instead
* feat(v2): enable feeds by default in blog plugin
- added documentation for feedOptions
* feat(v2): enable feeds by default in blog plugin
- modified implementation to allow feeds to be disable without error
- added unit test to ensure type: null leads to type: null after
validation
- added documentation to explain how to disable feed generation
2020-12-10 18:35:19 +01:00
borool
dd8f3257a8
docs(v2): typo ( #3856 )
...
* Typo
That was written 2 times, I removed one "that"
* Update installation.md
* Update installation.md
* Update installation.md
* Update installation.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-12-10 17:13:23 +01:00
Méril
656c04e1d5
fix(v2): correct typo in metas generated for Twitter cards ( #3900 )
...
The Open Graph protocol format is the following:
```
<meta property="og:image" content="https://example.com/image.png />
```
Twitter metas, however, are structured in a different format:
```
<meta name="twitter:image" content="https://example.com/image.png />
```
They are similar but not identical, I think this led to confusion and
the typo we have in the codebase.
2020-12-10 17:09:20 +01:00
Alexey Pyltsyn
b14b9c88f3
fix(v2): do not treat at-rules during CSS minification ( #3896 )
2020-12-08 18:53:35 +03:00
Alexey Pyltsyn
3e12e951b9
fix(v2): use proper element for pagination nav label ( #3895 )
2020-12-08 18:34:39 +03:00
Alex1304
1f3f569f3e
docs(v2): wrap section about custom domains in :::info ( #3891 )
2020-12-07 19:02:01 +01:00
Bartosz Kaszubowski
e00e54a693
fix(v2): improve Footer structure, add class names, use Infima transition ( #3882 )
2020-12-07 16:35:00 +01:00
Bartosz Kaszubowski
9fd8a3c693
chore(ci): increase Lighthouse CI max_timeout ( #3884 )
2020-12-07 15:50:50 +01:00
Alexey Pyltsyn
08f6734bff
chore(v2): remove docs for alpha v62-63 ( #3883 )
2020-12-04 21:05:13 +03:00
Sébastien Lorber
ec297cead0
polish(v2): improve docusaurus deploy logs ( #3880 )
...
* improve deploy logs
* improve deploy logs
2020-12-04 16:50:46 +01:00
Hadrien Milano
c4aeb1982c
fix(v2): dynamic dark mode detection without toggle widget ( #3877 )
...
* fix(v2): dynamic dark mode detection without toggle widget
* Update packages/docusaurus-theme-classic/src/theme/hooks/useTheme.ts
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-12-04 13:27:34 +01:00
hackerman
415a7973f1
fix(v2): load plugin commands async to fix broken plugin CLI commands docs:version
( #3869 )
...
* fix(v2): load plugin commands asynchronously
https://github.com/facebook/docusaurus/blame/master/packages/docusaurus/src/commands/external.ts#L12 changed the exported method to an async function, but the CLI loader was not updated to also run async, breaking things such as `npm run docusaurus docs:version <version>`.
* chore(v2): resolve lint issue
2020-12-03 18:23:26 +01:00
Sébastien Lorber
70dece09e6
docs(v2): missing <ColorGenerator/> mdx import ( #3871 )
2020-12-03 18:17:04 +01:00
Matteo Manzinello
20114f5e0a
docs(v2): From docusaurus-migrate to @docusaurus/migrate ( #3873 )
...
Fix from docusaurus-migrate to @docusaurus/migrate
2020-12-03 18:16:07 +01:00
Bartosz Kaszubowski
9ad02ca466
chore(v1): add missing generated files from v1 to ignores ( #3872 )
2020-12-03 18:13:44 +01:00
Bartosz Kaszubowski
f37987f32f
chore(v2): fix ignore paths and Prettier commands in themes ( #3865 )
...
* chore(v2): fix Prettier ignore paths and commands in themes
* chore(ci): do not ignore v1 lib, remove old .gitignore
* chore(ci): apply tweaks also to eslint ignore
2020-12-03 11:50:03 +01:00
Derric Gilling
d61754b3d5
docs(v2): Add docusaurus-plugin-moesif to community plugins ( #3867 )
2020-12-03 10:49:39 +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
Bartosz Kaszubowski
3f07114758
chore(ci): reduce number of jobs, remove build from lighthouse pipeline ( #3861 )
2020-12-02 10:05:18 +01:00
Bartosz Kaszubowski
7d0b451783
chore: add Yarn v2 cache directory to ignores ( #3860 )
2020-12-01 18:46:21 +01:00
Bartosz Kaszubowski
397fde0b2f
fix(v2): refactor icons in theme-classic, fix swizzle issue ( #3854 )
...
* fix(v2): refactor icons in theme-classic, fix swizzle issue
* apply review suggestion
* fix IconMenu className
2020-12-01 17:56:11 +01:00
François Chalifour
915f949c25
fix(v2): fix DocSearch keyboard navigator ( #3853 )
...
* fix(v2): fix DocSearch keyboard navigator
* Update index.js
* Update index.js
* Update index.js
* Update index.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-12-01 17:49:14 +01:00
Sébastien Lorber
9d34214205
chore(v2): disable Crowdin for deploy previews ( #3858 )
2020-12-01 17:26:01 +01:00