Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
enable intern search
Browse files Browse the repository at this point in the history
Reviewed By: LukeDefeo

Differential Revision: D56468385

fbshipit-source-id: 84754c0286e02b179f2d1325618e2b995915921d
  • Loading branch information
antonk52 authored and facebook-github-bot committed Apr 24, 2024
1 parent eacfa6d commit 8f075d9
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 1,574 deletions.
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const siteConfig = {
'remark-code-snippets': {
baseDir: '..',
},
internSearch: true,
enableEditor: true,
},
],
Expand All @@ -205,7 +206,6 @@ const siteConfig = {
// end_config_example
plugins: [
'./src/plugins/support-symlinks',
...fbContent({internal: [], external: [require.resolve('docusaurus-lunr-search')]}),
[
require.resolve('@docusaurus/plugin-content-pages'),
{
Expand Down
3 changes: 1 addition & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"@emotion/styled": "^11.10.6",
"@types/fs-extra": "^11.0.2",
"antd": "^4.23.4",
"docusaurus-lunr-search": "^3.0.0",
"docusaurus-plugin-internaldocs-fb": "1.16.2",
"docusaurus-plugin-internaldocs-fb": "1.18.2",
"file-cli": "^1.2.0",
"flipper-plugin": "^0.183.0",
"fs-extra": "^11.1.1",
Expand Down
304 changes: 0 additions & 304 deletions website/src/theme/SearchBar/DocSearch.js

This file was deleted.

Loading

0 comments on commit 8f075d9

Please sign in to comment.