pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/GitbookIO/demo-docs-gitbook/commit/ec49e28e7cd409e011f8e6073751e0ccd63a3ce6

GITBOOK-871: Add information on sidebar titles to Git Sync · GitbookIO/demo-docs-gitbook@ec49e28 · GitHub
Skip to content

Commit ec49e28

Browse files
Addison Schultzgitbook-bot
authored andcommitted
GITBOOK-871: Add information on sidebar titles to Git Sync
1 parent 89fbf73 commit ec49e28

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

getting-started/git-sync/content-configuration.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,28 @@ The summary markdown file is **a mirror of the** **table of contents** of your G
8888
Because of this, it’s not possible to reference the same Markdown file twice in your `SUMMARY.md` file, because this would imply that a single page lives at two different URLs in your GitBook space.
8989
{% endhint %}
9090

91+
#### Table of contents (sidebar) titles <a href="#sidebar-titles" id="sidebar-titles"></a>
92+
93+
If you want your pages to have a different title in the table of contents sidebar than on the page itself, you can define an optional **page link title** in your `SUMMARY.md` file.
94+
95+
If you’re using Git Sync, the page link title is set on the page link:
96+
97+
{% code title="./SUMMARY.md" %}
98+
```markdown
99+
# Summary
100+
101+
* [Page main title](page.md "Page link title")
102+
```
103+
{% endcode %}
104+
105+
The text inside the quotes (`"Page link title"`) will be used:
106+
107+
* In the table of contents (sidebar)
108+
* In the pagination buttons at the bottom of each page
109+
* In any relative links you add to that page
110+
111+
Page link titles are optional — if you don’t manually add one, GitBook will use the page’s standard title everywhere by default.
112+
91113
### ​Redirects <a href="#redirects" id="redirects"></a>
92114

93115
Redirects allow you to define redirects in your `.gitbook.yaml` configuration file. The path is relative to the “root” option. For example, here’s how you can tell GitBook to redirect users accessing a past url `/help` to a new url `/support`
@@ -108,6 +130,3 @@ Redirects you define in a space’s configuration file are scoped to the corresp
108130
{% hint style="warning" %}
109131
With Git, when a file is moved many times, the file is removed and a new one is created. This makes it impossible for GitBook to know that a folder has been renamed, for example. Make sure to double-check and add redirects where needed.
110132
{% endhint %}
111-
112-
113-

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy