refactor(api): restrict visibility of internal items

- content: DEFAULT_WEIGHT, DEFAULT_WEIGHT_HIGH → pub(crate)
- sitemap: SitemapEntry → pub(crate)

These items are implementation details not exposed to consumers.
This commit is contained in:
Timothy DeHerrera
2026-02-05 15:03:52 -07:00
parent 16f04eb95b
commit c60c7851a8
2 changed files with 3 additions and 3 deletions

View File

@@ -7,10 +7,10 @@ use std::fs;
use std::path::{Path, PathBuf};
/// Default weight for content items in navigation and listings.
pub const DEFAULT_WEIGHT: i64 = 50;
pub(crate) const DEFAULT_WEIGHT: i64 = 50;
/// High default weight for content that should appear last (e.g., projects).
pub const DEFAULT_WEIGHT_HIGH: i64 = 99;
pub(crate) const DEFAULT_WEIGHT_HIGH: i64 = 99;
/// The type of content being processed.
#[derive(Debug, Clone, PartialEq)]