Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mkdocs-material
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Janne Mareike Koschinski
mkdocs-material
Commits
3b6ee1e1
Commit
3b6ee1e1
authored
7 years ago
by
squidfunk
Committed by
Martin Donath
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Prepare 1.8.0 release
parent
14f85c52
Branches
Branches containing commit
Tags
1.8.0
Tags containing commit
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
CHANGELOG
+7
-0
7 additions, 0 deletions
CHANGELOG
docs/getting-started.md
+11
-2
11 additions, 2 deletions
docs/getting-started.md
docs/release-notes.md
+8
-1
8 additions, 1 deletion
docs/release-notes.md
material/base.html
+1
-1
1 addition, 1 deletion
material/base.html
package.json
+1
-1
1 addition, 1 deletion
package.json
with
28 additions
and
5 deletions
CHANGELOG
+
7
−
0
View file @
3b6ee1e1
mkdocs-material-1.8.0 (2017-08-02)
* Added support for lazy-loading of search results for better performance
* Added support for customization of search tokenizer/separator
* Fixed #424: Search doesn't handle capital letters anymore
* Fixed #419: Search doesn't work on whole words
mkdocs-material-1.7.5 (2017-07-25)
mkdocs-material-1.7.5 (2017-07-25)
* Fixed #398: Forms broken due to search shortcuts
* Fixed #398: Forms broken due to search shortcuts
...
...
This diff is collapsed.
Click to expand it.
docs/getting-started.md
+
11
−
2
View file @
3b6ee1e1
...
@@ -403,8 +403,6 @@ section on [overriding partials][18] and the general guide on
...
@@ -403,8 +403,6 @@ section on [overriding partials][18] and the general guide on
#### Site search
#### Site search
##### Language
Site search is implemented using
[
lunr.js
][
21
]
, which includes stemmers for the
Site search is implemented using
[
lunr.js
][
21
]
, which includes stemmers for the
English language by default, while stemmers for other languages are included
English language by default, while stemmers for other languages are included
with
[
lunr-languages
][
22
]
, both of which are integrated with this theme. Support
with
[
lunr-languages
][
22
]
, both of which are integrated with this theme. Support
...
@@ -434,6 +432,17 @@ Norwegian `no`, Swedish `sv` and Turkish `tr`.
...
@@ -434,6 +432,17 @@ Norwegian `no`, Swedish `sv` and Turkish `tr`.
JavaScript payload by around 20kb (without gzip) and by another 15-30kb per
JavaScript payload by around 20kb (without gzip) and by another 15-30kb per
language.
language.
The separator for tokenization can also be customized, which makes it possible
to index parts of words that are separated by
`-`
or
`.`
for example:
```
jinja
{%
macro
t
(
key
)
%}{{
{
...
"search.tokenizer"
:
"[\s\-\.]+"
,
...
}
[
key
]
}}{%
endmacro
%}
```
[
21
]:
https://lunrjs.com
[
21
]:
https://lunrjs.com
[
22
]:
https://github.com/MihaiValentin/lunr-languages
[
22
]:
https://github.com/MihaiValentin/lunr-languages
...
...
This diff is collapsed.
Click to expand it.
docs/release-notes.md
+
8
−
1
View file @
3b6ee1e1
...
@@ -12,11 +12,18 @@ To determine the currently installed version, use the following command:
...
@@ -12,11 +12,18 @@ To determine the currently installed version, use the following command:
```
sh
```
sh
pip show mkdocs-material |
grep
-E
^Version
pip show mkdocs-material |
grep
-E
^Version
# Version 1.
7.5
# Version 1.
8.0
```
```
## Changelog
## Changelog
### 1.8.0 <small> _ August 2, 2017</small>
*
Added support for lazy-loading of search results for better performance
*
Added support for customization of search tokenizer/separator
*
Fixed
[
#424
][
424
]
: Search doesn't handle capital letters anymore
*
Fixed
[
#419
][
419
]
: Search doesn't work on whole words
### 1.7.5 <small> _ July 25, 2017</small>
### 1.7.5 <small> _ July 25, 2017</small>
*
Fixed
[
#398
][
398
]
: Forms broken due to search shortcuts
*
Fixed
[
#398
][
398
]
: Forms broken due to search shortcuts
...
...
This diff is collapsed.
Click to expand it.
material/base.html
+
1
−
1
View file @
3b6ee1e1
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
{% else %}
{% else %}
<link
rel=
"shortcut icon"
href=
"{{ base_url }}/assets/images/favicon.png"
>
<link
rel=
"shortcut icon"
href=
"{{ base_url }}/assets/images/favicon.png"
>
{% endif %}
{% endif %}
<meta
name=
"generator"
content=
"mkdocs-{{ mkdocs_version }}, mkdocs-material-1.
7.5
"
>
<meta
name=
"generator"
content=
"mkdocs-{{ mkdocs_version }}, mkdocs-material-1.
8.0
"
>
{% endblock %}
{% endblock %}
{% block htmltitle %}
{% block htmltitle %}
{% if page and page.meta.title %}
{% if page and page.meta.title %}
...
...
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
3b6ee1e1
{
{
"name"
:
"mkdocs-material"
,
"name"
:
"mkdocs-material"
,
"version"
:
"1.
7.5
"
,
"version"
:
"1.
8.0
"
,
"description"
:
"A Material Design theme for MkDocs"
,
"description"
:
"A Material Design theme for MkDocs"
,
"keywords"
:
[
"keywords"
:
[
"mkdocs"
,
"mkdocs"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment