Skip to content

Commit 90bda69

Browse files
committed
Make tutorials a gallery (see description TODO)
def make_github_url(file_name) at conf.py will need modifications
1 parent 4885742 commit 90bda69

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

docs/examples/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
Example Gallery
44
===============
55

6-
This gallery shows examples of pvlib functionality. Community contributions are welcome!
6+
This gallery shows examples of pvlib functionality. Community contributions are welcome!

docs/sphinx/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ def setup(app):
355355

356356
# settings for sphinx-gallery
357357
sphinx_gallery_conf = {
358-
'examples_dirs': ['../../examples'], # location of gallery scripts
358+
'examples_dirs': [ # location of gallery scripts
359+
'../../examples',
360+
'../../tutos_temp'],
359361
'gallery_dirs': ['gallery'], # location of generated output
360362
# sphinx-gallery only shows plots from plot_*.py files by default:
361363
# 'filename_pattern': '*.py',

docs/tutos_temp/README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. _tutorials_gallery:
2+
3+
Tutorials Gallery
4+
=================
5+
6+
This gallery shows tutorials about pvlib.
7+
8+
Community contributions are welcome!

0 commit comments

Comments
 (0)