mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-12 21:36:55 +00:00
Improve documentation and consolidate path/URL utilities
- Added comprehensive module-level documentation to all djls-workspace modules - Consolidated scattered URL/path conversion utilities into paths module - Added documentation explaining the 'why' for key types and abstractions - Added #[must_use] annotations to constructors and getters - Focused on explaining architecture and design decisions rather than obvious behavior
This commit is contained in:
parent
2dd779bcda
commit
f3fb8e7045
12 changed files with 295 additions and 83 deletions
|
@ -1,8 +1,23 @@
|
|||
//! Workspace management for the Django Language Server
|
||||
//!
|
||||
//! This crate provides the core workspace functionality including document management,
|
||||
//! file system abstractions, and Salsa integration for incremental computation of
|
||||
//! Django projects.
|
||||
//!
|
||||
//! # Key Components
|
||||
//!
|
||||
//! - [`Buffers`] - Thread-safe storage for open documents
|
||||
//! - [`Database`] - Salsa database for incremental computation
|
||||
//! - [`TextDocument`] - LSP document representation with efficient indexing
|
||||
//! - [`FileSystem`] - Abstraction layer for file operations with overlay support
|
||||
//! - [`paths`] - Consistent URL/path conversion utilities
|
||||
|
||||
mod buffers;
|
||||
pub mod db;
|
||||
mod document;
|
||||
mod fs;
|
||||
mod language;
|
||||
pub mod paths;
|
||||
mod template;
|
||||
|
||||
pub use buffers::Buffers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue