Skip to content

Releases: sphinx-contrib/sphinx-pretty-searchresults

Support `dirhtml` builder

27 Apr 21:16
65fc813
Compare
Choose a tag to compare
Pre-release

#25: Adds support for dirhtml builder

Support multiple source suffixes

30 Mar 10:58
3bb5486
Compare
Choose a tag to compare
Pre-release

Fixes #23 Sphinx: pretty search results didn't support multiple source suffixes, which was especially problematic for users who combine reStructuredText and Markdown files in their projects.

Support transition removal

23 Feb 22:01
Compare
Choose a tag to compare
Pre-release

Fixes #21 Sphinx: pretty search results didn't remove transitions.

Support custom template path

22 Aug 21:35
Compare
Choose a tag to compare
Pre-release

Fixes #17: If a templates_path is set, Sphinx: pretty search results threw a Recursion error, because it expected a overridable sourcelink.html template at a specific index of app.builder.templates.loaders. Now, the extension searches in all loaders for sourcelink.html and doesn't attempt to override sourcelink.html if it can't find this template.

Fix rebuild issue

19 Jun 17:02
Compare
Choose a tag to compare
Fix rebuild issue Pre-release
Pre-release

Fixes #14: When rebuilding a Sphinx project without cleaning/removing the build files, the build can fail, because the extension expects that the _raw_sources directory doesn't exists.

Support source links

22 May 22:16
Compare
Choose a tag to compare
Support source links Pre-release
Pre-release

Previously, the extension would overwrite the source files Sphinx copies to the build result. This is a problem for projects that have the property html_show_sourcelink activated. This commit fixes the issue by introducing a second directory for "raw" source files. For more details, consider the README.

Support new source names

13 May 17:42
Compare
Choose a tag to compare
Pre-release

#10

Since version 1.5.0, Sphinx is adding the source file extension to the source files it includes in the output folder.
For example, when your source file extension is rst (specified in the config variable source_suffix as [.rst], your index file appears in the output's source folder as index.rst.txt.
If you use a Sphinx version lower than 1.5.0, it appears as index.txt.
Here's the link to the PR that introduces the breaking change: sphinx-doc/sphinx#2454.

The solution adjust the file name/suffix based on the Sphinx version:

  • If you use Sphinx >=1.5, the file name will be filename + source_file_ending + ".txt".
  • If you use Sphinx < 1.5, the file name will be filename + ".txt".

The changes also add aconfig option that allows forcing a fallback to 2).
This will help folks who use this extension for a long time and whose templates evolved accordingly.

v0.1.7

03 Oct 09:38
Compare
Choose a tag to compare
v0.1.7 Pre-release
Pre-release

Fixes issues with python3

v0.1.6

13 Sep 22:06
Compare
Choose a tag to compare
v0.1.6 Pre-release
Pre-release
  • Remove markup for node types: reference and list_item.
  • Remove node type compoundcompletely.

v0.1.4

29 Aug 21:13
Compare
Choose a tag to compare
v0.1.4 Pre-release
Pre-release

Removes table markup