Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS: Example not rendered correctly #1264

Closed
1 task done
gutzbenj opened this issue Dec 29, 2022 · 1 comment · Fixed by #1266
Closed
1 task done

DOCS: Example not rendered correctly #1264

gutzbenj opened this issue Dec 29, 2022 · 1 comment · Fixed by #1266
Assignees
Labels
bug Something isn't working docs Improvements to documenation
Milestone

Comments

@gutzbenj
Copy link

gutzbenj commented Dec 29, 2022

Generic Issue

Dear @Zeitsperre ,

I was just scrolling through the list of climate indicators in the rendered documentation and noticed that one example is not rendered correctly.

At [1] you find the following part:

# For the Northern Hemisphere: >>> gsl_nh = growing_season_length(tas, mid_date=”07-01”, freq=”AS”)

# If working in the Southern Hemisphere, one can use: >>> gsl_sh = growing_season_length(tas, mid_date=”01-01”, freq=”AS-JUL”)

It seems like the newline characters are not recognized and thus the render fails and the actual commands behind >>>> fail to be rendered as such.

Cheers,
Benjamin

[1] https://xclim.readthedocs.io/en/stable/indices.html#indices-library

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Zeitsperre
Copy link
Collaborator

Happy New Year, and thanks for the keen eye, Benjamin! Will look into this!

@Zeitsperre Zeitsperre self-assigned this Jan 10, 2023
@Zeitsperre Zeitsperre added bug Something isn't working docs Improvements to documenation labels Jan 10, 2023
@Zeitsperre Zeitsperre added this to the v0.40 milestone Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs Improvements to documenation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants