* docs: refactor & refine lifecycle API docs
* Fix links
* More writeup
* Rewording
* Rename path
* Use README
* Fix links
* Add redirects
* Do the same for latest version as well
* Move folder
* Fix broken link
* feat: changed the logo properties to allow width/height specification
* fixup! feat: changed the logo properties to allow width/height specification
* fixup! feat: changed the logo properties to allow width/height specification
* Rework: add fields to logo object
* Fix
* More fixes
* Wrong width!
* No need for optional chaining
* Doc writeup
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
* 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
* refactor(v2): remove type attribute from link and script tags
* minor TS fix
* stylesheets.type => optional
Co-authored-by: slorber <lorber.sebastien@gmail.com>
* 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
* Creating a way to configure the port used on the guthub deploy.
* Fixing some mistakes
Documenting
Adding githubPort documentation on docusaurus.config.js.
Addind SSH protocol prefix. ssh://
Using the default protocol port instead of define it on the code.
Prettify.
* Fixing some mistakes
Documenting
Adding githubPort documentation on docusaurus.config.js.
Addind SSH protocol prefix. ssh://
Using the default protocol port instead of define it on the code.
Prettify.
* Isolating the logic to generate the url and testing it.
* Changing all the names used on tests to something more unserstandable.
* Prettify
Co-authored-by: Tales Porto <t.andrade-porto@klarna.com>
* feat(v2): add support for RTL
* Move to i18n config
* Move direction to localeConfigs
* Create RTL styles for Docusaurus styles (via new hook)
* update infima to alpha 19
* fix minor type error
* Fix build
* Cleanup
* polish RTL support
* polish RTL support
* revert english rtl dir
* minor RTL fix
* minor doc updates
Co-authored-by: slorber <lorber.sebastien@gmail.com>
* refactor(v2): move `reportMessage` from `core/src/server/utils` to `utils` package
* feat(v2): handle broken markdown links by using onBrokenLinks prop from siteconfig
* feat(v2): add a new site config prop called `onBrokenMarkdownLinks`
works like onBrokenLinks, but only for markdown links
* feat(v2): add `onBrokenMarkdownLinks` to API docs
* some changes regarding test issues after adding `onBrokenMarkdownLink`
* Update website/versioned_docs/version-2.0.0-alpha.66/api/docusaurus.config.js.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
* feat(v2): add custom title delimiter to the theme classic
* fix validation tests
* remove title delimiter fallback
* move titleDelimiter to main config, update theme-bootstrap
* remove test value from config
* update test snapshot
* Improve docs
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>