Skip to content

Fix API search for Play1 - #424

Merged
mkurz merged 2 commits into
playframework:masterfrom
cies:master
Apr 8, 2021
Merged

Fix API search for Play1#424
mkurz merged 2 commits into
playframework:masterfrom
cies:master

Conversation

@cies

@cies cies commented Mar 1, 2021

Copy link
Copy Markdown
Contributor

It's broken now, and that's a pity as the docs are quite complete!

@lightbend-cla-validator

Copy link
Copy Markdown

Hi @cies,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

https://www.lightbend.com/contribute/cla

@cies

cies commented Mar 12, 2021

Copy link
Copy Markdown
Contributor Author

Done!

Comment thread app/views/documentation/v1.scala.html Outdated
<form id="search" method="get" action="//www.google.com/search">
<input type="search" name="q" placeholder="Search @version docs" results="10">
<input type="hidden" name="sitesearch" value="@req.host@reverseRouter.home(context.alternateLang, version.name)">
<input type="hidden" name="sitesearch" value="site:playframework.com@reverseRouter.home(context.alternateLang, version.name)">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cies Please remove the site:, it gets added from google automatically. Actually having it breaks the google search.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Remove `site:` as per @mkurz remark
@mkurz
mkurz merged commit 3d8dfb8 into playframework:master Apr 8, 2021
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.

3 participants