Skip to content

Commit d42bae5

Browse files
committed
cleaned up with new aurtodoc version
1 parent df45481 commit d42bae5

4 files changed

Lines changed: 60 additions & 129 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242

4343
- name: Generate tutorial pages
4444
run: |
45-
pip install git+https://github.com/devitocodes/devito.git
45+
pip install --upgrade pip
46+
pip install "devito[extras,tests] @ git+https://github.com/devitocodes/devito@master"
4647
git clone https://github.com/devitocodes/devito.git
4748
cp -r devito/examples examples
4849
cp devito/FAQ.md FAQ.qmd

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ quartodoc build
1515

1616
to generate all the API reference files then
1717

18-
```
18+
```bash
1919
quarto preview
2020
```
2121

_quarto.yml

Lines changed: 55 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
project:
22
type: website
33

4+
metadata-files:
5+
- _sidebar.yml
6+
47
website:
58
title: ""
69
image: images/logo.png
@@ -95,86 +98,6 @@ website:
9598
- section: "Finance"
9699
contents: "examples/finance/*.ipynb"
97100

98-
- contents:
99-
- api/index.qmd
100-
- section: "Types"
101-
contents:
102-
- text: Dimension
103-
href: api/types.dimension.Dimension.qmd
104-
- text: ConditionalDimension
105-
href: api/types.dimension.ConditionalDimension.qmd
106-
- text: SubDimension
107-
href: api/types.dimension.SubDimension.qmd
108-
- text: Grid
109-
href: api/types.grid.Grid.qmd
110-
- text: SubDomain
111-
href: api/types.grid.SubDomain.qmd
112-
- text: Constant
113-
href: api/types.constant.Constant.qmd
114-
- text: Function
115-
href: api/types.dense.Function.qmd
116-
- text: TimeFunction
117-
href: api/types.dense.TimeFunction.qmd
118-
- text: VectorFunction
119-
href: api/types.tensor.VectorFunction.qmd
120-
- text: VectorTimeFunction
121-
href: api/types.tensor.VectorTimeFunction.qmd
122-
- text: TensorFunction
123-
href: api/types.tensor.TensorFunction.qmd
124-
- text: TensorTimeFunction
125-
href: api/types.tensor.TensorTimeFunction.qmd
126-
- text: SparseFunction
127-
href: api/types.sparse.SparseFunction.qmd
128-
- text: SparseTimeFunction
129-
href: api/types.sparse.SparseTimeFunction.qmd
130-
- text: PrecomputedSparseFunction
131-
href: api/types.sparse.PrecomputedSparseFunction.qmd
132-
- text: PrecomputedSparseTimeFunction
133-
href: api/types.sparse.PrecomputedSparseTimeFunction.qmd
134-
135-
- contents:
136-
- text: Operator
137-
href: api/core.operator.Operator.qmd
138-
- text: Eq
139-
href: api/types.equation.Eq.qmd
140-
- text: Compiler
141-
href: api/arch.compiler.Compiler.qmd
142-
section: Operator
143-
- contents:
144-
- text: div
145-
href: api/finite_differences.operators.div.qmd
146-
- text: grad
147-
href: api/finite_differences.operators.grad.qmd
148-
- text: curl
149-
href: api/finite_differences.operators.curl.qmd
150-
- text: diag
151-
href: api/finite_differences.operators.diag.qmd
152-
- text: laplace
153-
href: api/finite_differences.operators.laplace.qmd
154-
- text: Derivative
155-
href: api/finite_differences.derivative.Derivative.qmd
156-
- text: Coefficient
157-
href: api/finite_differences.coefficients.Coefficient.qmd
158-
- text: Substitutions
159-
href: api/finite_differences.coefficients.Substitutions.qmd
160-
section: Finite differences
161-
- contents:
162-
- text: smooth
163-
href: api/builtins.initializers.smooth.qmd
164-
- text: initialize_function
165-
href: api/builtins.initializers.initialize_function.qmd
166-
- text: mmin
167-
href: api/builtins.arithmetic.mmin.qmd
168-
- text: mmax
169-
href: api/builtins.arithmetic.mmax.qmd
170-
- text: sum
171-
href: api/builtins.arithmetic.sum.qmd
172-
- text: norm
173-
href: api/builtins.arithmetic.norm.qmd
174-
section: Utilities
175-
id: api
176-
177-
178101
format:
179102
html:
180103
theme:
@@ -192,55 +115,62 @@ quartodoc:
192115
style: pkgdown
193116
dir: api
194117
package: devito
118+
sidebar: _sidebar.yml
119+
120+
options:
121+
signature_name: short
122+
195123
renderer:
196124
style: markdown
197125
display_name: name
126+
127+
dynamic: true
128+
198129
sections:
199-
- title: "devito types"
200-
desc: ""
201-
contents:
202-
- types.dimension.Dimension
203-
- types.dimension.ConditionalDimension
204-
- types.dimension.SubDimension
205-
- types.grid.Grid
206-
- types.grid.SubDomain
207-
- types.constant.Constant
208-
- types.dense.Function
209-
- types.dense.TimeFunction
210-
- types.tensor.VectorFunction
211-
- types.tensor.VectorTimeFunction
212-
- types.tensor.TensorFunction
213-
- types.tensor.TensorTimeFunction
214-
- types.sparse.SparseFunction
215-
- types.sparse.SparseTimeFunction
216-
- types.sparse.PrecomputedSparseFunction
217-
- types.sparse.PrecomputedSparseTimeFunction
130+
- title: "Types"
131+
desc: ""
132+
contents:
133+
- Dimension
134+
- ConditionalDimension
135+
- SubDimension
136+
- Grid
137+
- SubDomain
138+
- Constant
139+
- Function
140+
- TimeFunction
141+
- VectorFunction
142+
- VectorTimeFunction
143+
- TensorFunction
144+
- TensorTimeFunction
145+
- SparseFunction
146+
- SparseTimeFunction
147+
- PrecomputedSparseFunction
148+
- PrecomputedSparseTimeFunction
218149

219-
- title: "Operator"
220-
desc: ""
221-
contents:
222-
- core.operator.Operator
223-
- types.equation.Eq
224-
- arch.compiler.Compiler
150+
- title: "Operator"
151+
desc: ""
152+
contents:
153+
- Operator
154+
- Eq
225155

226-
- title: "Finite differences"
227-
desc: ""
228-
contents:
229-
- finite_differences.operators.div
230-
- finite_differences.operators.grad
231-
- finite_differences.operators.curl
232-
- finite_differences.operators.diag
233-
- finite_differences.operators.laplace
234-
- finite_differences.derivative.Derivative
235-
- finite_differences.coefficients.Coefficient
236-
- finite_differences.coefficients.Substitutions
156+
- title: "Finite differences"
157+
desc: ""
158+
contents:
159+
- div
160+
- grad
161+
- curl
162+
- diag
163+
- laplace
164+
- Derivative
165+
- Coefficient
166+
- Substitutions
237167

238-
- title: "Utilities"
239-
desc: ""
240-
contents:
241-
- builtins.initializers.smooth
242-
- builtins.initializers.initialize_function
243-
- builtins.arithmetic.mmin
244-
- builtins.arithmetic.mmax
245-
- builtins.arithmetic.sum
246-
- builtins.arithmetic.norm
168+
- title: "Utilities"
169+
desc: ""
170+
contents:
171+
- smooth
172+
- initialize_function
173+
- mmin
174+
- mmax
175+
- sum
176+
- norm

index.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
permalink: /
4-
title: "Devito: a Scalable and portable stencil DSL and compiler"
4+
title: "Devito: a scalable and portable stencil DSL and compiler"
55
bibliography: webbib.bib
66
---
77

@@ -11,7 +11,7 @@ bibliography: webbib.bib
1111

1212
<img src="https://slim.gatech.edu/Website-ResearchWebInfo/Imaging/Fig/rtm-v.gif">
1313

14-
3D TTI imaging on a custom overthrust-salt model [@witte2019RHPCssi]. This image was computed using Devito and high-level abstraction for Cloud Computing. Images courtesy of [SLIM @ Gatech](https://slim.gatech.edu).
14+
3D TTI imaging on a custom overthrust-salt model [@witte2019RHPCssi]. This image was computed using Devito and high-level abstraction for Cloud Computing. Images courtesy of [SLIM @ GeorgiaTech](https://slim.gatech.edu).
1515
:::
1616

1717
Devito is a Python package to implement optimized stencil computation (e.g.,

0 commit comments

Comments
 (0)