docusaurus/website
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
..
community docs(v2): add mr-pdf to resources (#4818) 2021-05-25 12:28:33 +03:00
docs feat(v2): add trailingSlash config option (#4908) 2021-06-09 19:59:39 +02:00
dogfooding fix(v2): BaseUrl issue banner insertion should be prevented if JS can load (#4155) 2021-02-02 16:43:25 +01:00
src fix(v2): fix minor a11y issues (#4906) 2021-06-09 13:33:08 +02:00
static docs(v2): Docusaurus 2 beta blog post (#4756) 2021-05-12 16:08:07 +02:00
versioned_docs feat(v2): add trailingSlash config option (#4908) 2021-06-09 19:59:39 +02:00
versioned_sidebars docs(v2): remove docs for alpha 71 + 72 (#4780) 2021-05-12 17:18:37 +02:00
babel.config.js feat(v2): Allow configuring babel via babel.config.js (#2903) 2020-06-12 11:03:00 +08:00
delayCrowdin.js chore(v2): attempt to fix crowdin dl again (#4746) 2021-05-06 19:12:13 +02:00
docusaurus.config-blog-only.js chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus.config.js feat(v2): add trailingSlash config option (#4908) 2021-06-09 19:59:39 +02:00
netlify.toml feat(v2): Webpack 5, PostCSS 8 (#4089) 2021-04-30 18:06:53 +02:00
package.json docs(v2): New doc page for math equations (#4821) 2021-06-02 14:55:50 +02:00
README.md
sidebars.js docs(v2): New doc page for math equations (#4821) 2021-06-02 14:55:50 +02:00
sidebarsCommunity.js chore(v2): add external link to community sidebar (#4858) 2021-06-02 16:59:20 +02:00
tsconfig.json docs(v2): Document TypeScript support (#2997) 2020-06-26 12:09:21 +02:00
versions.json docs(v2): remove docs for alpha 71 + 72 (#4780) 2021-05-12 17:18:37 +02:00
waitForCrowdin.js chore(v2): attempt to fix crowdin dl again (#4746) 2021-05-06 19:12:13 +02:00

Docusaurus 2 Website

Installation

  1. yarn install in the root of the repo (one level above this directory).
  2. In this directory, do yarn start.
  3. A browser window will open up, pointing to the docs.