Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website #646

Merged
merged 21 commits into from
Jul 3, 2023
Merged

Website #646

merged 21 commits into from
Jul 3, 2023

Conversation

trace2798
Copy link
Contributor

Added the website. Working on docs and example layout

Copy link
Owner

@iamvishnusankar iamvishnusankar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trace2798 Thanks for this PR 🙏

Here're some suggestion:

  • Rename website folder to docs
  • Edit the root package.json of main project and add the following in workspaces entry:
{
   "workspaces": {
       "packages": [
          "packages/*",
           "examples/*",
           "docs"
       ]
 }

@@ -0,0 +1,30 @@
{
"name": "website",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set name: "docs"

@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the website static by adding output prop

/** @type {import('next').NextConfig} */
const nextConfig = {
  output: 'export',
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On it

"typescript": "5.0.4"
},

"workspaces": {
Copy link
Owner

@iamvishnusankar iamvishnusankar May 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not here, add it on root package.json. This file

"workspaces": {
"packages": [
"packages/*",
"examples/*"
]
},

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad got it now tho

docs/yarn.lock Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trace2798 Remove this file in favour of root yarn.lock. Run install commands on root directory

Copy link
Owner

@iamvishnusankar iamvishnusankar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trace2798 Thanks for this PR! Approved 🙏

@iamvishnusankar iamvishnusankar merged commit 73aaff2 into iamvishnusankar:master Jul 3, 2023
ariesclark pushed a commit to ariesclark/next-sitemap-x that referenced this pull request Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants