Bug 7859 - "toc" page shows up in searches
Summary: "toc" page shows up in searches
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Documentation (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Pierre Ossman
URL:
Keywords: prosaic, wilsj_tester
Depends on:
Blocks:
 
Reported: 2022-03-10 16:59 CET by Pierre Ossman
Modified: 2022-03-21 15:40 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-03-10 16:59:00 CET
We have the main "index" page as the top node of the administrator's guide. However the actual table of contents is split out to a sub-document called just "toc". This was done to get a sane layout in the PDF version.

Unfortunately this page shows up in search results, which is a bit confusing. Extra so because the page doesn't have a title so you just get "<no title>".
Comment 1 Pierre Ossman cendio 2022-03-21 11:01:31 CET
This was done so we wouldn't get the title (and subtitle) in the PDF version, as a different cover page is already generated there.

However I tested the LaTeX version instead, and it doesn't have this issue. So this seems to be a problem specific to rst2pdf. I've reported it upstream:

https://github.com/rst2pdf/rst2pdf/issues/1066
Comment 4 Pierre Ossman cendio 2022-03-21 11:04:06 CET
Managed to find a different fix using an extension instead. I don't see any hits for "toc" in the searches anymore.
Comment 5 William Sjöblom cendio 2022-03-21 15:40:38 CET
Reproduced with the 4.14.0 TAG. 

I have done a side-to-side comparison of the 4.14.0 production and 4.14.0post development TAGs and the search no longer show results from the TOC, and there does not seem to be any regressions in terms of content and presentation in nether the web-based nor PDF TAGs.

Marking as closed.

Note You need to log in before you can comment on or make changes to this bug.