Skip to content

Commit 11ce74a

Browse files
committed
Updated developer docs: 2025-03-13T19:57:51+0000
1 parent f76467a commit 11ce74a

File tree

8 files changed

+88
-63
lines changed

8 files changed

+88
-63
lines changed

docs/Enabling automations.md

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@ The `dev-docs.json` file should be placed in the root directory of your reposito
1616

1717
### Required Fields
1818

19-
* `gitHubApp`: Object containing GitHub-related configurations
20-
21-
* `approvalWorkflow`: Boolean, enables or disables the approval workflow
22-
23-
* `userDocsWorkflows`: Array of strings, specifies which documentation workflows to run
24-
25-
* `issueNotifications`: Array of strings, GitHub usernames to notify on issue creation
19+
* `gitHubApp`: Object containing GitHub-related configurations
20+
* `approvalWorkflow`: Boolean, enables or disables the approval workflow
21+
* `userDocsWorkflows`: Array of strings, specifies which documentation workflows to run
22+
* `issueNotifications`: Array of strings, GitHub usernames to notify on issue creation
2623

2724
## Example Configuration
2825

@@ -39,30 +36,20 @@ The `dev-docs.json` file should be placed in the root directory of your reposito
3936

4037
## Field Descriptions
4138

42-
1. `gitHubApp.approvalWorkflow`: When set to `true`, creates an approval issue before generating documentation. This is recommended so your team decides when to actually attempt to generate documentation as your code changes.
43-
44-
2. `gitHubApp.userDocsWorkflows`: Specifies which documentation workflows to run:
45-
46-
* `"generateUserDocs"`: Automatically generates and updates documentation files
47-
48-
* `"generateDocsIssue"`: Creates issues to track documentation changes
49-
50-
3. `gitHubApp.issues`: Optional but recommend field that is a boolean that allows the GitHub app to create issues on the project
51-
52-
4. `gitHubApp.issueNotifications`: List of GitHub usernames to be notified when documentation-related issues are created.
53-
54-
5. `gitHubApp.connectedOrg`: Optional field, if you have multiple orgs can you can set what org is associated to your repo
55-
56-
6. `gitHubApp.branches`: Optional field that is an array of branches you specificy the GitHub App to listen, such as or `['branch_a', 'branch_b']` or you can use `['*']` to listen for all branch changes. If omitted the GitHub app will only listen for changes on the default branch.
39+
1. `gitHubApp.approvalWorkflow`: When set to `true`, creates an approval issue before generating documentation. This is recommended so your team decides when to actually attempt to generate documentation as your code changes.
40+
2. `gitHubApp.userDocsWorkflows`: Specifies which documentation workflows to run:
41+
* `"generateUserDocs"`: Automatically generates and updates documentation files
42+
* `"generateDocsIssue"`: Creates issues to track documentation changes
43+
3. `gitHubApp.issues`: Optional but recommend field that is a boolean that allows the GitHub app to create issues on the project
44+
4. `gitHubApp.issueNotifications`: List of GitHub usernames to be notified when documentation-related issues are created.
45+
5. `gitHubApp.connectedOrg`: Optional field, if you have multiple orgs can you can set what org is associated to your repo
46+
6. `gitHubApp.branches`: Optional field that is an array of branches you specificy the GitHub App to listen, such as or `['branch_a', 'branch_b']` or you can use `['*']` to listen for all branch changes. If omitted the GitHub app will only listen for changes on the default branch.
5747

5848
## Usage
5949

60-
1. Make sure you have a docs.dev account, have installed the GitHub App on your docs repo, and the codebase you want to document.
61-
62-
2. Create a `dev-docs.json` file in your repository's root directory.
63-
64-
3. Configure the fields according to your documentation needs.
65-
66-
4. Commit and push the file to your repository.
50+
1. Make sure you have a docs.dev account, have installed the GitHub App on your docs repo, and the codebase you want to document.
51+
2. Create a `dev-docs.json` file in your repository's root directory.
52+
3. Configure the fields according to your documentation needs.
53+
4. Commit and push the file to your repository.
6754

6855
The system will now use these settings to automatically generate and update documentation based on your code changes.

docs/Quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ sidebar_position: 2
88
Welcome to Docs.dev! Follow the steps below to get started in ***under 5 minutes***.
99

1010
## Prerequisites
11-
* A GitHub account for authenticating with [Docs.dev](http://Docs.dev).
12-
* A documentation repo in GitHub. If you do not have one, go [here](/docs/editor/connect-the-starter-template-to-the-ai-editor) and follow the guide to set up a new docs repo using our open source Docusaurus template.
11+
* A GitHub account for authenticating with [Docs.dev](http://Docs.dev).
12+
* A documentation repo in GitHub. If you do not have one, go [here](/docs/editor/connect-the-starter-template-to-the-ai-editor) and follow the guide to set up a new docs repo using our open source Docusaurus template.
1313

1414
## Create account
1515
Go to [app.docs.dev](http://app.docs.dev) and log in with GitHub to create your account and create an org within Docs.dev.

docs/automations.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ sidebar_position: 4
88

99
Prevent documentation drift by automating your docs directly in the GitHub workflow
1010

11-
* Generate docs from PRs
12-
13-
* Get flagged when docs are out of date
14-
15-
* and more
11+
* Generate docs from PRs
12+
* Get flagged when docs are out of date
13+
* and more
1614

1715
This feature is in beta. Reach out directly to get set up.

docs/editor/connect-the-starter-template-to-the-ai-editor.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ On the GitHub page, click on **New repo** to create a new repo for your document
1919
## Step 4: Set up the repo details
2020
Fill in the repository details:
2121

22-
* Choose the repository template (e.g., team-dev-docs/starter-template-v3)
23-
* Set the owner
24-
* Name your repository (e.g., my\_cool\_new\_docs)
25-
* Choose visibility (public or private)
22+
* Choose the repository template (e.g., team-dev-docs/starter-template-v3)
23+
* Set the owner
24+
* Name your repository (e.g., my\_cool\_new\_docs)
25+
* Choose visibility (public or private)
2626

2727
Click **Create repository** when done.
2828

docs/managingcontent/advancedAItools.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ Refer to the guides below to learn how to learn how you can use AI to help you g
1414

1515
**Audit docs** allows you to have AI scan your existing docs based on any prompt of your choosing. Examples of how to use it include spelling and grammar checks across your docs or making broad sweeping changes across all your docs, such as changing names or links. Follow the steps below to audit your existing docs:
1616

17-
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Audit docs** in the drop down menu.
18-
* Select which docs or folders you would like to check against. If you would like for the AI to also check your docs against your codebase, you can select the checkbox. Selecting this will bring the codebases you have connected to the GitHub App into the same drop down menu.
19-
* Add any prompt you choose into the **Describe what you want to audit field**.
20-
* Select **Submit** once you have your prompt ready and let the AI go to work.
17+
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Audit docs** in the drop down menu.
18+
* Select which docs or folders you would like to check against. If you would like for the AI to also check your docs against your codebase, you can select the checkbox. Selecting this will bring the codebases you have connected to the GitHub App into the same drop down menu.
19+
* Add any prompt you choose into the **Describe what you want to audit field**.
20+
* Select **Submit** once you have your prompt ready and let the AI go to work.
2121

2222
When complete, you will see a table of suggested changes when finished. Select which docs you would like it automatically generate. Everything generated here will go back into the web editor so you can edit as you see fit and then push to the GitHub branch of your choosing when ready.
2323

2424
## Analyze docs
2525

2626
The **Analyze docs** feature allows you to analyze the quality of your existing documentation as a whole. Note that this doesn't check against individual docs but instead your entire docs repo. Follow the steps below to analyze your existing docs:
2727

28-
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Analyze docs** in the drop down menu.
29-
* Once selected the AI will go to work and will start to analyze your docs.
28+
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Analyze docs** in the drop down menu.
29+
* Once selected the AI will go to work and will start to analyze your docs.
3030

3131
When finished you'll see a list of personas that have grades against them. These are the personas that the AI believes your docs are intended to be positioned towards, as well as a grade for how effective they are at speaking to that persona. Below you'll see the AI suggest some docs that it believes will be helpful to add to your docs site to improve the effectiveness for a given persona. Select which files you'd like to generate and let the AI create some drafts for you.
3232

@@ -36,21 +36,21 @@ Everything generated here will go back into the web editor so you can edit as yo
3636

3737
The **Generate content** feature allows you to generate new docs from your existing documentation and other connected codebases. Follow the steps below to generate a new doc:
3838

39-
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Generate content** in the drop down menu.
40-
* Select which docs you would like to use as context.
41-
* (Optional) You can also check the checkbox to use your other connected codebases as context.
42-
* Once you have all your context selected, insert your prompt into the text field and hit submit to get a new doc page.
39+
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Generate content** in the drop down menu.
40+
* Select which docs you would like to use as context.
41+
* (Optional) You can also check the checkbox to use your other connected codebases as context.
42+
* Once you have all your context selected, insert your prompt into the text field and hit submit to get a new doc page.
4343

4444
Everything generated here will go back into the web editor so you can edit as you see fit and then push to the GitHub branch of your choosing when ready.
4545

4646
## Generate docs from code objects
4747

4848
This feature allows you to generate net new docs from code objects in your codebase or SDK. The AI will search your selected codebase for relevant code objects and recommend which it believes should have docs on them. Follow the steps below to generate docs from code objects:
4949

50-
* Select the **AI tools** drop down in the top right hand corner of the web editor and select **Code objects** in the drop down menu.
51-
* Go through the drop down menus to select which code files the code objects are defined in and then which files have relevant context (if any) for those code objects.
52-
* Enter in which types of objects you would like the AI to search for and suggest docs for.
53-
* Select **Submit** and the AI will go into the selected codebase(s) to find the relevant objects it believes will be helpful to document.
50+
* Select the **AI tools** drop down in the top right hand corner of the web editor and select **Code objects** in the drop down menu.
51+
* Go through the drop down menus to select which code files the code objects are defined in and then which files have relevant context (if any) for those code objects.
52+
* Enter in which types of objects you would like the AI to search for and suggest docs for.
53+
* Select **Submit** and the AI will go into the selected codebase(s) to find the relevant objects it believes will be helpful to document.
5454

5555
When finished, you will see a table of suggested docs where you can select which docs you would like to generate. Everything generated here will go back into the web editor so you can edit as you see fit and then push to GitHub when ready.
5656

@@ -60,7 +60,7 @@ Note: the files in the drop down menus are from the codebases you connected to o
6060

6161
The Generate complete docs feature is meant for those without any existing documentation footprint. Using this feature will have the AI scan your selected codebase and suggest multiple documentation pages that it believes will help a user leverage your product. You can then select which pages you want it to create. Follow the steps below to generate a set of new docs directly from your codebase:
6262

63-
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Generate complete docs** in the drop down menu.
64-
* Select which codebase you would like to generate docs for and then select **Generate documentation**.
63+
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Generate complete docs** in the drop down menu.
64+
* Select which codebase you would like to generate docs for and then select **Generate documentation**.
6565

6666
Watch the AI go to work and generate a new set of docs for your project. Once generated, everything generated will go back into the web editor so you can edit as you see fit and then push to the GitHub branch of your choosing when ready.

docs/managingcontent/webeditor.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ Highlight any text and select **AI tools **to have AI assist your writ
2626
### Drop down menu
2727
Highlight any text, select the `+` button, or type `/` to view a drop down menu where you can:
2828

29-
* Format headings
30-
* Create bulleted and numbered lists
31-
* Insert a code block
32-
* Add and image
33-
* Add a table
34-
* Ask Docs.dev AI for assistance
29+
* Format headings
30+
* Create bulleted and numbered lists
31+
* Insert a code block
32+
* Add and image
33+
* Add a table
34+
* Ask Docs.dev AI for assistance
3535

3636
### Add and edit frontmatter
3737
Select the information button on the top right of web editor to add or edit frontmatter.

logo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"logo": "/img/ddlogo.png"
2+
"logo": "/img/docsdevnewlogohorizontal.svg"
33
}

0 commit comments

Comments
 (0)