File tree 1 file changed +27
-1
lines changed
1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -161,14 +161,40 @@ You can also run them in parallel:
161
161
Building Sphinx docs
162
162
~~~~~~~~~~~~~~~~~~~~
163
163
164
- ``cd `` into the ``doc `` directory and run:
164
+ Setup a Python environment with ``sphinx `` and ``sagemaker ``:
165
+
166
+ ::
167
+
168
+ conda create -n sagemaker python=3
169
+ conda activate sagemaker
170
+ conda install sphinx
171
+ pip install sagemaker --user
172
+
173
+ Install the Read The Docs theme:
174
+
175
+ ::
176
+
177
+ pip install sphinx_rtd_theme
178
+
179
+
180
+ Clone/fork the repo, ``cd `` into the ``sagemaker-python-sdk/doc `` directory and run:
165
181
166
182
::
167
183
168
184
make html
169
185
170
186
You can edit the templates for any of the pages in the docs by editing the .rst files in the ``doc `` directory and then running ``make html `` again.
171
187
188
+ Preview the site with a Python web server:
189
+
190
+ ::
191
+
192
+ cd _build/html
193
+ python -m http.server 8000
194
+
195
+ View the website by visiting http://localhost:8000
196
+
197
+
172
198
MXNet SageMaker Estimators
173
199
--------------------------
174
200
You can’t perform that action at this time.
0 commit comments