Content can be added into the environment workspace.
The following content types can be included:
- Custom content or external content, created from within the Content module;
- A document / file or video
In Heropa, these selections are added from the Configuration tab of a course, environment or event.
In this article:
Connecting the GitBook space to a GitHub repository
Creating content in the GitBook
Publishing your content in GitBook
Using your GitBook content in Heropa
Creating a GitBook space
- Log in to gitbook.com
-
Create a new space in GitBook
-
Name the space to match the course content that you will be creating
For more information on how to create a space in GitBook, please see the GitBook documentation.
Connecting the GitBook space to a GitHub repository
If Content is added, a document can also be added, to be displayed in the Content panel.
-
Enable GitHub sync for the space.
- If this is the first GitBook that you have created, you may be asked to install the GitHub sync extension to your GitBook space.
-
Connect the space with GitHub by authorizing it to have the access required. You can choose to grant it access to a single repository, or all repositories.
-
Once authorized, you will be required to configure the sync within your GitBook space. You will need to select the GitHub account that you want to sync with and the repository that you will store your content in.
For more information on configuring GitHub sync, please see the GitBook documentation.
Creating content in the GitBook
You can now create and modify content within the GitBook UI, or via source control by pushing changes to the content in the connected GitHub repository.
Publishing your content in GitBook
Once your content has been created and is ready for use within Heropa, you will need to publish your content to the web.
- Click on the share button and choose to publish to the web.
-
Obtain the link for the published content.
Using your GitBook content in Heropa
-
In Heropa, select Content from the left hand navigation, then select Add.
-
In the Create new content modal:
-
For Type, select 'External'.
-
Name the content
-
- Add a new section with the same name
-
Add an exercise with the same name
-
In the URL field, paste the GitBook URL.
Updating your content
Content in GitBook can be updated through the GitBook UI, or by making changes to the markup files in the synced GitHub repository.
Once changes are made in GitHub and synced to GitBook, students will be able to see the content in their lab workspace.
Comments
0 comments
Article is closed for comments.