Pratyay Banerjee
4eb1b58fb0
feat(v2): theme default translations Bengali ( #4939 )
...
* init cleaning v1
• clean copy of base.json
Signed-off : <@Neilblaze>
* update 0.0.1
* update 0.0.2
* update 0.0.3 ~ final review
Added support for BN translations for package
signed off : @Neilblaze <putubanerjee23@gmail.com>
2021-06-10 15:32:29 +02:00
Alexey Pyltsyn
2913bd0fdf
fix(v2): tidy up Markdown page layout ( #4917 )
2021-06-10 15:22:34 +02:00
Sébastien Lorber
b835aecaec
chore: removal of Docusaurus v1 code from master (it is now available on docusaurus-v1 branch) ( #4902 )
2021-06-10 10:54:07 +02:00
Sébastien Lorber
df8a900f9c
feat(v2): add trailingSlash config option ( #4908 )
...
* POC: add trailingSlash option
* integrate the preferFoldersOutput option of fork @slorber/static-site-generator-webpack-plugin
* Fix broken links when using trailing slash => using md links is more reliable
* fix TS issue
* minor polish
* fix doc page being sensitive to trailing slashes
* Add tests for applyTrailingSlash
* rename test files
* extract and test applyRouteTrailingSlash
* update snapshot
* add trailing slash config to serve command
* fix getSidebar() => still sensitive to trailing slash setting
* never apply trailing slash to an anchor link
* Add documentation for trailingSlash setting
2021-06-09 19:59:39 +02:00
Alexey Pyltsyn
77264f1eb0
refactor(v2): make doc item layout more semantic ( #4903 )
...
* refactor(v2): make doc item layout more semantic
* Bring back div.markdown
2021-06-09 17:08:36 +02:00
Alexey Pyltsyn
a5d3d28ce6
fix(v2): respect baseUrl in serving command ( #4924 )
...
* fix(v2): respect baseUrl in serving command
* update yarnlock
* add lighter loadSiteConfig method
* suggest another implementation
* do the cleanup
* do the cleanup
* remove useless returns
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-09 17:06:07 +02:00
Alexey Pyltsyn
a024d23fda
refactor(v2): reduce vertical space in doc content container ( #4877 )
...
* refactor(v2): reduce vertical space in doc content container
* Avoid to utility class
* Fixes
2021-06-09 16:19:11 +02:00
Alexey Pyltsyn
55e9bd8ac9
refactor(v2): remove type attribute from link and script tags ( #4907 )
...
* refactor(v2): remove type attribute from link and script tags
* minor TS fix
* stylesheets.type => optional
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-09 14:55:47 +02:00
Alexey Pyltsyn
d81d43c247
fix(v2): render children in BrowserOnly after client is ready ( #4935 )
...
* fix(v2): render children in BrowserOnly after client is ready
* Fix fallback issue
2021-06-09 13:41:57 +02:00
Alexey Pyltsyn
869f4bf206
fix(v2): fix minor a11y issues ( #4906 )
2021-06-09 13:33:08 +02:00
Alexey Pyltsyn
d0bbdd0535
refactor(v2): improve markup and styling on search page ( #4919 )
2021-06-09 13:30:01 +02:00
Alexey Pyltsyn
f71e83450f
refactor(v2): do not generate RSS files for empty feed ( #4905 )
2021-06-09 13:26:53 +02:00
Alexey Pyltsyn
526ce44933
refactor(v2): use SVG for external link icon ( #4914 )
2021-06-09 13:05:13 +02:00
Alexey Pyltsyn
df19bbd145
refactor(v2): replace strong with b in UI components ( #4916 )
2021-06-09 13:02:31 +02:00
Alexey Pyltsyn
2303d6557b
refactor(v2): hide decorative SVGs from screen readers ( #4926 )
2021-06-09 12:25:42 +02:00
Alexey Pyltsyn
ce0764033c
chore(v2): bump react-waypoint from 9.0.2 to 10.1.0 ( #4915 )
2021-06-07 19:40:06 +02:00
Alexey Pyltsyn
f10304dd11
fix(v2): adjust margin after content title ( #4900 )
2021-06-03 19:46:55 +02:00
Sébastien Lorber
57806798c5
fix(v2): fix contentTitle issues when markdown h1 title contains code blocks ( #4882 )
...
* attempt to fix contentTitle issues when markdown h1 title contains inline code blocks
* mention hide_title frontmatter only prevents frontmatter.title from being added in the dom (not a markdown # title in content)
* alwayss insert MainHeading under the div.markdown container for consistency
* ensure MainHeading has no useless id
* revert https://github.com/facebook/docusaurus/pull/4859 as it's now useless: docMeta.title contains the text/frontmatter title in priority over the contentTitle
* fix docs test after revert
* improve markdownParser and fix tests
* fix docs tests
* markdownParser: restore option to remove contentTitle (mostly for blog plugin)
* use removeContentTitle for blog
2021-06-03 17:45:19 +02:00
Alexey Pyltsyn
85e87b560e
refactor(v2): add exception handling if external command is fails ( #4870 )
...
* refactor(v2): add handle exception if external command is fails
* Use `unhandledRejection` event
2021-06-03 15:15:59 +02:00
Alexey Pyltsyn
1349ece883
fix(v2): escape HTML entities in user tags attributes ( #4894 )
2021-06-03 14:52:13 +02:00
Alexey Pyltsyn
a1c17c76e8
fix(v2): use aliased path for blog list sidebar file ( #4860 )
2021-06-02 20:02:28 +02:00
Alexey Pyltsyn
35bdde3409
fix(v2): allow relative sidebar path resolution in docs:version command ( #4861 )
...
* fix(v2): allow relative sidebar path resolution in docs:version command
* factorize sidebarPath option resolution logic + dogfood
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-02 18:21:45 +02:00
Alexey Pyltsyn
0417ab9532
fix(v2): use frontmatter title at first for paginated links ( #4859 )
2021-06-02 17:02:48 +02:00
Alexey Pyltsyn
d72f760e4d
refactor(v2): remove sidebar_label filed from doc metadata file ( #4863 )
2021-06-02 16:52:41 +02:00
Alexey Pyltsyn
644f148a8b
fix(v2): remove Markdown heading id from excerpt ( #4862 )
2021-06-02 16:20:53 +02:00
Alexey Pyltsyn
d2e4e60cd5
refactor(v2): make little better doc details info UI ( #4865 )
2021-06-02 16:19:41 +02:00
Alexey Pyltsyn
15d451942c
refactor(v2): make even better SSR error notify and add tip ( #4875 )
2021-06-02 15:58:59 +02:00
Alexey Pyltsyn
35b1941a0b
fix(v2): unbreak adding of custom HTML metadatas ( #4871 )
...
* fix(v2): unbreak adding of custom HTML metadatas
* Correct solution
* Update website/docusaurus.config.js
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-06-02 12:20:32 +02:00
Alexey Pyltsyn
1decd6f801
refactor(v2): output URL to console only if it has changed ( #4866 )
2021-05-29 18:18:43 +08:00
Alexey Pyltsyn
dc0336a34f
chore(v2): update @docsearch/react ( #4867 )
2021-05-29 11:37:13 +03:00
Alexey Pyltsyn
a9343a1916
fix(v2): adjust padding for custom search box location ( #4856 )
2021-05-28 11:01:26 +03:00
Alexey Pyltsyn
5bc0209f56
chore(v2): update Infima to v0.2.0-alpha.24 ( #4855 )
2021-05-28 10:58:23 +03:00
Alexey Pyltsyn
ff31de0ff6
chore(v2): unlock prism-react-renderer version ( #4834 )
2021-05-21 22:55:51 +03:00
Alexey Pyltsyn
8f13981d60
fix(v2): bump cssnano packages ( #4833 )
2021-05-21 22:24:50 +03:00
Alexey Pyltsyn
56b6b01cd1
fix(v2): pin prism-react-renderer version to 1.1.1 ( #4830 )
2021-05-21 17:48:36 +03:00
Lior Heber
db6f5ce729
fix(v2): Amend Hebrew translations ( #4819 )
...
Co-authored-by: liorheber <heber.lior@google.com>
2021-05-20 11:03:41 +02:00
Alexey Pyltsyn
6392f88bb6
chore(v2): upgrade dependencies ( #4816 )
2021-05-19 10:11:53 +02:00
nirtamir2
2cd9fd6e27
fix(v2): Fix Hebrew translations ( #4815 )
...
* Update he.json
Change "2" form of plural type to not include 2 number in hebrew
* change Hebrew translation
2021-05-19 10:08:06 +02:00
Nam Hoang Le
1ab8aa0af8
fix(v2): improve dx sidebar config, ability to have no sidebars file ( #4775 )
...
* Improve sidebar config
* Edit message
* fix some little issues in the way undefined/false sidebars are handled
* remove old error message as it has been moved to a better place
Co-authored-by: Nam Hoang Le <nam.hoang.le@mgm-tp.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-05-18 18:27:46 +02:00
Nam Hoang Le
e85ec1ab12
refactor(v2): purify normalizeUrl ( #4814 )
...
Co-authored-by: Nam Hoang Le <nam.hoang.le@mgm-tp.com>
2021-05-18 17:57:39 +02:00
Nam Hoang Le
fa7aa08100
feat(v2): improve DocFrontMatter schema validation ( #4796 )
...
Co-authored-by: Nam Hoang Le <nam.hoang.le@mgm-tp.com>
2021-05-18 16:14:09 +02:00
Alexey Pyltsyn
0360364570
fix(v2): do not focus on skip link if page refreshed ( #4797 )
...
* fix(v2): do not focus on skip link if page refreshed
* rename ref
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-05-18 15:55:11 +02:00
Sébastien Lorber
ab19070ab5
feat(v2): Add hebrew theme translations ( #4811 )
2021-05-18 15:22:38 +02:00
Alexey Pyltsyn
d2a455992d
fix(v2): fix minor a11y issue with headings ( #4792 )
2021-05-18 14:41:30 +02:00
Alexey Pyltsyn
be9f9d6df7
refactor(v2): remove transition on body element ( #4795 )
2021-05-18 14:38:13 +02:00
Alexey Pyltsyn
b561679fd4
fix(v2): unbreak enhanced width of doc item wrapper ( #4793 )
2021-05-18 12:56:09 +02:00
Alexey Pyltsyn
c0b8e9116a
chore(v2): update sharp to 0.28.2 ( #4806 )
2021-05-18 09:53:04 +02:00
PsychTech
73c24ecdcb
feat(v2): add theme Danish translation ( #4798 )
2021-05-17 19:34:57 +02:00
besemuna
69be003e12
feat(v2): allow config plugins as function or [function,options] ( #4618 )
...
* feat : update PluginSchema validation
* feat : update plugin init functionality
* test : add and update tests
* fix : tests
* refactor : init.ts
* test : update test
* docs : add functional plugin docs
* fix little issues
* refactor : refactor code
* minor refactors
* simplify initPlugins code
* simplify initPlugin + add custom validation error message
* fix snapshots
* improve function plugin doc
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-05-15 19:33:05 +02:00
Nam Hoang Le
e092910627
fix(v2): improve BlogPostFrontMatter schema validation ( #4759 )
...
* fix(v2): improve BlogPostFrontMatter schema validation
* Edit doc
* Add deprecate warning message
* minor changes, disable warnings temporarily
* only disable warnings + fix frontmatter date type
Co-authored-by: Nam Hoang Le <nam.hoang.le@mgm-tp.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-05-14 18:52:51 +02:00