mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-25 18:13:52 +03:00
Fixed canonical path in docusaurus.
This commit is contained in:
parent
dcd1549211
commit
9f7b50c9c9
@ -7,7 +7,12 @@ module.exports = {
|
||||
tagline: 'A simple language for developing full-stack web apps with less code.',
|
||||
// url, baseUrl, organizationName, projectName and trailingSlash are set according to the
|
||||
// instructions in https://docusaurus.io/docs/deployment#deploying-to-github-pages .
|
||||
url: 'https://wasp-lang.github.io',
|
||||
// NOTE: Although docusaurus warns that `url` should have no sub-path in it, we added `/wasp`
|
||||
// as a sub-path because canonical/alternate/og and other urls in <head>` are otherwise
|
||||
// incorrect (they are missing `/wasp`) part. Therefore, ignore the Docusaurus warning
|
||||
// about how we should remove the `/wasp` sub-path from `url`.
|
||||
// I opened an issue about this here: https://github.com/facebook/docusaurus/issues/6004 .
|
||||
url: 'https://wasp-lang.github.io/wasp',
|
||||
baseUrl: '/', // Should be name of repo if hosted on Github Pages, but can be just '/' if custom domain is used.
|
||||
organizationName: 'wasp-lang', // Should be GitHub org/user name if hosted on Github Pages.
|
||||
projectName: 'wasp', // Should be repo name if hosted on Github Pages.
|
||||
|
Loading…
Reference in New Issue
Block a user