Skip to content

Commit 12d656f

Browse files
authored
Merge branch 'master' into chatbot_tutorial_typofix
2 parents 935d816 + c45042c commit 12d656f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ docs:
108108
touch docs/.nojekyll
109109

110110
html-noplot:
111+
make clean
111112
$(SPHINXBUILD) -D plot_gallery=0 -b html $(SPHINXOPTS) "$(SOURCEDIR)" "$(BUILDDIR)/html"
112-
bash .jenkins/remove_invisible_code_block_batch.sh "$(BUILDDIR)/html"
113+
# bash .jenkins/remove_invisible_code_block_batch.sh "$(BUILDDIR)/html"
113114
@echo
114115
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
115116

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Here's how to create a new tutorial:
1515
1. Create a notebook styled python file. If you want it executed while inserted into documentation, save the file with suffix `tutorial` so that file name is `your_tutorial.py`.
1616
2. Put it in one of the beginner_source, intermediate_source, advanced_source based on the level.
1717
2. Include it in the right TOC tree at index.rst
18-
3. Create a thumbnail in the index file using a command like `.. galleryitem:: beginner/your_tutorial.py`. (This is a custom directive. See `custom_directives.py` for more info.)
18+
3. Create a thumbnail in the index.rst file using a command like `.. customcarditem:: beginner/your_tutorial.html`. (This is a custom directive. See `custom_directives.py` for more info.)
1919

2020
In case you prefer to write your tutorial in jupyter, you can use [this script](https://gist.github.com/chsasank/7218ca16f8d022e02a9c0deb94a310fe) to convert the notebook to python file. After conversion and addition to the project, please make sure the sections headings etc are in logical order.
2121

@@ -28,4 +28,4 @@ In case you prefer to write your tutorial in jupyter, you can use [this script](
2828
- Then you can build using `make docs`. This will download the data, execute the tutorials and build the documentation to `docs/` directory. This will take about 60-120 min for systems with GPUs. If you do not have a GPU installed on your system, then see next step.
2929
- You can skip the computationally intensive graph generation by running `make html-noplot` to build basic html documentation to `_build/html`. This way, you can quickly preview your tutorial.
3030

31-
> If you get **ModuleNotFoundError: No module named 'pytorch_sphinx_theme' make: *** [html-noplot] Error 2**, from /tutorials/src/pytorch_sphinx_theme run `python setup.py install`.
31+
> If you get **ModuleNotFoundError: No module named 'pytorch_sphinx_theme' make: *** [html-noplot] Error 2**, from /tutorials/src/pytorch-sphinx-theme run `python setup.py install`.

index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Welcome to PyTorch Tutorials
99
.. Add callout items below this line
1010
1111
.. customcalloutitem::
12-
:description: The 60 min blitz is the most common starting point and provides a broad view on how to use PyTorch. It covers the basics all to the way constructing deep neural networks.
12+
:description: The 60 min blitz is the most common starting point and provides a broad view on how to use PyTorch. It covers the basics all the way to constructing deep neural networks.
1313
:header: New to PyTorch?
1414
:button_link: beginner/deep_learning_60min_blitz.html
1515
:button_text: Start 60-min blitz

0 commit comments

Comments
 (0)