Skip to content

Commit fb840cd

Browse files
committed
Hide comments in the README on GitHub too
1 parent d485138 commit fb840cd

File tree

4 files changed

+23
-22
lines changed

4 files changed

+23
-22
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jupytext:
1010
jupytext_version: 1.13.8
1111
---
1212

13-
% badges-start
13+
<!-- badges-start -->
1414

1515
# ![logo](https://adaptive.readthedocs.io/en/latest/_static/logo.png) adaptive
1616

@@ -27,9 +27,9 @@ jupytext:
2727

2828
> *Adaptive*: parallel active learning of mathematical functions.
2929
30-
% badges-end
30+
<!-- badges-end -->
3131

32-
% summary-start
32+
<!-- summary-start -->
3333

3434
`adaptive` is an open-source Python library designed to make adaptive parallel function evaluation simple. With `adaptive` you just supply a function with its bounds, and it will be evaluated at the “best” points in parameter space, rather than unnecessarily computing *all* points on a dense grid.
3535
With just a few lines of code you can evaluate functions on a computing cluster, live-plot the data as it returns, and fine-tune the adaptive sampling algorithm.
@@ -38,7 +38,7 @@ With just a few lines of code you can evaluate functions on a computing cluster,
3838

3939
Run the `adaptive` example notebook [live on Binder](https://mybinder.org/v2/gh/python-adaptive/adaptive/master?filepath=example-notebook.ipynb) to see examples of how to use `adaptive` or visit the [tutorial on Read the Docs](https://adaptive.readthedocs.io/en/latest/tutorial/tutorial.html).
4040

41-
% summary-end
41+
<!-- summary-end -->
4242

4343
## Implemented algorithms
4444

@@ -50,7 +50,7 @@ Of course, what qualifies as the “best places” will depend on your applicati
5050

5151
The following learners are implemented:
5252

53-
% not-in-documentation-start
53+
<!-- not-in-documentation-start -->
5454

5555
- `Learner1D`, for 1D functions `f: ℝ → ℝ^N`,
5656
- `Learner2D`, for 2D functions `f: ℝ^2 → ℝ^N`,
@@ -94,8 +94,7 @@ runner.live_plot()
9494

9595
<img src="https://user-images.githubusercontent.com/6897215/38739170-6ac7c014-3f34-11e8-9e8f-93b3a3a3d61b.gif" width='20%'> </img> <img src="https://user-images.githubusercontent.com/6897215/35219611-ac8b2122-ff73-11e7-9332-adffab64a8ce.gif" width='40%'> </img> <img src="https://user-images.githubusercontent.com/6897215/47256441-d6d53700-d480-11e8-8224-d1cc49dbdcf5.gif" width='20%'> </img>
9696

97-
98-
% not-in-documentation-end
97+
<!-- not-in-documentation-end -->
9998

10099
## Installation
101100

@@ -176,10 +175,10 @@ We would like to give credits to the following people:
176175
available online since SciPy Central went down) which served as
177176
inspiration for the `~adaptive.Learner2D`.
178177

179-
% credits-end
178+
<!-- credits-end -->
180179

181180
For general discussion, we have a [Gitter chat channel](https://gitter.im/python-adaptive/adaptive). If you find any bugs or have any feature suggestions please file a GitHub [issue](https://github.com/python-adaptive/adaptive/issues/new) or submit a [pull request](https://github.com/python-adaptive/adaptive/pulls).
182181

183-
% references-start
182+
<!-- references-start -->
184183

185-
% references-end
184+
<!-- references-end -->

docs/source/algorithms_and_examples.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ execution:
1414

1515
```{include} ../../README.md
1616
---
17-
start-after: summary-end
18-
end-before: not-in-documentation-start
17+
start-after: <!-- summary-end -->
18+
end-before: not-in-documentation-start -->
1919
---
2020
```
2121

22+
23+
2224
- {class}`~adaptive.Learner1D`, for 1D functions `f: ℝ → ℝ^N`,
2325
- {class}`~adaptive.Learner2D`, for 2D functions `f: ℝ^2 → ℝ^N`,
2426
- {class}`~adaptive.LearnerND`, for ND functions `f: ℝ^N → ℝ^M`,

docs/source/docs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```{include} ../../README.md
22
---
3-
start-after: not-in-documentation-end
4-
end-before: credits-end
3+
start-after: <!-- not-in-documentation-end -->
4+
end-before: <!-- credits-end -->
55
---
66
```
77

@@ -10,7 +10,7 @@ end-before: credits-end
1010

1111
```{include} ../../README.md
1212
---
13-
start-after: credits-end
14-
end-before: references-start
13+
start-after: <!-- credits-end -->
14+
end-before: <!-- references-start -->
1515
---
1616
```

docs/source/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```{include} ../../README.md
22
---
3-
start-after: badges-start
4-
end-before: badges-end
3+
start-after: <!-- badges-start -->
4+
end-before: <!-- badges-end -->
55
---
66
```
77

@@ -10,8 +10,8 @@ end-before: badges-end
1010

1111
```{include} ../../README.md
1212
---
13-
start-after: summary-start
14-
end-before: summary-end
13+
start-after: <!-- summary-start -->
14+
end-before: <!-- summary-end -->
1515
---
1616
```
1717

@@ -21,8 +21,8 @@ end-before: summary-end
2121

2222
```{include} ../../README.md
2323
---
24-
start-after: references-start
25-
end-before: references-end
24+
start-after: <!-- references-start -->
25+
end-before: <!-- references-end -->
2626
---
2727
```
2828

0 commit comments

Comments
 (0)