Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Draft: Allow for patterns to exclude files from indexation

Israel Yago Pereira requested to merge user-400-fix-duplicate-pages into master

Closes https://gitlab.e.foundation/e/documentation/user/-/issues/400

See https://gitlab.e.foundation/e/documentation/user/-/merge_requests/446 for testing

This MR allow any number of regex to be used as exclude patterns to not index some files.

When used at e_docs with docker-compose exec -T bridge_server python main.py /public_html '.*\/devices\/.+\/(?!index).+\.html' we get:

image

while the live version the pages install are not there:

image

Note: Since the indexer CLI has changed, the CI of e_docs must also change

Edited by Arnau Vàzquez

Merge request reports

Loading