Skip to content

Commit

Permalink
Update links to the official vtk file docs
Browse files Browse the repository at this point in the history
Fixes #13
  • Loading branch information
elrnv committed Feb 17, 2023
1 parent 108361f commit ccd2ce9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# vtkio

A parser and writer for the Visualization Toolkit (VTK) [file
formats](https://lorensen.github.io/VTKExamples/site/VTKFileFormats/).
formats](https://kitware.github.io/vtk-examples/site/VTKFileFormats/).

[![On crates.io](https://img.shields.io/crates/v/vtkio.svg)](https://crates.io/crates/vtkio)
[![On docs.rs](https://docs.rs/vtkio/badge.svg)](https://docs.rs/vtkio/)
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Import and export library for Visualization Toolkit (VTK)
//! [files](https://lorensen.github.io/VTKExamples/site/VTKFileFormats/).
//! [files](https://kitware.github.io/vtk-examples/site/VTKFileFormats/).
//!
//! Legacy `.vtk` files as well as modern XML formats are supported.
//! Both "serial" and "parallel" XML files are supported with facilities for lazily loading.
Expand Down Expand Up @@ -416,7 +416,7 @@ impl Vtk {
/// Import a VTK file at the specified path.
///
/// This function determines the vtk file type from the extension as prescribed by the [VTK
/// file formats documentation](https://lorensen.github.io/VTKExamples/site/VTKFileFormats/):
/// file formats documentation](https://kitware.github.io/vtk-examples/site/VTKFileFormats/):
///
/// - Legacy (`.vtk`) -- Simple legacy file format (Non-XML)
/// - Image data (`.vti`) -- Serial vtkImageData (structured)
Expand Down Expand Up @@ -480,7 +480,7 @@ impl Vtk {
/// This is the async version of [`import`](Vtk::import).
///
/// This function determines the vtk file type from the extension as prescribed by the [VTK
/// file formats documentation](https://lorensen.github.io/VTKExamples/site/VTKFileFormats/):
/// file formats documentation](https://kitware.github.io/vtk-examples/site/VTKFileFormats/):
///
/// - Legacy (`.vtk`) -- Simple legacy file format (Non-XML)
/// - Image data (`.vti`) -- Serial vtkImageData (structured)
Expand Down
4 changes: 2 additions & 2 deletions src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//! serial and parallel XML file formats. See the [official VTK documentation] for details.
//!
//! [`Vtk`]: struct.Vtk.html
//! [official VTK documentation]: https://lorensen.github.io/VTKExamples/site/VTKFileFormats/
//! [official VTK documentation]: https://kitware.github.io/vtk-examples/site/VTKFileFormats/
//!

use std::any::TypeId;
Expand Down Expand Up @@ -1814,7 +1814,7 @@ impl Cells {
///
/// These are explicitly written in `UnstructuredGrid`s and some are referred to in `PolyData`
/// datasets. For more details on each of these types see, the [VTK file
/// formats](https://lorensen.github.io/VTKExamples/site/VTKFileFormats/) documentation.
/// formats](https://kitware.github.io/vtk-examples/site/VTKFileFormats/) documentation.
#[derive(Copy, Clone, PartialEq, Debug, FromPrimitive)]
pub enum CellType {
// Linear cells
Expand Down
2 changes: 1 addition & 1 deletion src/xml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! Internal APIs for dealing with XML VTK file types.
//!
//! See [VTK XML Format
//! Reference](https://lorensen.github.io/VTKExamples/site/VTKFileFormats/#xml-file-formats) for
//! Reference](https://kitware.github.io/vtk-examples/site/VTKFileFormats/#xml-file-formats) for
//! details on the xml format.
//!

Expand Down

0 comments on commit ccd2ce9

Please sign in to comment.