Skip to content

Commit f14924d

Browse files
authoredJan 27, 2022
Merge pull request #184 from rsokl/update-backend
Update backend
2 parents 494727d + f56de68 commit f14924d

File tree

5 files changed

+17
-157
lines changed

5 files changed

+17
-157
lines changed
 

‎Python/conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101

102102
def setup(app):
103103
app.add_css_file("my_theme.css")
104-
app.add_js_file("https://www.googletagmanager.com/gtag/js?id=UA-115029372-1")
104+
app.add_js_file(
105+
"https://www.googletagmanager.com/gtag/js?id=UA-115029372-1", loading_method="async")
105106
app.add_js_file("gtag.js")
106107

107108

@@ -168,7 +169,8 @@ def setup(app):
168169
# One entry per manual page. List of tuples
169170
# (source start file, name, description, authors, manual section).
170171
man_pages = [
171-
(master_doc, "bfundamentalsofpython", "BPython Like You Mean It", [author], 1)
172+
(master_doc, "bfundamentalsofpython",
173+
"BPython Like You Mean It", [author], 1)
172174
]
173175

174176

‎README.md

+4-21
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,14 @@ conda create -n plymi python=3.8
4141

4242
It is important that we activate the environment before proceeding
4343

44-
```shell
45-
conda activate plymi
46-
```
47-
48-
Next, we will install ipython, Jupyter, numpy, and matplotlib
49-
50-
```shell
51-
conda install ipython jupyter notebook numpy matplotlib
52-
```
53-
54-
Next, we'll use the `conda-forge` package channel to install some critical packages for building the HTML
44+
Next, we'll use the `conda-forge` package channel to install our dependencies
5545

5646
```shell
57-
conda install -c conda-forge sphinx==3.4.3 nbsphinx==0.8.1 pandoc==2.1.3 jupytext=1.9.1 nbformat=5.0.8
47+
conda install -c conda-forge
48+
sphinx==4.4.0 jupytext==1.13.6 nbsphinx==0.8.8 pandoc==2.1.3 sphinx_rtd_theme==1.0.0 ipykernel==6.7.0 numpy matplotlib
5849
```
5950

60-
Finally, we will use PyPi to install jupytext and our website's stylistic theme
61-
62-
```shell
63-
pip install sphinx-rtd-theme==0.5.1
64-
```
65-
66-
and install the `plymi` code base from this repo. Clone the present repository and run:
51+
Finally, we will install the `plymi` code base from this repo. Clone the present repository and run:
6752

6853
```shell
6954
pip install .
@@ -92,6 +77,4 @@ plymi.build_to_doc(".") # point to the top-level dir (contains both `docs/` and
9277
This will back-up your current `docs` directory, and will move the html from `_builds` to `docs`. It will also ensure some essential "meta" files, `.nojekyll` and `CNAME` are present. The former is required for githubpages to build the site correctly, the latter ensures that the canonical name for the site is `pythonlikeyoumeanit.com`.
9378

9479

95-
96-
9780
The only directories in this repository that contain html should be `docs` and `docs_backup`. **Do not commit the `_build` directory**

‎numpy_latex/numpy_latex/__init__.py

-122
This file was deleted.

‎numpy_latex/setup.py

-12
This file was deleted.

‎requirements.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
sphinx==4.4.0
3+
jupytext==1.13.6
4+
nbsphinx==0.8.8
5+
pandoc==2.1.3
6+
sphinx_rtd_theme==1.0.0
7+
ipykernel==6.7.0
8+
numpy
9+
matplotlib

0 commit comments

Comments
 (0)
Failed to load comments.