Skip to content

Commit

Permalink
DOC/examples: Rename folder "get_started" to "intro" (#3571)
Browse files Browse the repository at this point in the history
Co-authored-by: Dongdong Tian <[email protected]>
  • Loading branch information
yvonnefroehlich and seisman authored Nov 4, 2024
1 parent 4f3403e commit 08d6c0f
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ tmp-test-dir-with-unique-name/
# Sphinx documentation
doc/api/generated/
doc/_build/
doc/intro/
doc/tutorials/
doc/gallery/
doc/projections/
doc/tutorials/
doc/get_started/
# doc/sg_execution_time.rst is auto-generated by Sphinx-Gallery
doc/sg_execution_times.rst

# Jupyter Notebook
# Jupyter notebook
.ipynb_checkpoints/

# Visual Studio Code
Expand Down
4 changes: 2 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ server:
clean:
rm -rf $(BUILDDIR)
rm -rf api/generated
rm -rf gallery
rm -rf intro
rm -rf tutorials
rm -rf get_started
rm -rf gallery
rm -rf projections
20 changes: 10 additions & 10 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,18 @@
sphinx_gallery_conf = {
# Set paths to your examples scripts
"examples_dirs": [
"../examples/gallery",
"../examples/intro",
"../examples/tutorials",
"../examples/get_started",
"../examples/gallery",
"../examples/projections",
],
# Set paths where to save the generated examples
"gallery_dirs": ["gallery", "tutorials", "get_started", "projections"],
"gallery_dirs": ["intro", "tutorials", "gallery", "projections"],
"subsection_order": ExplicitOrder(
[
"../examples/intro",
"../examples/tutorials/basics",
"../examples/tutorials/advanced",
"../examples/gallery/maps",
"../examples/gallery/lines",
"../examples/gallery/symbols",
Expand All @@ -127,9 +130,6 @@
"../examples/projections/misc",
"../examples/projections/nongeo",
"../examples/projections/table",
"../examples/tutorials/basics",
"../examples/tutorials/advanced",
"../examples/get_started",
]
),
# Pattern to search for example files
Expand Down Expand Up @@ -159,13 +159,13 @@
"**.ipynb_checkpoints",
# Workaround from https://github.com/executablebooks/MyST-NB/issues/363 to prevent
# MyST-NB from parsing the .ipynb and .py files generated by Sphinx-Gallery.
"gallery/**.ipynb",
"intro/**.ipynb",
"tutorials/**.ipynb",
"get_started/**.ipynb",
"gallery/**.ipynb",
"projections/**.ipynb",
"gallery/**.py",
"intro/**.py",
"tutorials/**.py",
"get_started/**.py",
"gallery/**.py",
"projections/**.py",
]

Expand Down
4 changes: 2 additions & 2 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
overview.md
install.md
get_started/index.rst
intro/index.rst
```

```{toctree}
Expand All @@ -39,7 +39,7 @@ external_resources.md
```{toctree}
:maxdepth: 2
:hidden:
:caption: Reference documentation
:caption: Reference Documentation
api/index.rst
techref/index.md
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 08d6c0f

Please sign in to comment.