Skip to content

Commit 545be30

Browse files
committed
[conf] Adapt with sphinxnotes-snippet rename
sphinx-notes/picker#46
1 parent aa66411 commit 545be30

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ clean:
4040
fast: Makefile
4141
@$(SPHINXBUILD) -b $@html -c "$(CONFIGDIR)" "$(SOURCEDIR)" "$(BUILDDIR)/html" $(SPHINXOPTS) $(O)
4242

43-
# Snippet builder: https://sphinx.silverrainz.me/snippet/, for shell completion.
43+
# Picker builder: https://sphinx.silverrainz.me/picker/, for shell completion.
4444
.PHONY: snip
45-
snip: snippet
45+
pick: picker
4646

4747
################################################################################
4848
# View Helpers

conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,8 @@
259259
gtagjs_ids = ['G-FYHS50G6DL']
260260

261261
if _D is _D.Local:
262-
extensions.append('sphinxnotes.snippet')
263-
snippetconfig = {}
264-
snippet_patterns = {
262+
extensions.append('sphinxnotes.picker')
263+
picker_patterns = {
265264
'd': ['.*'],
266265
's': ['notes/.*', 'jour/.*', 'collections/.*', 'about/.*', 'p/.*', 'in/.*'],
267266
'c': ['p/.*', 'notes/man/.*'],

0 commit comments

Comments
 (0)