Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Moves Tree Contents until after simpsons DataTree is defined. #300

Closed
wants to merge 5 commits into from
Closed

Moves Tree Contents until after simpsons DataTree is defined. #300

wants to merge 5 commits into from

Conversation

flamingbear
Copy link
Contributor

@flamingbear flamingbear commented Jan 17, 2024

Since I'm reading the docs and don't know sphinx very well, I saw a problem with the is_hollow description and fixed it.

It may make more sense to have Tree Contents: Hollow Trees above Manipulating Trees: Subsetting Tree Nodes, but the simpsons DataTree is undefined. Rather than create a new tree for this example I just moved it.

In addition to moving it I changed the description from a python method to the py:class so that the rendering didn't include the incorrect parens.

The updated docs after rebuilding show the tree is not hollow rather than NameError: name 'simpsons' is not defined as it did before

Screenshot 2024-01-17 at 3 00 58 PM

Also tossed in a visualization of the subsetting dt.match(*.B) result and a typo wo -> two

flamingbear and others added 2 commits January 17, 2024 14:54
Since I'm reading the docs and don't know sphinx very well.  I saw a problem
with the is_hollow description and fixed.
@flamingbear
Copy link
Contributor Author

Maybe I should have batched these up. Because I see another quick fix.

@flamingbear
Copy link
Contributor Author

Since this isn't merged, I'm going to toss in the two other quick fixes I saw.

slevang added a commit to slevang/datatree that referenced this pull request Jan 18, 2024
slevang added a commit to slevang/datatree that referenced this pull request Jan 18, 2024
@flamingbear flamingbear closed this by deleting the head repository Jan 18, 2024
@flamingbear
Copy link
Contributor Author

Yeah, that was me being not particularly bright and mucking with merging my datatree and xarray repos. I will update this again with a fresh PR. Sorry.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants