diff --git a/docs/make.jl b/docs/make.jl index 08e5bd5d5..13d2e91fb 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -20,6 +20,11 @@ links = InterLinks( "TensorKitSectors" => "https://quantumkithub.github.io/TensorKitSectors.jl/dev/" ) +TENSOR_PAGES = [ + "man/tensors.md", "man/linearalgebra.md", "man/indexmanipulations.md", + "man/factorizations.md", "man/contractions.md", "man/precompilation.md", +] + pages = [ "Home" => "index.md", "Manual" => [ @@ -27,14 +32,7 @@ pages = [ "man/spaces.md", "man/symmetries.md", "man/sectors.md", "man/gradedspaces.md", "man/fusiontrees.md", - "Tensors" => [ - "man/tensors.md", - "man/linearalgebra.md", - "man/indexmanipulations.md", - "man/factorizations.md", - "man/contractions.md", - "man/precompilation.md", - ], + "Tensors" => TENSOR_PAGES, ], "Library" => [ "lib/sectors.md", "lib/fusiontrees.md", diff --git a/docs/src/index.md b/docs/src/index.md index 4ff58a98f..1cb8e49b5 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -24,7 +24,7 @@ Support for storing and manipulating tensors on Nvidia and AMD GPUs is currently ## Contents of the manual ```@contents -Pages = ["man/intro.md", "man/spaces.md", "man/symmetries.md", "man/sectors.md", "man/gradedspaces.md", "man/fusiontrees.md", "man/tensors.md", "man/tensormanipulations.md"] +Pages = ["man/intro.md", "man/spaces.md", "man/symmetries.md", "man/sectors.md", "man/gradedspaces.md", "man/fusiontrees.md", Main.TENSOR_PAGES...] Depth = 2 ```