This PR begins the process of making the backing infrastructure for the `/rustdoc` command more generic such that it can be applied to additional documentation providers. In this PR we: - Rename the `rustdoc` crate to `indexed_docs` as a more general-purpose name - Start moving rustdoc-specific functionality into `indexed_docs::providers::rustdoc` - Add an `IndexedDocsRegistry` to hold multiple `IndexedDocsStore`s (one per provider) We haven't yet removed the rustdoc-specific bits in the `DocsIndexer`. That will follow soon. Release Notes: - N/A
9 lines
145 B
Rust
9 lines
145 B
Rust
mod indexer;
|
|
mod providers;
|
|
mod registry;
|
|
mod store;
|
|
|
|
pub use crate::providers::rustdoc::*;
|
|
pub use crate::registry::*;
|
|
pub use crate::store::*;
|