You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Enabling automations.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,20 +36,20 @@ The `dev-docs.json` file should be placed in the root directory of your reposito
36
36
37
37
## Field Descriptions
38
38
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.
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.
47
47
48
48
## Usage
49
49
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.
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.
54
54
55
55
The system will now use these settings to automatically generate and update documentation based on your code changes.
Copy file name to clipboardExpand all lines: docs/Quickstart.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ sidebar_position: 2
8
8
Welcome to Docs.dev! Follow the steps below to get started in ***under 5 minutes***.
9
9
10
10
## 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.
13
13
14
14
## Create account
15
15
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.
Copy file name to clipboardExpand all lines: docs/managingcontent/advancedAItools.md
+16-17Lines changed: 16 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
14
14
15
15
**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:
16
16
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.
21
21
22
22
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.
23
23
24
24
## Analyze docs
25
25
26
26
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:
27
27
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.
30
30
31
31
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.
32
32
@@ -36,21 +36,20 @@ Everything generated here will go back into the web editor so you can edit as yo
36
36
37
37
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:
38
38
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.
43
43
44
44
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.
45
45
46
46
## Generate docs from code objects
47
47
48
48
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:
49
-
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.
49
+
* 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.
50
+
* 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.
51
+
* Enter in which types of objects you would like the AI to search for and suggest docs for.
52
+
* Select **Submit** and the AI will go into the selected codebase(s) to find the relevant objects it believes will be helpful to document.
54
53
55
54
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.
56
55
@@ -60,7 +59,7 @@ Note: the files in the drop down menus are from the codebases you connected to o
60
59
61
60
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:
62
61
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**.
62
+
* Select **AI tools** in the top right hand corner of the web editor and navigate to **Generate complete docs** in the drop down menu.
63
+
* Select which codebase you would like to generate docs for and then select **Generate documentation**.
65
64
66
65
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.
0 commit comments