Skip to content

Commit 08d6c0f

Browse files
DOC/examples: Rename folder "get_started" to "intro" (#3571)
Co-authored-by: Dongdong Tian <[email protected]>
1 parent 4f3403e commit 08d6c0f

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ tmp-test-dir-with-unique-name/
2727
# Sphinx documentation
2828
doc/api/generated/
2929
doc/_build/
30+
doc/intro/
31+
doc/tutorials/
3032
doc/gallery/
3133
doc/projections/
32-
doc/tutorials/
33-
doc/get_started/
3434
# doc/sg_execution_time.rst is auto-generated by Sphinx-Gallery
3535
doc/sg_execution_times.rst
3636

37-
# Jupyter Notebook
37+
# Jupyter notebook
3838
.ipynb_checkpoints/
3939

4040
# Visual Studio Code

doc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ server:
5555
clean:
5656
rm -rf $(BUILDDIR)
5757
rm -rf api/generated
58-
rm -rf gallery
58+
rm -rf intro
5959
rm -rf tutorials
60-
rm -rf get_started
60+
rm -rf gallery
6161
rm -rf projections

doc/conf.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,18 @@
103103
sphinx_gallery_conf = {
104104
# Set paths to your examples scripts
105105
"examples_dirs": [
106-
"../examples/gallery",
106+
"../examples/intro",
107107
"../examples/tutorials",
108-
"../examples/get_started",
108+
"../examples/gallery",
109109
"../examples/projections",
110110
],
111111
# Set paths where to save the generated examples
112-
"gallery_dirs": ["gallery", "tutorials", "get_started", "projections"],
112+
"gallery_dirs": ["intro", "tutorials", "gallery", "projections"],
113113
"subsection_order": ExplicitOrder(
114114
[
115+
"../examples/intro",
116+
"../examples/tutorials/basics",
117+
"../examples/tutorials/advanced",
115118
"../examples/gallery/maps",
116119
"../examples/gallery/lines",
117120
"../examples/gallery/symbols",
@@ -127,9 +130,6 @@
127130
"../examples/projections/misc",
128131
"../examples/projections/nongeo",
129132
"../examples/projections/table",
130-
"../examples/tutorials/basics",
131-
"../examples/tutorials/advanced",
132-
"../examples/get_started",
133133
]
134134
),
135135
# Pattern to search for example files
@@ -159,13 +159,13 @@
159159
"**.ipynb_checkpoints",
160160
# Workaround from https://github.com/executablebooks/MyST-NB/issues/363 to prevent
161161
# MyST-NB from parsing the .ipynb and .py files generated by Sphinx-Gallery.
162-
"gallery/**.ipynb",
162+
"intro/**.ipynb",
163163
"tutorials/**.ipynb",
164-
"get_started/**.ipynb",
164+
"gallery/**.ipynb",
165165
"projections/**.ipynb",
166-
"gallery/**.py",
166+
"intro/**.py",
167167
"tutorials/**.py",
168-
"get_started/**.py",
168+
"gallery/**.py",
169169
"projections/**.py",
170170
]
171171

doc/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
2323
overview.md
2424
install.md
25-
get_started/index.rst
25+
intro/index.rst
2626
```
2727

2828
```{toctree}
@@ -39,7 +39,7 @@ external_resources.md
3939
```{toctree}
4040
:maxdepth: 2
4141
:hidden:
42-
:caption: Reference documentation
42+
:caption: Reference Documentation
4343
4444
api/index.rst
4545
techref/index.md
File renamed without changes.

0 commit comments

Comments
 (0)