File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ __pycache__/
10
10
.Python
11
11
env /
12
12
build /
13
+ docs /build /
14
+ docs /docs_html /
13
15
develop-eggs /
14
16
dist /
15
17
downloads /
@@ -24,6 +26,7 @@ wheels/
24
26
* .egg-info /
25
27
.installed.cfg
26
28
* .egg
29
+ ads_latest.zip
27
30
28
31
# PyInstaller
29
32
# Usually these files are written by a python script from a template
Original file line number Diff line number Diff line change
1
+ # Documentation
2
+
3
+ ## Getting Started
4
+
5
+ Setup Conda.
6
+
7
+ Download the latest Miniconda installer for your machine from here: https://docs.conda.io/en/latest/miniconda.html#latest-miniconda-installer-links
8
+
9
+ For example for linux you can run the script below:
10
+
11
+ ``` bash
12
+ curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o Miniconda3-latest-Linux-x86_64.sh
13
+ bash Miniconda3-latest-Linux-x86_64.sh
14
+ ```
15
+
16
+ Create conda environment.
17
+
18
+ ``` bash
19
+ conda create -n ads-docs python=3.8
20
+ conda activate ads-docs
21
+ ```
22
+
23
+ Install relevant development packages.
24
+
25
+ ``` bash
26
+ pip install -r requirements.txt
27
+ ```
28
+
29
+ ## Developing Docs With Live Reload
30
+
31
+ Start live-reload during the development face
32
+
33
+ ``` bash
34
+ sphinx-autobuild source/ build/
35
+ ```
36
+
37
+ Open in the browser [ http://127.0.0.1:8000 ]
38
+
39
+ ## Build
40
+
41
+ To build and create the html documentation, run the following in the ` docs/ ` folder.
42
+
43
+ ``` bash
44
+ sphinx-build -b html source/ docs_html/
45
+ ```
46
+
47
+ To ` zip ` the content of the html docs
48
+
49
+ ``` bash
50
+ zip -r ads-latest.zip docs_html/.
51
+ ```
52
+
53
+ ## Notes
54
+
55
+ - the ` source/conf.py ` defines most everything for the docs
56
+ - the ` ads.rst ` was auto-generated but then hand edited to remove tests package
57
+
58
+ ## Contribute
59
+
60
+ Now you can make updates to the docs and contributed via PRs.
You can’t perform that action at this time.
0 commit comments