Skip to content

fix: add info for where to configure Github/Gitlab "edit" link #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions getting-started/git-sync/enabling-github-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ When you commit to GitHub, every commit will be synced to your GitBook space as
{% hint style="warning" %}
The GitHub app that powers our GitHub integration is currently not available to customers on GitHub Enterprise Server instances.
{% endhint %}

### "Edit on Github" Link

You can optionally show a link for your users to contribute to your documentation from your linked repository. To enable, select [Customize > Configuration](../../publishing-documentation/customization/extra-configuration.md).
4 changes: 4 additions & 0 deletions getting-started/git-sync/enabling-gitlab-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ You’re good to go. You’ll notice that if your space was in [live edit](../..
When you edit on GitBook, every change request merge will result in a commit to your selected GitLab branch.

When you commit to GitLab, every commit will be synced to your GitBook space as a history commit.

### "Edit on GitLab" Link

You can optionally show a link for your users to contribute to your documentation from your linked repository. To enable, select [Customize > Configuration](../../publishing-documentation/customization/extra-configuration.md).
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ description: Configure extra options for your published documentation.

# Extra configuration

You can find the following extra configuration options under `Customize` then clicking on the `Configure` tab:

![Site Customization Extra Configuration](../../.gitbook/assets/site-customization-extra-config.png)

### Localize user interface

You can select from a list of languages to localize the user interface of your published content. This applies translations to the non-custom areas of the interface.
Expand All @@ -14,7 +18,7 @@ Is there a language we don’t yet offer that you’d like to see included? [Let

### Edit on GitHub/GitLab

If your space is connected to a Git repository, you can optionally show a link for your users to contribute to your documentation from your linked repository.
If your space is [connected to a Git repository](../../integrations/git-sync/bi-directional-git-integration.md), you can optionally show a link for your users to contribute to your documentation from your linked repository.

### Privacy Policy

Expand Down