Skip to content

Commit

Permalink
Add docs announcement and fix NTLK link
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeray Diaz Diaz committed Mar 10, 2022
1 parent 73a8c99 commit 77c55c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_theme_options = {
"announcement": (
"👋 If you like lunr.py, consider giving it a "
'<a href="https://shoutouts.dev/projects/yeraydiazdiaz/lunr.py">'
"shoutout</a>! 🙏"
)
}

#
# -- Options for extlinks ----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/lunrjs-interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Lunr.js uses the
[`lunr-languages`](https://lunrjs.com/guides/language_support.html) package,
a community driven collection of stemmers and trimmers for many languages.

Porting each of those into Python was not feasible so Lunr.py uses [NTLK](nltk.org/)
Porting each of those into Python was not feasible so Lunr.py uses [NTLK](https://www.nltk.org/)
for language support and will configure the serialized index as expected by Lunr.js
to ensure compatibility.

Expand Down

0 comments on commit 77c55c1

Please sign in to comment.