mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-31 13:54:31 +00:00
Add support for python doc files without rst gallery (#770)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
This commit is contained in:
@@ -16,6 +16,7 @@ import re
|
||||
import sys
|
||||
|
||||
import sphinx_gallery.gen_rst
|
||||
from furo.gen_tutorials import generate_tutorials
|
||||
|
||||
|
||||
# Path setup for building from source tree
|
||||
@@ -138,6 +139,12 @@ sphinx_gallery_conf = {
|
||||
),
|
||||
}
|
||||
|
||||
# All tutorials in the tutorials directory will be generated automatically
|
||||
# by sphinx-gallery.
|
||||
# However, we also want to generate some tutorials without the gallery
|
||||
# and to a more specific location so we use this custom function.
|
||||
generate_tutorials("introduction/*.py", "./introduction")
|
||||
|
||||
# -- Generate Changelog -------------------------------------------------
|
||||
|
||||
sphinx_github_changelog_token = os.environ.get("SPHINX_GITHUB_CHANGELOG_TOKEN")
|
||||
|
Reference in New Issue
Block a user