Skip to content

Commit 854b026

Browse files
committed
Remove ignored documentation examples
- Remove ignored example from verify_and_ensure_plugin - Remove ignored example from build_manifest_from_package - Remove ignored example from invoke_plugin These examples required external setup and weren't runnable. All doc tests now execute properly with 0 ignored tests.
1 parent 1ea4803 commit 854b026

4 files changed

Lines changed: 0 additions & 33 deletions

File tree

src/package_verification.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -259,21 +259,6 @@ pub fn ensure_packages(packages: Vec<String>, config: &Config) -> Result<(), Ver
259259
/// # Returns
260260
/// * `Ok(())` - Plugin packages verified and available
261261
/// * `Err(VerificationError)` - Failed to verify or install packages
262-
///
263-
/// # Example
264-
///
265-
/// ```rust,ignore
266-
/// use r2x::package_verification::verify_and_ensure_plugin;
267-
/// use r2x::plugin_manifest::PluginManifest;
268-
///
269-
/// let manifest = PluginManifest::load()?;
270-
///
271-
/// // This will verify r2x-reeds is installed
272-
/// // If missing, it will automatically reinstall it
273-
/// verify_and_ensure_plugin(&manifest, "parser-reeds")?;
274-
///
275-
/// // Now safe to run the plugin
276-
/// ```
277262
pub fn verify_and_ensure_plugin(
278263
manifest: &PluginManifest,
279264
plugin_key: &str,

src/python_bridge/manifest_builder.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ impl super::Bridge {
2020
///
2121
/// # Returns
2222
/// Vector of (key, Plugin) tuples where key is the plugin name
23-
///
24-
/// # Example
25-
/// ```ignore
26-
/// let entries = bridge.build_manifest_from_package("reeds", "r2x-reeds")?;
27-
/// for (key, plugin) in entries {
28-
/// manifest.add_plugin(&key, plugin);
29-
/// }
30-
/// ```
3123
pub fn build_manifest_from_package(
3224
&self,
3325
package_name: &str,

src/python_bridge/plugin_invoker.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ impl super::Bridge {
2424
///
2525
/// # Returns
2626
/// Plugin output as JSON string
27-
///
28-
/// # Example
29-
/// ```ignore
30-
/// let output = bridge.invoke_plugin(
31-
/// "r2x_reeds.plugins:parse_reeds",
32-
/// r#"{"solve_year": 2030}"#,
33-
/// None,
34-
/// None
35-
/// )?;
36-
/// ```
3727
pub fn invoke_plugin(
3828
&self,
3929
target: &str,

0 commit comments

Comments
 (0)