|
| 1 | + |
| 2 | + |
| 3 | +# Integrate Dev-Docs with a Custom Docs Repo |
| 4 | + |
| 5 | +## Step 1: Navigate to Dev-Docs Website |
| 6 | + |
| 7 | +On the Dev-Docs website (https://www.dev-docs.io/dash), find the SVG icon with the text " " and click on it. |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +## Step 2: Select External Docs Option |
| 12 | + |
| 13 | +Click on the "External" option from the dropdown on the left. |
| 14 | + |
| 15 | +## Step 3: Click on the Settins Icon |
| 16 | + |
| 17 | +On the external docs page (https://www.dev-docs.io/external_docs), find the settings icon and click on it. |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +## Step 4: Enter Repository Details |
| 22 | + |
| 23 | +Enter the details of your custom docs repository in the input field. |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +## Step 5: Open Github Integration Modal |
| 28 | + |
| 29 | +Find and click on the DIV containing the text "Setup," "GPT Github Setup," "Live Playground Examples," and other related options. |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +## Step 6: Navigate to Your Docs Repo |
| 34 | + |
| 35 | +Go to Github to get both a Personal Access Token as well as the name of your Repo |
| 36 | + |
| 37 | +## Step 7: Click on Profile Picture |
| 38 | + |
| 39 | +On the GitHub repository page (https://github.com/avb-is-me/nextra/tree/main), find the profile picture (IMG) and click on it. |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +## Step 8: Navigate to Settings |
| 44 | + |
| 45 | +Click on the "Settings" option. |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +## Step 9: Open Developer Settings |
| 50 | + |
| 51 | +Go to your Github profile settings (https://github.com/settings/profile), find and click on the "Developer settings" option. |
| 52 | + |
| 53 | + |
| 54 | +## Step 10: Open Personal Access Tokens |
| 55 | + |
| 56 | +On the developer settings page (https://github.com/settings/apps), find and click on the "Personal access tokens" button. |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +## Step 10: Select Fine-grained Tokens |
| 61 | + |
| 62 | +On the same page, click on the "Fine-grained tokens" option. |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | +## Step 11: Enter Token Name |
| 68 | + |
| 69 | +On the new personal access token page (https://github.com/settings/personal-access-tokens/new), enter a name for your token in the input field. |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | +## Step 12: Review Token Settings |
| 74 | + |
| 75 | +Review the token settings, including the expiration date, description, resource owner, repository access, and permissions. |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | +## Step 13: Select Repository Access Option |
| 80 | + |
| 81 | +Choose the "Only select repositories" option for repository access, and Select your Repo. |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | +## Step 14: Open Repository Permissions Section |
| 87 | + |
| 88 | +Find and click on the DIV containing the text "Repository permissions" to expand the repository permissions section. |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | +## Step 15: Select Read and Write Access for proper Permissions(Pull Requests, Issues, Commits, and Contents) |
| 94 | + |
| 95 | +For the desired permission (e.g., "Commit statuses"), select the "Read and write" access level by clicking on the corresponding label. Recommended Permissions are read & write for "Pull Requests, Issues, Commits, and Contents". |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | +## Step 16: Generate Token |
| 100 | + |
| 101 | +After configuring the desired permissions, click on the "Generate token" button to generate the personal access token. |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | +## Step 17: Enter Personal Access Token |
| 107 | + |
| 108 | +On the Dev-Docs external docs page (https://www.dev-docs.io/external_docs), enter the generated personal access token in the input field. |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | +## Step 18: Upload Integration |
| 113 | + |
| 114 | +Click on the "Click to upload" button to upload the GitHub integration with the provided personal access token. |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
0 commit comments