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

Edits to improve comprehensibility of SSJ_example #1481

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

llorracc
Copy link
Collaborator

No description provided.

@llorracc llorracc requested review from mnwhite and DominicWC August 13, 2024 22:15
@llorracc
Copy link
Collaborator Author

I made some minor edits for clarity to the SSJ_example notebook, but now there's a failure in "Documentation/Render". Dominic, can you figure this out and when done ask Matt to merge?

@mnwhite
Copy link
Contributor

mnwhite commented Aug 13, 2024 via email

@DominicWC
Copy link
Collaborator

This problem is the result of a change to the way Sphinx checks markdown documents. I have a fix in my doc fix branch, but I'll also make a separate pull request to fix that specific issue.

@mnwhite
Copy link
Contributor

mnwhite commented Aug 14, 2024 via email

@DominicWC
Copy link
Collaborator

Unfortunately, I'm going to bring up something pretty big about it at tomorrows meeting, so It's not ready yet. The quick fix should be up now

@mnwhite
Copy link
Contributor

mnwhite commented Aug 14, 2024

Oh no, how worried should I be? I just merged your small PR, then updated the two PRs from master. Let's see if that fixes it.

@DominicWC
Copy link
Collaborator

Well, we do have the question about how to document models that don't fully work. But really I just need you're input because I have three proposals for updating the autodoc formatting. I'm going to make one of the changes (or a combo), but I don't want to make a change and then have to reverse it because there was an issue one of you could have spotted.

@DominicWC
Copy link
Collaborator

DominicWC commented Aug 14, 2024

It seems like in the process of improving this notebook, you changed some of the title's sizing. Sphinx has very particulary thoughts about the order of title sizing (that it should never decrease by more than one at a time).

I'm not sure how to make edits to this PR directly, but in the notebook, the line that says "#Bringing model to code" should say "##Bringing model to code", with two Hashtags. That change got the documentation to compile properly on my end.

@llorracc
Copy link
Collaborator Author

llorracc commented Aug 14, 2024 via email

@DominicWC
Copy link
Collaborator

After the line "#Bringing the model to code" you have the lines "### Calibrate Steady State Values" and "### Micro Agent Parameters" so it's going from # -> ###.

You can fix this by changing the "bringing the model to code" line so that it has two # signs, or change the following two lines so that they have two # signs. Sphinx is fine with more than one single hash-tag as long as they never decrease by more than one at a time.

@llorracc
Copy link
Collaborator Author

llorracc commented Aug 16, 2024 via email

@llorracc llorracc merged commit d0cd790 into master Aug 21, 2024
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants