Skip to content

Conversation

@excalamus
Copy link

Expected result:

The ability to search the manual/documentation for keywords.

Actual result:

Cannot search the manual/documentation for keywords.

Example:

I see in my bug tracker that I have voted for a task. I have no idea how this was done and would like to rescind the vote. The first step in finding the solution is to RTFM. However, searching for the string "vote" requires searching 30 separate pages.

Analysis of problem:

The manual is split into separate documents. Each of the documents can be searched, but the manual as a whole is not searchable.

Suggested solutions

There are several ways this problem could be solved, such as

  1. Include search functionality on flyspray.org
  2. Provide a single page version of the manual

Pull request

I believe the simplest solution is to combine all the manual .md files into a single .md file. This offloads the searching task onto a third-party application (web-browser or text editor). I have created a simple shell script which concatenates all the manuals into a single document, in the order they are currently listed on the manual page.

Implementing this solution requires several other tasks, primarily how to make the single page manual discoverable. I imagine the main index will need to be updated with a link, as well as each individual manual page.

  • Will the concatenated files render properly?
  • What other pages will need to be updated for discoverability (i.e. links)

What are your thoughts on this?

@peterdd
Copy link
Member

peterdd commented Sep 14, 2019

I would prefer a jekyll plugin for githubpages to add search functionality if possible instead of doing such workaround that also needs updating whenever pages and posts change. Also it is "duplicate content".

Also possible to semi-integrate a search engine that offers customized search like described on https://jekyllcodex.org/without-plugin/search-google/

Or https://cse.google.com/cse/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants