Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions docs/Create new docs from existing docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@


# Create New Docs from Existing Docs

## Step 1: Access the Documentation Site
![Documentation Site](/img/create_new_docs_from_existing_docs/step_2.png)
Navigate to your user-facing documentation site. You should see options like "Home", "User-facing docs", "Integrations", etc. in the sidebar.

## Step 2: Use AI to Generate a New Page
![Generate New Page](/img/create_new_docs_from_existing_docs/step_3.png)
Click on "More with AI" to open the AI generation options.

## Step 3: Select Document Location
![Select Location](/img/create_new_docs_from_existing_docs/step_4.png)
Choose where you want to create the new document or page. In this example, "docs" is selected.

## Step 4: Choose Context
![Choose Context](/img/create_new_docs_from_existing_docs/step_5.png)
Select which existing docs you want to use as context for the new document. You can choose from available folders.

## Step 5: Add Additional Context
![Add Context](/img/create_new_docs_from_existing_docs/step_6.png)
If needed, add more context by selecting additional folders or files.

## Step 6: Enter Your Prompt
![Enter Prompt](/img/create_new_docs_from_existing_docs/step_7.png)
Type your document prompt in the provided field. For example, you could ask "What are good use cases for Fumadocs?"

## Step 7: Generate Content
![Generate Content](/img/create_new_docs_from_existing_docs/step_8.png)
After entering your prompt, the AI will generate content based on your input and the selected context.

## Step 8: Review Generated Content
![Review Content](/img/create_new_docs_from_existing_docs/step_9.png)
Review the AI-generated content. In this example, it has created a list of good use cases for Fumadocs.

## Step 9: Modify Content (Optional)
![Modify Content](/img/create_new_docs_from_existing_docs/step_10.png)
If needed, you can modify the current content or generate new content using the provided options.

## Step 10: Make Final Adjustments
![Final Adjustments](/img/create_new_docs_from_existing_docs/step_11.png)
Make any final adjustments to the content as needed.

## Step 11: Publish the Document
![Publish Document](/img/create_new_docs_from_existing_docs/step_12.png)
Once you're satisfied with the content, click the "Publish" button to make the new document live.

## Step 12: Confirm Changes
![Confirm Changes](/img/create_new_docs_from_existing_docs/step_13.png)
After publishing, you may see a confirmation or additional options related to the new document.

## Step 13: Review in GitHub
![Review in GitHub](/img/create_new_docs_from_existing_docs/step_18.png)
If your documentation is connected to a GitHub repository, you can review the changes there. You'll see new branches created for the updates.