Prerequisites
- An active Document360 account that is "Professional" plan or higher
- The GitHub addon purchased on Document360
- A GitHub account and repositories
Configuring GitHub on Document360
- From the Knowledge base portal, navigate to "Settings > Knowledge base portal > Extensions"
- Scroll down the available extensions or use the dropdown at the top and select "Code repository"
- Click the "Connect" button
- A new Install window opens
- Either select "All repositories" or "Only select repositories"
- Click the "Install" button
- If you're not already logged in to GitHub, you land on the login screen
- Enter your GitHub credentials and log in
- Now you are redirected to the Document360 Knowledge base portal
- The "Create category" module opens up
Creating a GitHub category to sync repository
- From the Knowledge base portal, go to Documentation
- Click Create (at the top left of the screen) → New category. The Create new category module appears
- Select "GitHub" as the category type
- Select the repository from your configured GitHub
- Now authorize the mapping by entering your GitHub password in the "Content access" window
- Click "Confirm"
- The repository category, along with all the branches, are created as articles in Document360
- Each time a GitHub user updates the repository, the content is synced with the mapped Document360 articles
- You can observe a branch icon next to each entity in Document360
Category structure in Github
Please ensure that your Git repository is properly set up and configured to enable us to fetch the content into the Document360 project.
In GitHub, create a "docs" folder where you can organize subfolders and Markdown articles.
Any images used in these articles should be stored in the ".document360/assets" directory.
For example, if an image is referenced in a file named 'What is Document360?', it should be moved to the '.document360/assets' folder."
Team accounts cannot edit or publish these articles. If any changes are required, edit the source repository on GitHub, and the changes are synced in the Document360 article.