Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Pagefind/pagefind
/ functions
Functions
1,107 in github.com/Pagefind/pagefind
⨍
Functions
1,107
◇
Types & classes
265
↓ 2 callers
Function
registerDataCallback
( instanceId: string, dataId: string, dataFn: any, )
pagefind_web_js/lib/pagefind_worker.ts:31
↓ 2 callers
Method
registerFilter
( component: PagefindComponent, capabilities: ComponentCapabilities = {}, )
pagefind_ui/component/core/instance.ts:165
↓ 2 callers
Method
registerInput
( component: PagefindComponent, capabilities: ComponentCapabilities = {}, )
pagefind_ui/component/core/instance.ts:144
↓ 2 callers
Method
registerResults
( component: PagefindComponent, capabilities: ComponentCapabilities = {}, )
pagefind_ui/component/core/instance.ts:151
↓ 2 callers
Method
render
()
pagefind_ui/component/components/pagefind-keyboard-hints.ts:11
↓ 2 callers
Method
render
()
pagefind_ui/component/components/pagefind-summary.ts:26
↓ 2 callers
Method
render
()
pagefind_ui/component/components/pagefind-modal.ts:31
↓ 2 callers
Method
render
()
pagefind_ui/component/components/pagefind-filter-pane.ts:105
↓ 2 callers
Method
replace_s
(&mut self, bra: i32, ket: i32, s: &str)
pagefind_stem/src/snowball/snowball_env.rs:40
↓ 2 callers
Method
rerenderLoadedResults
()
pagefind_ui/component/components/pagefind-searchbox.ts:1107
↓ 2 callers
Function
resolveBinaryPath
(execnames = [])
wrappers/node/lib/resolveBinary.js:10
↓ 2 callers
Method
resultIndexForNode
* Given a node inside the results container, walk up to the direct child * of containerEl and read its data-pf-result-index attribute.
pagefind_ui/component/components/pagefind-results.ts:553
↓ 2 callers
Method
returnValue
* @param {number} message_id * @param {InternalResponseCallback} response_callback
wrappers/node/lib/service.js:180
↓ 2 callers
Method
scrollToCenter
(el: HTMLElement, instant: boolean = false)
pagefind_ui/component/components/pagefind-results.ts:671
↓ 2 callers
Method
setLanguage
* Set the language for translations.
pagefind_ui/component/core/instance.ts:408
↓ 2 callers
Method
set_ranking
(ranking?: PagefindRankingWeights)
pagefind_web_js/lib/coupled_search.ts:220
↓ 2 callers
Method
setupObserver
()
pagefind_ui/component/components/pagefind-searchbox.ts:139
↓ 2 callers
Method
setupOutsideClickHandler
()
pagefind_ui/component/components/pagefind-searchbox.ts:587
↓ 2 callers
Method
setupShortcutHandler
()
pagefind_ui/component/components/pagefind-searchbox.ts:596
↓ 2 callers
Method
showLoadingState
()
pagefind_ui/component/components/pagefind-searchbox.ts:638
↓ 2 callers
Function
stampOptionAttributes
(root: Element, resultIndex: number)
pagefind_ui/component/components/pagefind-searchbox.ts:46
↓ 2 callers
Function
stampResultIndex
(nodes: Node[], index: number)
pagefind_ui/component/components/pagefind-results.ts:88
↓ 2 callers
Function
stripCSSComment
(file)
pagefind_ui/default/build.js:94
↓ 2 callers
Function
templateNodes
(templateResult: TemplateResult)
pagefind_ui/component/components/pagefind-results.ts:24
↓ 2 callers
Function
templateNodes
(templateResult)
pagefind_ui/modular/components/resultList.js:3
↓ 2 callers
Function
test_words
()
pagefind/src/index/mod.rs:727
↓ 2 callers
Method
toggleOption
(value: string)
pagefind_ui/component/components/pagefind-filter-dropdown.ts:533
↓ 2 callers
Method
updateFilters
()
pagefind_ui/component/components/pagefind-filter-pane.ts:205
↓ 2 callers
Function
write_common
( language_indexes: Vec<LanguageMeta>, output_playground: bool, outdir: &PathBuf, options: &Se
pagefind/src/output/mod.rs:115
↓ 2 callers
Method
write_files
(&self, custom_outdir: Option<PathBuf>)
pagefind/src/lib.rs:312
↓ 2 callers
Method
write_files
( &self, options: &SearchOptions, outdir: &PathBuf, synthetic: bool, )
pagefind/src/output/mod.rs:310
↓ 1 callers
Method
__clear__
()
pagefind_ui/component/core/instance.ts:541
↓ 1 callers
Method
__clear__
()
pagefind_ui/modular/modular-core.js:119
↓ 1 callers
Method
__doLoad__
()
pagefind_ui/component/core/instance.ts:612
↓ 1 callers
Function
_encode
(req: InternalServiceRequest)
wrappers/python/src/pagefind/service/__init__.py:72
↓ 1 callers
Method
_loadFragment
(hash: string)
pagefind_web_js/lib/coupled_search.ts:394
↓ 1 callers
Method
_start
Start the backing Pagefind service and create an in-memory index.
wrappers/python/src/pagefind/index/__init__.py:101
↓ 1 callers
Method
_wait_for_responses
Poll the subprocess's stdout for responses
wrappers/python/src/pagefind/service/__init__.py:145
↓ 1 callers
Method
activateCurrentSelection
(keyboardEvent: KeyboardEvent)
pagefind_ui/component/components/pagefind-searchbox.ts:959
↓ 1 callers
Function
addCustomRecord
(indexId, record)
wrappers/node/lib/index.js:147
↓ 1 callers
Function
addDirectory
(indexId, dir)
wrappers/node/lib/index.js:189
↓ 1 callers
Function
addHTMLFile
(indexId, file)
wrappers/node/lib/index.js:111
↓ 1 callers
Method
addHighlightStyles
(className: string)
pagefind_web_js/lib/highlight.ts:70
↓ 1 callers
Method
add_custom_record
Add a direct record to the Pagefind index. This method is useful for adding non-HTML content to the search results. :param content:
wrappers/python/src/pagefind/index/__init__.py:204
↓ 1 callers
Method
add_custom_record
Index a custom record that isn't backed by an HTML file. # Arguments `url` - The output URL of this record. Pagefind will not alter this. `content` -
pagefind/src/service/api.rs:128
↓ 1 callers
Method
add_directory
Indexes a directory from disk using the standard Pagefind indexing behaviour. This is equivalent to running the Pagefind binary with ``--site
wrappers/python/src/pagefind/index/__init__.py:140
↓ 1 callers
Method
add_directory
Index a directory of HTML files from disk. # Arguments `path` - The path to the directory to index. `glob` - A glob pattern to match files in the dir
pagefind/src/service/api.rs:180
↓ 1 callers
Method
add_html_file
Add an HTML file to the index. :param content: The source HTML content of the file to be parsed. :param source_path: The source path
wrappers/python/src/pagefind/index/__init__.py:110
↓ 1 callers
Method
announceRaw
* Announce a raw message to screen readers (bypasses translation system).
pagefind_ui/component/core/instance.ts:456
↓ 1 callers
Method
announceResults
()
pagefind_ui/component/components/pagefind-searchbox.ts:1151
↓ 1 callers
Method
appendResults
(nodes: Node[])
pagefind_ui/component/components/pagefind-results.ts:388
↓ 1 callers
Function
asyncSleep
(ms = 100)
pagefind_ui/component/components/pagefind-input.ts:5
↓ 1 callers
Function
asyncSleep
(ms = 100)
pagefind_ui/component/components/pagefind-searchbox.ts:17
↓ 1 callers
Function
asyncSleep
(ms = 100)
pagefind_ui/modular/components/input.js:3
↓ 1 callers
Function
boxed
(text: &str)
pagefind/src/logging.rs:46
↓ 1 callers
Function
build
()
pagefind_web_js/build.js:10
↓ 1 callers
Function
build
()
pagefind_playground/_build.js:9
↓ 1 callers
Function
build
()
pagefind_ui/default/build.js:38
↓ 1 callers
Function
build
()
pagefind_ui/component/build.js:41
↓ 1 callers
Function
build
()
pagefind_ui/modular/build.js:34
↓ 1 callers
Function
build_indexes
( mut pages: Vec<FossickedData>, language: String, options: &SearchOptions, )
pagefind/src/index/mod.rs:54
↓ 1 callers
Method
build_indexes
(&mut self)
pagefind/src/lib.rs:132
↓ 1 callers
Function
build_url
(page_url: &Path, relative_to: Option<&Path>, options: &SearchOptions)
pagefind/src/fossick/mod.rs:608
↓ 1 callers
Function
calculate_bm25_word_score
( BM25Params { weighted_term_frequency, document_length, average_page_length,
pagefind_web/src/search.rs:137
↓ 1 callers
Function
calculate_individual_word_score
( VerboseWordLocation { word_str, weight, length_bonus, word_location,
pagefind_web/src/search.rs:178
↓ 1 callers
Function
calculate_sub_results
( fragment: PagefindSearchFragment, desired_excerpt_length: number )
pagefind_web_js/lib/sub_results.ts:3
↓ 1 callers
Method
checkForTemplates
()
pagefind_ui/component/components/pagefind-results.ts:280
↓ 1 callers
Method
checkForTemplates
()
pagefind_ui/component/components/pagefind-searchbox.ts:316
↓ 1 callers
Method
cleanup
()
pagefind_ui/component/components/base-element.ts:83
↓ 1 callers
Method
clearAll
()
pagefind_ui/component/components/pagefind-filter-dropdown.ts:565
↓ 1 callers
Function
cli
()
wrappers/python/src/pagefind_python_bin/__init__.py:39
↓ 1 callers
Method
createMarkInstance
()
pagefind_web_js/lib/highlight.ts:78
↓ 1 callers
Method
createOption
( id: string, value: string, count: number, isSelected: boolean, )
pagefind_ui/component/components/pagefind-filter-dropdown.ts:490
↓ 1 callers
Method
createRegions
()
pagefind_ui/component/core/announcer.ts:33
↓ 1 callers
Method
create_index
( self, config: Optional["IndexConfig"] = None )
wrappers/python/src/pagefind/service/__init__.py:218
↓ 1 callers
Method
debouncedSearch
( term: string, options?: PagefindSearchOptions, debounceTimeoutMs?: number, )
pagefind_web_js/lib/search_wrapper.ts:271
↓ 1 callers
Method
debouncedSearch
( term: string | null, options: PagefindSearchOptions, debounceTimeoutMs = 300 )
pagefind_ui/default/_dev_files/pagefind/_pagefind_stub.ts:175
↓ 1 callers
Function
decode
(b64)
wrappers/node/lib/encoding.js:6
↓ 1 callers
Method
decode_filter_index_chunk
(&mut self, filter_bytes: &[u8])
pagefind_web/src/filter_index.rs:26
↓ 1 callers
Method
decode_index_chunk
(&mut self, index_bytes: &[u8])
pagefind_web/src/index.rs:112
↓ 1 callers
Method
decode_metadata
(&mut self, metadata_bytes: &[u8])
pagefind_web/src/metadata.rs:41
↓ 1 callers
Method
decode_synthetic_filter
Used to parse one-off filters that were generated by the JS API, not the Rust CLI
pagefind_web/src/filter_index.rs:61
↓ 1 callers
Function
default_bundle_dir
()
pagefind/src/options.rs:205
↓ 1 callers
Function
default_index_chunk_size
()
pagefind/src/options.rs:217
↓ 1 callers
Function
deleteIndex
(indexId)
wrappers/node/lib/index.js:284
↓ 1 callers
Method
detectBundlePath
()
pagefind_ui/component/components/instance-manager.ts:14
↓ 1 callers
Function
diacritic_bonus
Returns a multiplier based on how well the original query matches the word variant diacritics.
pagefind_web/src/search.rs:99
↓ 1 callers
Method
dig_filter
(&self, filter: JSONValue)
pagefind_web/src/filter.rs:249
↓ 1 callers
Method
encodeMessage
* @param {InternalServiceRequest} message * @returns {string}
wrappers/node/lib/service.js:193
↓ 1 callers
Method
enterPlaygroundMode
()
pagefind_web_js/lib/coupled_search.ts:843
↓ 1 callers
Method
exact_term
( &self, term: &str, original_query: &str, filter_results: Option<BitSet>,
pagefind_web/src/search.rs:206
↓ 1 callers
Method
filters
()
pagefind_web_js/lib/search_wrapper.ts:307
↓ 1 callers
Function
findNextComponentInTabOrder
( fromElement: Element, components: HTMLElement[], )
pagefind_ui/component/core/focus-utils.ts:24
↓ 1 callers
Method
find_word_extensions
(&self, term: &str)
pagefind_web/src/search.rs:811
↓ 1 callers
Method
focus
()
pagefind_ui/component/components/pagefind-searchbox.ts:1279
↓ 1 callers
Method
focusInputAndDelete
* Focus previous keyboard-navigable input and delete last character.
pagefind_ui/component/core/instance.ts:376
↓ 1 callers
Method
focusInputAndType
* Focus previous keyboard-navigable input and append a character.
pagefind_ui/component/core/instance.ts:358
↓ 1 callers
Method
focusNextResults
* Focus the first result in the next keyboard-navigable results component.
pagefind_ui/component/core/instance.ts:319
↓ 1 callers
Method
fossick_html_sync
Retries up to MAX_RETRIES times with exponential backoff on transient IO errors.
pagefind/src/fossick/mod.rs:238
↓ 1 callers
Method
fullUrl
(raw: string)
pagefind_web_js/lib/coupled_search.ts:452
← previous
next →
301–400 of 1,107, ranked by callers