Skip to content

Commit 86f231e

Browse files
authored
Merge pull request #296 from rossbar/rm-site-dir
Proposal: Remove `site/` dir and flatten structure now that sphinx is no longer around
2 parents 2f64bb5 + b869e2a commit 86f231e

File tree

14 files changed

+8
-132
lines changed

14 files changed

+8
-132
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ Thumbs.db
9191

9292
# Things specific to this project #
9393
###################################
94-
site/_build/*
95-
site/notebooks/*
96-
9794
# Content generated during notebook execution
9895
content/mooreslaw_regression*
9996
content/tutorial-x-ray-image-processing/xray_image.gif

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ See the linked documentation for further details.
2626
### Quickstart
2727

2828
Set up a development environment with the dependencies listed in
29-
`requirements.txt` and `site/requirements.txt`.
29+
`requirements.txt`.
3030
For example, using the built-in [`venv`][venv] module:
3131

3232
```bash
3333
python -m venv np-tutorials
3434
source np-tutorials/bin/activate
35-
python -m pip install -r requirements.txt -r site/requirements.txt
35+
python -m pip install -r requirements.txt
3636
```
3737

3838
[venv]: https://docs.python.org/3/library/venv.html
File renamed without changes.
File renamed without changes.

myst.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ project:
66
authors: Numpy Community
77
github: https://github.com/numpy/numpy-tutorials
88
toc:
9-
- file: site/index.md
9+
- file: content/index.md
1010

1111
- title: Applications
1212
children:
@@ -23,13 +23,13 @@ project:
2323
- file: content/save-load-arrays.md
2424
- file: content/tutorial-ma.md
2525
- title: Contributing
26-
file: site/contributing.md
26+
file: content/contributing.md
2727
children:
2828
- file: content/tutorial-style-guide.md
2929

3030

3131
site:
3232
template: book-theme
3333
options:
34-
favicon: site/_static/favicon.png
35-
logo: site/_static/numpylogo.svg
34+
favicon: _static/favicon.png
35+
logo: _static/numpylogo.svg

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ pooch # for scipy.datasets
55
matplotlib
66
pandas
77
imageio
8-
# For supporting .md-based notebooks
8+
# For supporting .md-based notebooks and building the site
99
jupytext
10+
jupyter-book>=2

site/_templates/layout.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

site/conf.py

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)