Edits to search examples pages
Created by: LaureenH
-
on all pages, please remove the colons from all headers -
on all pages, please render code terms in code font
https://sourcegraph.com/search
-
remove the colon from the end of "Diff/commit search keywords:"(already fixed) -
Change "Structural Searches" to "Structural searches"(already fixed) -
I'm not happy with the "Search a language" section. If the languages listed are the search terms, they should be all lowercase. If they're the names of the languages, they need to be properly capitalized (JavaScript, GraphQL, HTML, JSON, TypeScript) - Made them all lowercased to match the search terms. See [comment](https://github.com/sourcegraph/sourcegraph/issues/12057#issuecomment-656550640
https://sourcegraph.com/refactor-python2-to-3
-
change the main header to read: The examples below help you find Python 2 code that requires refactoring, and review examples of the new Python 3 syntax, across popular Python repositories. -
change the "Python 3 explicit relative imports paragraph to Python 3 requires you to explicitly specify package location relative to the current folder, and deprecates implicit relative reports. The search below returns usages of explicit relative imports. For example, an import with one leading dot signifies that the package resides in the current folder, and with two leading dots tells Python that the package is one directory up from the current one. -
Change "Python 2 & 3 integer conversion:" to "Python 2 and 3 integer conversion"
https://sourcegraph.com/react-hooks
-
Change "Search popular React Hook repositories from resources in the GitHub repository 'rehooks/awesome-react-hooks'. The search examples show usages of the React Hook useState with various data types. useState is a hook that lets you add React state to function components." to "Search popular React Hook repositories from the GitHub repository 'rehooks/awesome-react-hooks'. The search examples show usage of the React Hook useState
with various data types." -
please change "Javascript" to "JavaScript" in both places it appears on the page -
please change "Typescript" to "TypeScript"
https://sourcegraph.com/kubernetes
-
Change "Search the trending and most starred Kubernetes repositories on GitHub. Explore with search examples below." to "Explore Kubernetes repositories on GitHub. Search with examples below." -
Change "Browse diffs for recent code changes in the community:" to "Browse diffs for recent code changes"
https://sourcegraph.com/golang
-
Change "Search the most starred Go repositories on GitHub. Explore with search examples below." to "Use these search examples to explore Go repositories on GitHub."
https://sourcegr12aph.com/android
-
change "Search the most starred Android repositories on GitHub. Explore with search examples below." to "Use these search suggestions to explore popular Android repositories on GitHub." -
change "An intent filter is used to specify the type of intents a component would like to receive. An intent filter can accept 3 types of elements - , and elements." to "Intent filters specify the type of intents a component would like to receive. An intent filter can accept three types of elements - , and elements."