Skip to content

Commit deccaf8

Browse files
Merge pull request #175 from JuliaArrays/docs-setup
Basic docs setup
2 parents 36ccd2b + 0b7a41f commit deccaf8

File tree

5 files changed

+32
-7
lines changed

5 files changed

+32
-7
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# ArrayInterface.jl
22

3+
4+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://github.com/JuliaArrays/ArrayInterface.jl/stable)
5+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://github.com/JuliaArrays/ArrayInterface.jl/dev)
36
[![CI](https://github.com/SciML/ArrayInterface.jl/workflows/CI/badge.svg)](https://github.com/SciML/ArrayInterface.jl/actions?query=workflow%3ACI)
47
[![CI (Julia nightly)](https://github.com/SciML/ArrayInterface.jl/workflows/CI%20(Julia%20nightly)/badge.svg)](https://github.com/SciML/ArrayInterface.jl/actions?query=workflow%3A%22CI+%28Julia+nightly%29%22)
58
[![Build status](https://badge.buildkite.com/a2db252d92478e1d7196ee7454004efdfb6ab59496cbac91a2.svg?branch=master)](https://buildkite.com/julialang/arrayinterface-dot-jl)

docs/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

docs/make.jl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using ArrayInterface
2+
using Documenter
3+
4+
makedocs(;
5+
modules=[ArrayInterface],
6+
sitename="ArrayInterface",
7+
pages=[
8+
"Home" => "index.md",
9+
],
10+
)
11+
12+
deploydocs(;
13+
repo="github.com/JuliaArrays/ArrayInterface.jl",
14+
)
15+

docs/src/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
```@meta
2+
CurrentModule = ArrayInterface
3+
```
4+
5+
# ArrayInterface
6+
7+
```@index
8+
```
9+
10+
```@autodocs
11+
Modules = [ArrayInterface]
12+
```

src/indexing.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,6 @@ end
7979
_layout(::IndexLinear, x::Tuple) = LinearIndices(x)
8080
_layout(::IndexCartesian, x::Tuple) = CartesianIndices(x)
8181

82-
"""
83-
ArrayStyle(::Type{A})
84-
85-
Used to customize the meaning of indexing arguments in the context of a given array `A`.
86-
87-
See also: [`argdims`](@ref), [`UnsafeIndex`](@ref)
88-
"""
8982
abstract type ArrayStyle end
9083

9184
struct DefaultArrayStyle <: ArrayStyle end

0 commit comments

Comments
 (0)