From a8e2f75a89ad2d4c8e8c3956d5f4832f1c1888e2 Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 21 May 2020 17:29:14 +0200 Subject: [PATCH] Remove some files not needed with custom searchindex --- docs/Makefile | 4 ++-- docs/requirements.txt | 1 + docs/source/_templates/searchbox.html | 24 ------------------------ 3 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 docs/source/_templates/searchbox.html diff --git a/docs/Makefile b/docs/Makefile index fc7ab62ad2..100df312e5 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,5 +1,5 @@ -# Minimal makefile for Sphinx documentation -# +# Makefile to control Evennia documentation building. +# Most common commands are `make help`, `make quick` and `make local`. # You can set these variables from the command line, and also # from the environment for the first two. diff --git a/docs/requirements.txt b/docs/requirements.txt index 1195df76d3..1d25af7679 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,6 +2,7 @@ sphinx==2.4.4 sphinx-multiversion==0.1.1 +lunr==0.5.8 # recommonmark custom branch with evennia-specific fixes git+https://github.com/evennia/recommonmark.git@evennia-mods#egg=recommonmark diff --git a/docs/source/_templates/searchbox.html b/docs/source/_templates/searchbox.html deleted file mode 100644 index 62fef56c69..0000000000 --- a/docs/source/_templates/searchbox.html +++ /dev/null @@ -1,24 +0,0 @@ - -{# The script searchindex.js contains the code Search.setIndex(...) where - the content is an object built from IndexBuilder.freeze(). So we need to - setup the Search.setIndex function beforehand just to store the data. - This should all be finished when onload fires, and at that point the code in - searchbox.js will pull the data out of Search.store and build the actual - index and callbacks. - #} - - -