Skip to content

Commit 121beab

Browse files
committed
update
1 parent 679bf77 commit 121beab

File tree

2 files changed

+46
-2
lines changed

2 files changed

+46
-2
lines changed

_config.yml

+45-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,48 @@ theme: just-the-docs
55
url: https://fangpin.github.io/redis-rs
66

77
aux_links:
8-
Template Repository: https://fangpin.github.io/redis-rs
8+
GitHub: https://fangpin.github.io/redis-rs
9+
10+
# logo: "/assets/images/just-the-docs.png"
11+
12+
search_enabled: true
13+
search:
14+
# Split pages into sections that can be searched individually
15+
# Supports 1 - 6, default: 2
16+
heading_level: 2
17+
# Maximum amount of previews per search result
18+
# Default: 3
19+
previews: 3
20+
# Maximum amount of words to display before a matched word in the preview
21+
# Default: 5
22+
preview_words_before: 5
23+
# Maximum amount of words to display after a matched word in the preview
24+
# Default: 10
25+
preview_words_after: 10
26+
# Set the search token separator
27+
# Default: /[\s\-/]+/
28+
# Example: enable support for hyphenated search words
29+
tokenizer_separator: /[\s/]+/
30+
# Display the relative url in search results
31+
# Supports true (default) or false
32+
rel_url: true
33+
# Enable or disable the search button that appears in the bottom right corner of every page
34+
# Supports true or false (default)
35+
button: false
36+
37+
38+
# Heading anchor links appear on hover over h1-h6 tags in page content
39+
# allowing users to deep link to a particular heading on a page.
40+
#
41+
# Supports true (default) or false
42+
heading_anchors: true
43+
44+
45+
# Footer content
46+
# appears at the bottom of every page's main content
47+
# Note: The footer_content option is deprecated and will be removed in a future major release. Please use `_includes/footer_custom.html` for more robust markup / liquid-based content.
48+
footer_content: "Copyright © 2017-2024 Pin Fang"
49+
50+
# Footer last edited timestamp
51+
last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter
52+
last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html

index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 旨在从 0 到 1 实现一个基础的 redis-server 版本。其包含:
2+
title: 概览
33
layout: default
44
nav_order: 1
55
---

0 commit comments

Comments
 (0)