mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-17 00:22:24 -06:00
Added documentation for logo variable
This commit is contained in:
parent
132cecfea3
commit
91760ee8c9
@ -17,11 +17,13 @@ title: Just the Docs
|
|||||||
description: A Jekyll theme for documentation
|
description: A Jekyll theme for documentation
|
||||||
baseurl: "/just-the-docs" # the subpath of your site, e.g. /blog
|
baseurl: "/just-the-docs" # the subpath of your site, e.g. /blog
|
||||||
url: "https://pmarsceill.github.io" # the base hostname & protocol for your site, e.g. http://example.com
|
url: "https://pmarsceill.github.io" # the base hostname & protocol for your site, e.g. http://example.com
|
||||||
#logo: "/assets/images/just-the-docs.png"
|
|
||||||
|
|
||||||
permalink: pretty
|
permalink: pretty
|
||||||
exclude: ["node_modules/", "*.gemspec", "*.gem", "Gemfile", "Gemfile.lock", "package.json", "package-lock.json", "script/", "LICENSE.txt", "lib/", "bin/", "README.md", "Rakefile"]
|
exclude: ["node_modules/", "*.gemspec", "*.gem", "Gemfile", "Gemfile.lock", "package.json", "package-lock.json", "script/", "LICENSE.txt", "lib/", "bin/", "README.md", "Rakefile"]
|
||||||
|
|
||||||
|
# Set a path/url to a logo that will be displayed instead of the title
|
||||||
|
#logo: "/assets/images/just-the-docs.png"
|
||||||
|
|
||||||
# Enable or disable the site search
|
# Enable or disable the site search
|
||||||
search_enabled: true
|
search_enabled: true
|
||||||
|
|
||||||
|
@ -22,11 +22,18 @@ Just the Docs has some specific configuration parameters that can be defined in
|
|||||||
|
|
||||||
View this site's [_config.yml](https://github.com/pmarsceill/just-the-docs/tree/master/_config.yml) file as an example.
|
View this site's [_config.yml](https://github.com/pmarsceill/just-the-docs/tree/master/_config.yml) file as an example.
|
||||||
|
|
||||||
## Search enabled
|
## Site logo
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Set a path/url to a logo that will be displayed instead of the title
|
||||||
|
logo: "/assets/images/just-the-docs.png"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Search
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Enable or disable the site search
|
# Enable or disable the site search
|
||||||
# Support true (default) or false
|
# Supports true (default) or false
|
||||||
search_enabled: true
|
search_enabled: true
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,18 +42,17 @@ search_enabled: true
|
|||||||
```yaml
|
```yaml
|
||||||
# Aux links for the upper right navigation
|
# Aux links for the upper right navigation
|
||||||
aux_links:
|
aux_links:
|
||||||
"Just the Docs on GitHub":
|
"Just the Docs on GitHub":
|
||||||
- "//github.com/pmarsceill/just-the-docs"
|
- "//github.com/pmarsceill/just-the-docs"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Heading anchor links
|
## Heading anchor links
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Heading anchor links appear on hover over h1-h6 tags
|
# Heading anchor links appear on hover over h1-h6 tags in page content
|
||||||
# in page content allowing users to deep link to a particular
|
# allowing users to deep link to a particular heading on a page.
|
||||||
# heading on a page.
|
|
||||||
#
|
#
|
||||||
# Supprts true (default) or false/nil
|
# Supports true (default) or false/nil
|
||||||
heading_anchors: true
|
heading_anchors: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user