html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/pull/7011#issuecomment-1405520420,https://api.github.com/repos/pydata/xarray/issues/7011,1405520420,IC_kwDOAMm_X85Txook,2448579,2023-01-26T19:39:12Z,2023-01-26T19:39:53Z,MEMBER,"It works! so on to the next issue :( https://xray--7011.org.readthedocs.build/en/7011/user-guide/data-structures.html# has no links in the first cell. Do you execute ipython cells that are ""suppressed"" (see https://github.com/pydata/xarray/blob/main/doc/user-guide/data-structures.rst). I think we ""suppress"" cells with imports at the top of all our doc pages. Thanks again for all your work!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1366751031 https://github.com/pydata/xarray/pull/7011#issuecomment-1384528701,https://api.github.com/repos/pydata/xarray/issues/7011,1384528701,IC_kwDOAMm_X85Shjs9,2448579,2023-01-16T20:37:02Z,2023-01-16T20:37:15Z,MEMBER,"It's the second code block [here](https://docs.xarray.dev/en/stable/user-guide/computation.html?highlight=%22Out%5B125%5D%22#coordinates) and the source [is](https://github.com/pydata/xarray/blob/main/doc/user-guide/computation.rst#coordinates) ``` rst .. ipython:: python # only one argument has the 'x' coordinate arr[0] + 1 # both arguments have the same 'x' coordinate arr[0] - arr[0] ``` It's rendering properly so it seems like this should just work. > So In/Out won't be expected. The source block doesn't have In/Out but I guess the extension is receiving the output after IPython has executed the block? I tried moving the comments around which seems to work, but we do this in a lot of places. Is it easy for you to handle it?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1366751031 https://github.com/pydata/xarray/pull/7011#issuecomment-1383279041,https://api.github.com/repos/pydata/xarray/issues/7011,1383279041,IC_kwDOAMm_X85ScynB,2448579,2023-01-15T23:10:07Z,2023-01-15T23:10:07Z,MEMBER,"Ah now a different one ``` Traceback (most recent call last): File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/extension/block.py"", line 213, in parse_source names = parse_names(modified_source, node) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/parse.py"", line 20, in parse_names tree = ast.parse(source) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/ast.py"", line 50, in parse return compile(source, filename, mode, flags, File """", line 638 Out[125]: ^ SyntaxError: invalid syntax During handling of the above exception, another exception occurred: Traceback (most recent call last): File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/extension/__init__.py"", line 43, in wrapper return func(*args, **kwargs) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/extension/__init__.py"", line 135, in parse_blocks doctree.walkabout(visitor) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/docutils/nodes.py"", line 227, in walkabout if child.walkabout(visitor): File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/docutils/nodes.py"", line 227, in walkabout if child.walkabout(visitor): File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/docutils/nodes.py"", line 227, in walkabout if child.walkabout(visitor): File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/docutils/nodes.py"", line 219, in walkabout visitor.dispatch_visit(self) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/docutils/nodes.py"", line 2021, in dispatch_visit return method(node) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/extension/block.py"", line 166, in visit_literal_block return self.parse_source(node, node.get(""language"", None)) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/extension/block.py"", line 215, in parse_source show_source = self._format_source_for_error(source, prefaces) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/extension/block.py"", line 246, in _format_source_for_error guides[ix] = ""block source:"" IndexError: list assignment index out of range ``` Thanks for be patient with us!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1366751031 https://github.com/pydata/xarray/pull/7011#issuecomment-1383181409,https://api.github.com/repos/pydata/xarray/issues/7011,1383181409,IC_kwDOAMm_X85Scaxh,2448579,2023-01-15T15:33:22Z,2023-01-15T15:33:37Z,MEMBER,"We now have a [different error](https://readthedocs.org/projects/xray/builds/19174015/) where a error message is being treated as code: ``` Traceback (most recent call last): File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/extension/block.py"", line 204, in parse_source names = parse_names(modified_source, node) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/site-packages/sphinx_codeautolink/parse.py"", line 20, in parse_names tree = ast.parse(source) File ""/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/7011/lib/python3.9/ast.py"", line 50, in parse return compile(source, filename, mode, flags, File """", line 638 ValueError: arguments without labels along dimension 'x' cannot be aligned because they have different dimension size(s) {2} than the size of the aligned dimension labels: 3 ^ SyntaxError: invalid syntax ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1366751031 https://github.com/pydata/xarray/pull/7011#issuecomment-1335512306,https://api.github.com/repos/pydata/xarray/issues/7011,1335512306,IC_kwDOAMm_X85Pmkzy,2448579,2022-12-02T16:36:16Z,2022-12-02T16:36:16Z,MEMBER,"@felix-hilden Looks like we still have the same issue with ``` sphinx-codeautolink 0.12.1 pypi_0 pypi ```","{""total_count"": 1, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 1}",,1366751031 https://github.com/pydata/xarray/pull/7011#issuecomment-1304327461,https://api.github.com/repos/pydata/xarray/issues/7011,1304327461,IC_kwDOAMm_X85NvnUl,2448579,2022-11-04T23:09:21Z,2022-11-04T23:09:21Z,MEMBER,"There are a lot of these warnings: ``` /home/docs/checkouts/readthedocs.org/user_builds/xray/checkouts/7011/doc/whats-new.rst:1: WARNING: invalid syntax (, line 6) in document ""whats-new"" Parsed source in `ipython` block: block source: In [66]: ds = xray.Dataset({""x"": np.arange(1000)}) In [67]: with xray.set_options(display_width=40): ....: print(ds) ....: Dimensions: (x: 1000) Coordinates: * x (x) int64 0 1 2 ... 998 999 Data variables: *empty* ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1366751031 https://github.com/pydata/xarray/pull/7011#issuecomment-1241283540,https://api.github.com/repos/pydata/xarray/issues/7011,1241283540,IC_kwDOAMm_X85J_HvU,14808389,2022-09-08T22:05:00Z,2022-09-08T22:05:00Z,MEMBER,"did you compare the versions? If it works locally, maybe you have a different version of `sphinx` or `sphinx-codeautolink` (or any other dependency?)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1366751031 https://github.com/pydata/xarray/pull/7011#issuecomment-1241137483,https://api.github.com/repos/pydata/xarray/issues/7011,1241137483,IC_kwDOAMm_X85J-kFL,35968931,2022-09-08T19:29:43Z,2022-09-08T19:29:43Z,MEMBER,"I don't understand why this failed - it works when I build the docs locally, but the RTD build doesn't give me a useful error message...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1366751031