Skip to content

Commit 8c33ed3

Browse files
committed
Fix initial config
1 parent 9872f90 commit 8c33ed3

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

_config.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ title: LibDoc # title of the documentation
77
description: >- # Description of the docs. (>- means to ignore newlines until next param)
88
A Jekyll documentation theme with built-in search and playground
99
# IMPORTANT: on Github Pages deploys, url and baseurl must be commented or set to proper settings, otherwise links and resources URL are wrong
10-
# url: http://localhost # the base hostname & protocol for your site, e.g. http://example.com
10+
# url: http://192.168.1.54 # the base hostname & protocol for your site, e.g. http://example.com
1111
# baseurl: /Jekyll-LibDoc/_site # the subpath of your site, e.g. /blog
1212
#permalink: /:path/:basename/:output_ext
1313
#destination: ../your/new/path # Build relative path destination. The destination directory e.g. /blog
1414
#keep_files: [cache]
1515
#markdown: kramdown
16-
# defaults:
17-
# -
18-
# values:
19-
# layout: libdoc/page # Uncommenting brings pbms on static files that must not be associated to any layout
16+
defaults:
17+
-
18+
values:
19+
layout: libdoc/page
2020
kramdown:
2121
syntax_highlighter_opts:
2222
disable: true
2323
sass:
2424
style: compressed
25-
#exclude: ['/misc']
25+
# exclude: ['/assets/libdoc/ajax/playground-settings.html']
2626

2727
# ---------
2828
# LIBDOC CONFIGURATION
@@ -45,7 +45,7 @@ playground:
4545
# Relative URL from site root starting with slash /
4646
# Absolute URL starting with 'http'
4747
scripts_head:
48-
# - /libdoc/js/my-toggles.js
48+
# - /js/my-toggles.js
4949

5050
# PLAYGROUND MODULES JAVASCRIPTS
5151
# Javascript type="module" are set before text/javascript files
@@ -81,7 +81,7 @@ playground:
8181

8282
# PLAYGROUND PNG favicon file
8383
# Path from root or absolute/remote URL - Square 32x32 pixels icon png format or .ico for old browsers
84-
favicon: /libdoc/img/favicon/playground-android-chrome-512x512.png
84+
favicon: /assets/libdoc/img/favicon/playground-android-chrome-512x512.png
8585

8686
# PLAYGROUND SVG favicon example - NOT supported on Safari
8787
# favicon: data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22256%22 height=%22256%22 viewBox=%220 0 100 100%22><rect width=%22100%22 height=%22100%22 rx=%2220%22 fill=%22%237d6ee7%22></rect><path fill=%22%23fff%22 d=%22M36.63 22.42L66.52 22.42Q66.78 22.87 67.06 23.63Q67.32 24.40 67.32 25.30L67.32 25.30Q67.32 26.83 66.60 27.73Q65.88 28.63 64.53 28.63L64.53 28.63L40.05 28.63L40.05 47.35L63.36 47.35Q63.63 47.80 63.91 48.56Q64.17 49.33 64.17 50.23L64.17 50.23Q64.17 51.76 63.45 52.66Q62.73 53.56 61.38 53.56L61.38 53.56L40.05 53.56L40.05 77.05Q39.60 77.23 38.66 77.41Q37.71 77.59 36.72 77.59L36.72 77.59Q32.67 77.59 32.67 74.34L32.67 74.34L32.67 26.38Q32.67 24.58 33.75 23.50Q34.84 22.42 36.63 22.42L36.63 22.42Z%22></path></svg>
@@ -103,7 +103,7 @@ playground:
103103
# PLAYGROUND IMAGE
104104
# Open Graph image file for social networks. Can be either relative URL from site root, absolute URL starting with 'http'. Default is LibDoc's splash screen.
105105
# image: /img/custom_image.webp
106-
image: /libdoc/img/meta-image-playground.jpg
106+
image: /assets/libdoc/img/meta-image-playground.jpg
107107

108108
# METADATA
109109
# Metadata informations for the site/project
@@ -118,7 +118,7 @@ metadata:
118118

119119
# PNG favicon file
120120
# Path from root or absolute/remote URL - Square 32x32 pixels icon png format or .ico for old browsers
121-
favicon: /libdoc/img/favicon/favicon-32x32.png
121+
favicon: /assets/libdoc/img/favicon/favicon-32x32.png
122122

123123
# SVG favicon example - NOT supported on Safari
124124
# favicon: data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22256%22 height=%22256%22 viewBox=%220 0 100 100%22><rect width=%22100%22 height=%22100%22 rx=%2220%22 fill=%22%237d6ee7%22></rect><path fill=%22%23fff%22 d=%22M36.63 22.42L66.52 22.42Q66.78 22.87 67.06 23.63Q67.32 24.40 67.32 25.30L67.32 25.30Q67.32 26.83 66.60 27.73Q65.88 28.63 64.53 28.63L64.53 28.63L40.05 28.63L40.05 47.35L63.36 47.35Q63.63 47.80 63.91 48.56Q64.17 49.33 64.17 50.23L64.17 50.23Q64.17 51.76 63.45 52.66Q62.73 53.56 61.38 53.56L61.38 53.56L40.05 53.56L40.05 77.05Q39.60 77.23 38.66 77.41Q37.71 77.59 36.72 77.59L36.72 77.59Q32.67 77.59 32.67 74.34L32.67 74.34L32.67 26.38Q32.67 24.58 33.75 23.50Q34.84 22.42 36.63 22.42L36.63 22.42Z%22></path></svg>
@@ -140,7 +140,7 @@ metadata:
140140
# IMAGE
141141
# Open Graph image file for social networks. Can be either relative URL from site root, absolute URL starting with 'http'. Default is LibDoc's splash screen.
142142
# image: /img/custom_image.webp
143-
image: /libdoc/img/libdoc.png
143+
image: /assets/libdoc/img/libdoc.png
144144

145145
# SIDEBAR
146146
# Main navigation containing site/project's logo, pages links and search form.
@@ -154,7 +154,7 @@ sidebar:
154154
logo:
155155
# LOGO URL
156156
# Image URL: Can be local e.g. '/img/logo.png' or remote 'https://remotesite.com/img/logo.png'
157-
url: /libdoc/img/favicon/android-chrome-512x512.png
157+
url: /assets/libdoc/img/favicon/android-chrome-512x512.png
158158

159159
# LOGO MAX HEIGHT
160160
# Logo image max height, applies only if url is set

index.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
---
3+
## Hello world!
4+
5+
Welcome to your new documentation site! First, configure your `_config.yml` to remove the demo content and adjust your own settings. [See config documentation](https://olivier3lanc.github.io/Jekyll-LibDoc/libdoc-config.html)

0 commit comments

Comments
 (0)