From ee0ae228f90bdaa97465358f965f27b99c958f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Fr=C3=B6se?= Date: Tue, 11 Jul 2023 11:04:29 +0200 Subject: [PATCH] change default thumbnail and remove rst comments --- docs/conf.py | 2 ++ examples/examples/core/customTools.py | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 25b8248df76..1178382bbb5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -137,6 +137,8 @@ def setup(app): "copyfile_regex": r"index.rst|.*\.png|.*\.json", "filename_pattern": r".*\.py", "promote_jupyter_magic": True, + "line_numbers": True, + "default_thumb_file": "ctapipe_logo.png", } diff --git a/examples/examples/core/customTools.py b/examples/examples/core/customTools.py index 9e77a14dd55..30bf57404ae 100644 --- a/examples/examples/core/customTools.py +++ b/examples/examples/core/customTools.py @@ -106,7 +106,6 @@ class TelescopeWiseComponent(TelescopeComponent): ###################################################################### # This TelescopeParameters can then be set using a list of patterns like: # -# .. code:: python # # component.param = [ # ("type", "LST*",3.0), @@ -117,7 +116,6 @@ class TelescopeWiseComponent(TelescopeComponent): # These get translated into per-telescope-id values once the subarray is # registered. After that one acccess the per-telescope id values via: # -# .. code:: python # # component.param.tel[tel_id] # @@ -207,7 +205,6 @@ def finish(self): # specified it’s read from ``sys.argv``, so the following is the same as # running: # -# .. code:: sh # # mytool --log_level=INFO --infile gamma_test.simtel.gz --iterations=3 #