Skip to content

Conversation

@Mcheung7272
Copy link
Contributor

@Mcheung7272 Mcheung7272 commented Dec 9, 2025

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

It'd be nice to create a new docusaurus project inside of a directory instead of using a subfolder and a subsequent command to move the files to the correct parent folder.

Test Plan

  1. Yarn build
  2. Create a test folder at root level
  3. cd to test folder and run node ../packages/create-docusaurus/bin/index.js . classic --typescript
  4. Confirm new docusaurus project is created inside the current directory (ie test)

Related issues/PRs

fix #1768

@meta-cla meta-cla bot added the CLA Signed Signed Facebook CLA label Dec 9, 2025
@netlify
Copy link

netlify bot commented Dec 9, 2025

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 61029e4
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/69377bf1e2b0130008a05e79
😎 Deploy Preview https://deploy-preview-11611--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Dec 22, 2025
Copy link
Collaborator

@slorber slorber left a comment

Choose a reason for hiding this comment

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

That seems to work well, thanks

@slorber slorber merged commit 47a98a1 into facebook:main Dec 22, 2025
46 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't create project inside existing dir

2 participants